[INFO] cloning repository https://github.com/FateXii/handmade_hero [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FateXii/handmade_hero" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFateXii%2Fhandmade_hero", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFateXii%2Fhandmade_hero'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b5a238611ec690f5425755a3e107c274a9cca0c [INFO] checking FateXii/handmade_hero/8b5a238611ec690f5425755a3e107c274a9cca0c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFateXii%2Fhandmade_hero" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FateXii/handmade_hero on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FateXii/handmade_hero [INFO] finished tweaking git repo https://github.com/FateXii/handmade_hero [INFO] tweaked toml for git repo https://github.com/FateXii/handmade_hero written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FateXii/handmade_hero 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded widestring v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38061ae71a784964e340af7a119a4d10058f9ee15f3cf066b6b7a9114df5682d [INFO] running `Command { std: "docker" "start" "-a" "38061ae71a784964e340af7a119a4d10058f9ee15f3cf066b6b7a9114df5682d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38061ae71a784964e340af7a119a4d10058f9ee15f3cf066b6b7a9114df5682d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38061ae71a784964e340af7a119a4d10058f9ee15f3cf066b6b7a9114df5682d", kill_on_drop: false }` [INFO] [stdout] 38061ae71a784964e340af7a119a4d10058f9ee15f3cf066b6b7a9114df5682d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaa456ca277f2070a7fb26e2cfe4fdfe904689a06289af31f20b25ccef48ed6e [INFO] running `Command { std: "docker" "start" "-a" "aaa456ca277f2070a7fb26e2cfe4fdfe904689a06289af31f20b25ccef48ed6e", kill_on_drop: false }` [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking handmade_hero v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/win32/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/win32/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/main.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | fn print_message(msg: str) -> Result<(), IoError> { [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 38 | fn print_message(msg: &str) -> Result<(), IoError> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win32/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win32/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | print_message("Hello World").unwrap(); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ expected `str`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> examples/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn print_message(msg: str) -> Result<(), IoError> { [INFO] [stdout] | ^^^^^^^^^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | print_message("Hello World").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `handmade_hero` (example "main") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `BITMAPINFO` in `win32` [INFO] [stdout] --> src/screen_buffer.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | info: win32::BITMAPINFO::default(), [INFO] [stdout] | ^^^^^^^^^^ could not find `BITMAPINFO` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BITMAPINFO` in `win32` [INFO] [stdout] --> src/screen_buffer.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | info: win32::BITMAPINFO::default(), [INFO] [stdout] | ^^^^^^^^^^ could not find `BITMAPINFO` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WNDCLASSA` in `win32` [INFO] [stdout] --> src/screen_buffer.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | let mut window_class = win32::WNDCLASSA::default(); [INFO] [stdout] | ^^^^^^^^^ could not find `WNDCLASSA` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WNDCLASSA` in `win32` [INFO] [stdout] --> src/screen_buffer.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | let mut window_class = win32::WNDCLASSA::default(); [INFO] [stdout] | ^^^^^^^^^ could not find `WNDCLASSA` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WAVEFORMATEX` in `win32` [INFO] [stdout] --> src/sound_buffer.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | let mut wave_format = win32::WAVEFORMATEX::default(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `WAVEFORMATEX` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WAVEFORMATEX` in `win32` [INFO] [stdout] --> src/sound_buffer.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | let mut wave_format = win32::WAVEFORMATEX::default(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `WAVEFORMATEX` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DSBUFFERDESC` in `win32` [INFO] [stdout] --> src/sound_buffer.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | let mut buffer_desc = win32::DSBUFFERDESC::default(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DSBUFFERDESC` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DSBUFFERDESC` in `win32` [INFO] [stdout] --> src/sound_buffer.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | let mut buffer_desc = win32::DSBUFFERDESC::default(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DSBUFFERDESC` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DSBUFFERDESC` in `win32` [INFO] [stdout] --> src/sound_buffer.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 138 | let mut buffer_desc = win32::DSBUFFERDESC::default(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DSBUFFERDESC` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `DSBUFFERDESC` in `win32` [INFO] [stdout] --> src/sound_buffer.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 138 | let mut buffer_desc = win32::DSBUFFERDESC::default(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `DSBUFFERDESC` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RECT` in `win32` [INFO] [stdout] --> src/main.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | let mut client_rect = win32::RECT::default(); [INFO] [stdout] | ^^^^ could not find `RECT` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RECT` in `win32` [INFO] [stdout] --> src/main.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | let mut client_rect = win32::RECT::default(); [INFO] [stdout] | ^^^^ could not find `RECT` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PAINTSTRUCT` in `win32` [INFO] [stdout] --> src/main.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | let mut paint_struct = win32::PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ could not find `PAINTSTRUCT` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PAINTSTRUCT` in `win32` [INFO] [stdout] --> src/main.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | let mut paint_struct = win32::PAINTSTRUCT::default(); [INFO] [stdout] | ^^^^^^^^^^^ could not find `PAINTSTRUCT` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] --> src/main.rs:142:41 [INFO] [stdout] | [INFO] [stdout] 142 | let mut counter_per_second = win32::LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] --> src/main.rs:142:41 [INFO] [stdout] | [INFO] [stdout] 142 | let mut counter_per_second = win32::LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] --> src/main.rs:175:47 [INFO] [stdout] | [INFO] [stdout] 175 | let mut last_counter = win32::LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] --> src/main.rs:175:47 [INFO] [stdout] | [INFO] [stdout] 175 | let mut last_counter = win32::LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MSG` in `win32` [INFO] [stdout] --> src/main.rs:180:50 [INFO] [stdout] | [INFO] [stdout] 180 | let mut msg: win32::MSG = win32::MSG::default(); [INFO] [stdout] | ^^^ could not find `MSG` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MSG` in `win32` [INFO] [stdout] --> src/main.rs:180:50 [INFO] [stdout] | [INFO] [stdout] 180 | let mut msg: win32::MSG = win32::MSG::default(); [INFO] [stdout] | ^^^ could not find `MSG` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `XINPUT_STATE` in `win32` [INFO] [stdout] --> src/main.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | ... win32::XINPUT_STATE::default(), [INFO] [stdout] | ^^^^^^^^^^^^ could not find `XINPUT_STATE` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `XINPUT_STATE` in `win32` [INFO] [stdout] --> src/main.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | ... win32::XINPUT_STATE::default(), [INFO] [stdout] | ^^^^^^^^^^^^ could not find `XINPUT_STATE` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] --> src/main.rs:326:54 [INFO] [stdout] | [INFO] [stdout] 326 | let mut current_counter = win32::LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] --> src/main.rs:326:54 [INFO] [stdout] | [INFO] [stdout] 326 | let mut current_counter = win32::LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `LARGE_INTEGER` in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | pub type GetXInputState = fn(u32, *mut win32::XINPUT_STATE) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_VIBRATION` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub type SetXInputState = fn(u32, *mut win32::XINPUT_VIBRATION) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | type SomeFunction = win32::FARPROC; [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_DEVICE_NOT_CONNECTED` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | |_, _| win32::ERROR_DEVICE_NOT_CONNECTED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | pub type GetXInputState = fn(u32, *mut win32::XINPUT_STATE) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_DEVICE_NOT_CONNECTED` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | |_, _| win32::ERROR_DEVICE_NOT_CONNECTED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_VIBRATION` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | pub type SetXInputState = fn(u32, *mut win32::XINPUT_VIBRATION) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | state: *mut win32::XINPUT_STATE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_VIBRATION` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | vibration: *mut win32::XINPUT_VIBRATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | type SomeFunction = win32::FARPROC; [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { win32::LoadLibraryA(win32::c_str_a(x_input).as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_DEVICE_NOT_CONNECTED` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | |_, _| win32::ERROR_DEVICE_NOT_CONNECTED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | win32::GetProcAddress(x_input_lib, input_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | win32::GetProcAddress(x_input_lib, output_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_DEVICE_NOT_CONNECTED` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | |_, _| win32::ERROR_DEVICE_NOT_CONNECTED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | state: *mut win32::XINPUT_STATE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub memory: *mut win32::c_void, [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 1 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] help: if you import `c_void`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - pub memory: *mut win32::c_void, [INFO] [stdout] 4 + pub memory: *mut c_void, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_VIBRATION` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | vibration: *mut win32::XINPUT_VIBRATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | info: win32::BITMAPINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { win32::LoadLibraryA(win32::c_str_a(x_input).as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDPROC` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | window_proc: win32::WNDPROC, [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | win32::GetProcAddress(x_input_lib, input_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result { [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in module `win32` [INFO] [stdout] --> src/controller_manager.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | win32::GetProcAddress(x_input_lib, output_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { win32::GetModuleHandleA(core::ptr::null()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | window_class.style = win32::CS_VREDRAW | win32::CS_HREDRAW; [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:39:57 [INFO] [stdout] | [INFO] [stdout] 39 | window_class.style = win32::CS_VREDRAW | win32::CS_HREDRAW; [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub memory: *mut win32::c_void, [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 1 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] help: if you import `c_void`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - pub memory: *mut win32::c_void, [INFO] [stdout] 4 + pub memory: *mut c_void, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | info: win32::BITMAPINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | if unsafe { win32::RegisterClassA(&window_class) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDPROC` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | window_proc: win32::WNDPROC, [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | win32::CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result { [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | win32::WS_OVERLAPPEDWINDOW | win32::WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { win32::GetModuleHandleA(core::ptr::null()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | win32::WS_OVERLAPPEDWINDOW | win32::WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | window_class.style = win32::CS_VREDRAW | win32::CS_HREDRAW; [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | win32::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:39:57 [INFO] [stdout] | [INFO] [stdout] 39 | window_class.style = win32::CS_VREDRAW | win32::CS_HREDRAW; [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | win32::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | if unsafe { win32::RegisterClassA(&window_class) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | win32::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | win32::CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | win32::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | device_context: win32::HDC, [INFO] [stdout] | ^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | win32::WS_OVERLAPPEDWINDOW | win32::WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StretchDIBits` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | win32::StretchDIBits( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | win32::WS_OVERLAPPEDWINDOW | win32::WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | win32::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | win32::DIB_RGB_COLORS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | win32::SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe { win32::VirtualFree(self.memory, 0, win32::MEM_RELEASE) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:99:64 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe { win32::VirtualFree(self.memory, 0, win32::MEM_RELEASE) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | core::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:111:52 [INFO] [stdout] | [INFO] [stdout] 111 | self.info.bmiHeader.biCompression = win32::BI_RGB; [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | win32::VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | win32::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | core::ptr::null_mut::(), [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 1 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] help: if you import `c_void`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 116 - core::ptr::null_mut::(), [INFO] [stdout] 116 + core::ptr::null_mut::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | win32::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | win32::MEM_COMMIT | win32::MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | win32::CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | win32::MEM_COMMIT | win32::MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | device_context: win32::HDC, [INFO] [stdout] | ^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | win32::PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StretchDIBits` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | win32::StretchDIBits( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCGUID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | win32::LPCGUID, [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUND` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | *mut win32::LPDIRECTSOUND, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPUNKNOWN` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | win32::LPUNKNOWN, [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | win32::DIB_RGB_COLORS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | type SomeFunction = win32::FARPROC; [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | win32::SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUNDBUFFER` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub buffer: win32::LPDIRECTSOUNDBUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | window: win32::HWND, [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe { win32::VirtualFree(self.memory, 0, win32::MEM_RELEASE) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUNDBUFFER` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | win32::LoadLibraryA(win32::c_str_a("dsound.dll").as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | let function = win32::GetProcAddress( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:99:64 [INFO] [stdout] | [INFO] [stdout] 99 | unsafe { win32::VirtualFree(self.memory, 0, win32::MEM_RELEASE) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUND` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | let mut direct_sound: win32::LPDIRECTSOUND = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:106:41 [INFO] [stdout] | [INFO] [stdout] 106 | core::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirectSound` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | core::mem::zeroed::(), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:111:52 [INFO] [stdout] | [INFO] [stdout] 111 | self.info.bmiHeader.biCompression = win32::BI_RGB; [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | if win32::SUCCEEDED(create_direct_sound( [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | win32::VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | )) && win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DSSCL_PRIORITY` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | .SetCooperativeLevel(window, win32::DSSCL_PRIORITY) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | core::ptr::null_mut::(), [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 1 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] help: if you import `c_void`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 116 - core::ptr::null_mut::(), [INFO] [stdout] 116 + core::ptr::null_mut::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAVE_FORMAT_PCM` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:101:45 [INFO] [stdout] | [INFO] [stdout] 101 | wave_format.wFormatTag = win32::WAVE_FORMAT_PCM; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | win32::MEM_COMMIT | win32::MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DSBUFFERDESC` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | core::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | win32::MEM_COMMIT | win32::MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DSBCAPS_PRIMARYBUFFER` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:114:46 [INFO] [stdout] | [INFO] [stdout] 114 | buffer_desc.dwFlags = win32::DSBCAPS_PRIMARYBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in module `win32` [INFO] [stdout] --> src/screen_buffer.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | win32::PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCGUID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | win32::LPCGUID, [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirectSoundBuffer` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:117:48 [INFO] [stdout] | [INFO] [stdout] 117 | core::mem::zeroed::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUND` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | *mut win32::LPDIRECTSOUND, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPUNKNOWN` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | win32::LPUNKNOWN, [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | type SomeFunction = win32::FARPROC; [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DSBUFFERDESC` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | core::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUNDBUFFER` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub buffer: win32::LPDIRECTSOUNDBUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | window: win32::HWND, [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirectSoundBuffer` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | win32::IDirectSoundBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUNDBUFFER` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | let mut region1: win32::LPVOID = core::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | win32::LoadLibraryA(win32::c_str_a("dsound.dll").as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | let mut region2: win32::LPVOID = core::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | let function = win32::GetProcAddress( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | let mut region1: win32::LPVOID = core::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDIRECTSOUND` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | let mut direct_sound: win32::LPDIRECTSOUND = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirectSound` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | core::mem::zeroed::(), [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | let mut region2: win32::LPVOID = core::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | if win32::SUCCEEDED(create_direct_sound( [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | )) && win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in module `win32` [INFO] [stdout] --> src/main.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_window_dimensions(window: win32::HWND) -> WindowDimentions { [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DSSCL_PRIORITY` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | .SetCooperativeLevel(window, win32::DSSCL_PRIORITY) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in module `win32` [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { win32::GetClientRect(window, &mut client_rect) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAVE_FORMAT_PCM` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:101:45 [INFO] [stdout] | [INFO] [stdout] 101 | wave_format.wFormatTag = win32::WAVE_FORMAT_PCM; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in module `win32` [INFO] [stdout] --> src/main.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | window: win32::HWND, [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DSBUFFERDESC` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | core::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in module `win32` [INFO] [stdout] --> src/main.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | message: win32::UINT, [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DSBCAPS_PRIMARYBUFFER` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:114:46 [INFO] [stdout] | [INFO] [stdout] 114 | buffer_desc.dwFlags = win32::DSBCAPS_PRIMARYBUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirectSoundBuffer` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:117:48 [INFO] [stdout] | [INFO] [stdout] 117 | core::mem::zeroed::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in module `win32` [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | w_param: win32::WPARAM, [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in module `win32` [INFO] [stdout] --> src/main.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | l_param: win32::LPARAM, [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in module `win32` [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | ) -> win32::LRESULT { [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DSBUFFERDESC` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | core::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in module `win32` [INFO] [stdout] --> src/main.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let mut result: win32::LRESULT = 0; [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirectSoundBuffer` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | win32::IDirectSoundBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_ACTIVATEAPP` in module `win32` [INFO] [stdout] --> src/main.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | win32::WM_ACTIVATEAPP => { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_CLOSE` in module `win32` [INFO] [stdout] --> src/main.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | win32::WM_CLOSE => { [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | let mut region1: win32::LPVOID = core::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_DESTROY` in module `win32` [INFO] [stdout] --> src/main.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | win32::WM_DESTROY => { [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_PAINT` in module `win32` [INFO] [stdout] --> src/main.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | win32::WM_PAINT => { [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | let mut region2: win32::LPVOID = core::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in module `win32` [INFO] [stdout] --> src/main.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 87 | let device_context: win32::HDC = [INFO] [stdout] | ^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in module `win32` [INFO] [stdout] --> src/main.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | win32::BeginPaint(window, &mut paint_struct); [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | let mut region1: win32::LPVOID = core::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | let mut region2: win32::LPVOID = core::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in module `win32` [INFO] [stdout] --> src/main.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | win32::EndPaint(window, &paint_struct); [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/sound_buffer.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 220 | if win32::SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_SIZE` in module `win32` [INFO] [stdout] --> src/main.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | win32::WM_SIZE => { [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in module `win32` [INFO] [stdout] --> src/main.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_window_dimensions(window: win32::HWND) -> WindowDimentions { [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_SYSKEYUP` in module `win32` [INFO] [stdout] --> src/main.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | win32::WM_SYSKEYUP [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_SYSKEYDOWN` in module `win32` [INFO] [stdout] --> src/main.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | | win32::WM_SYSKEYDOWN [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in module `win32` [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { win32::GetClientRect(window, &mut client_rect) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_KEYUP` in module `win32` [INFO] [stdout] --> src/main.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | | win32::WM_KEYUP [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in module `win32` [INFO] [stdout] --> src/main.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | window: win32::HWND, [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_KEYDOWN` in module `win32` [INFO] [stdout] --> src/main.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | | win32::WM_KEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in module `win32` [INFO] [stdout] --> src/main.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | message: win32::UINT, [INFO] [stdout] | ^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in module `win32` [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | w_param: win32::WPARAM, [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_UP` in module `win32` [INFO] [stdout] --> src/main.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | win32::VK_UP => { [INFO] [stdout] | ^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in module `win32` [INFO] [stdout] --> src/main.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | l_param: win32::LPARAM, [INFO] [stdout] | ^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_F4` in module `win32` [INFO] [stdout] --> src/main.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | win32::VK_F4 if is_alt_key_down => running = false, [INFO] [stdout] | ^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in module `win32` [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | ) -> win32::LRESULT { [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_DOWN` in module `win32` [INFO] [stdout] --> src/main.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | win32::VK_DOWN => { [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in module `win32` [INFO] [stdout] --> src/main.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let mut result: win32::LRESULT = 0; [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_LEFT` in module `win32` [INFO] [stdout] --> src/main.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | win32::VK_LEFT => { [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_ACTIVATEAPP` in module `win32` [INFO] [stdout] --> src/main.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | win32::WM_ACTIVATEAPP => { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_RIGHT` in module `win32` [INFO] [stdout] --> src/main.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | win32::VK_RIGHT => { [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_CLOSE` in module `win32` [INFO] [stdout] --> src/main.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | win32::WM_CLOSE => { [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in module `win32` [INFO] [stdout] --> src/main.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | result = win32::DefWindowProcA(window, message, w_param, l_param); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_DESTROY` in module `win32` [INFO] [stdout] --> src/main.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | win32::WM_DESTROY => { [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceFrequency` in module `win32` [INFO] [stdout] --> src/main.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | win32::QueryPerformanceFrequency(&mut counter_per_second); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in module `win32` [INFO] [stdout] --> src/main.rs:163:43 [INFO] [stdout] | [INFO] [stdout] 163 | let sound_memory = win32::VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_PAINT` in module `win32` [INFO] [stdout] --> src/main.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | win32::WM_PAINT => { [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in module `win32` [INFO] [stdout] --> src/main.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | win32::MEM_COMMIT | win32::MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in module `win32` [INFO] [stdout] --> src/main.rs:166:48 [INFO] [stdout] | [INFO] [stdout] 166 | win32::MEM_COMMIT | win32::MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in module `win32` [INFO] [stdout] --> src/main.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 87 | let device_context: win32::HDC = [INFO] [stdout] | ^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in module `win32` [INFO] [stdout] --> src/main.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | win32::PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in module `win32` [INFO] [stdout] --> src/main.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | win32::BeginPaint(window, &mut paint_struct); [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in module `win32` [INFO] [stdout] --> src/main.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | win32::QueryPerformanceCounter(&mut last_counter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in module `win32` [INFO] [stdout] --> src/main.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | win32::EndPaint(window, &paint_struct); [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DSBPLAY_LOOPING` in module `win32` [INFO] [stdout] --> src/main.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | sound_buffer.Play(0, 0, win32::DSBPLAY_LOOPING); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_SIZE` in module `win32` [INFO] [stdout] --> src/main.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | win32::WM_SIZE => { [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in module `win32` [INFO] [stdout] --> src/main.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | let mut msg: win32::MSG = win32::MSG::default(); [INFO] [stdout] | ^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_SYSKEYUP` in module `win32` [INFO] [stdout] --> src/main.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | win32::WM_SYSKEYUP [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in module `win32` [INFO] [stdout] --> src/main.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | while win32::PeekMessageA( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_SYSKEYDOWN` in module `win32` [INFO] [stdout] --> src/main.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | | win32::WM_SYSKEYDOWN [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in module `win32` [INFO] [stdout] --> src/main.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | win32::PM_REMOVE, [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_KEYUP` in module `win32` [INFO] [stdout] --> src/main.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | | win32::WM_KEYUP [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `WM_KEYDOWN` in module `win32` [INFO] [stdout] --> src/main.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | | win32::WM_KEYDOWN => { [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in module `win32` [INFO] [stdout] --> src/main.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | win32::TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_UP` in module `win32` [INFO] [stdout] --> src/main.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | win32::VK_UP => { [INFO] [stdout] | ^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in module `win32` [INFO] [stdout] --> src/main.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 191 | win32::DispatchMessageA(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_F4` in module `win32` [INFO] [stdout] --> src/main.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | win32::VK_F4 if is_alt_key_down => running = false, [INFO] [stdout] | ^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_DOWN` in module `win32` [INFO] [stdout] --> src/main.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | win32::VK_DOWN => { [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/main.rs:197:31 [INFO] [stdout] | [INFO] [stdout] 197 | if win32::SUCCEEDED(sound_buffer.GetCurrentPosition( [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_LEFT` in module `win32` [INFO] [stdout] --> src/main.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | win32::VK_LEFT => { [INFO] [stdout] | ^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XUSER_MAX_COUNT` in module `win32` [INFO] [stdout] --> src/main.rs:238:40 [INFO] [stdout] | [INFO] [stdout] 238 | for i in 0..win32::XUSER_MAX_COUNT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 238 - for i in 0..win32::XUSER_MAX_COUNT { [INFO] [stdout] 238 + for i in 0.win32::XUSER_MAX_COUNT { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `VK_RIGHT` in module `win32` [INFO] [stdout] --> src/main.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | win32::VK_RIGHT => { [INFO] [stdout] | ^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in module `win32` [INFO] [stdout] --> src/main.rs:246:55 [INFO] [stdout] | [INFO] [stdout] 246 | ... if state_result == win32::ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in module `win32` [INFO] [stdout] --> src/main.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | result = win32::DefWindowProcA(window, message, w_param, l_param); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceFrequency` in module `win32` [INFO] [stdout] --> src/main.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | win32::QueryPerformanceFrequency(&mut counter_per_second); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_UP` in module `win32` [INFO] [stdout] --> src/main.rs:249:46 [INFO] [stdout] | [INFO] [stdout] 249 | ... & win32::XINPUT_GAMEPAD_DPAD_UP [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in module `win32` [INFO] [stdout] --> src/main.rs:163:43 [INFO] [stdout] | [INFO] [stdout] 163 | let sound_memory = win32::VirtualAlloc( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_DOWN` in module `win32` [INFO] [stdout] --> src/main.rs:253:46 [INFO] [stdout] | [INFO] [stdout] 253 | ... & win32::XINPUT_GAMEPAD_DPAD_DOWN [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_LEFT` in module `win32` [INFO] [stdout] --> src/main.rs:256:46 [INFO] [stdout] | [INFO] [stdout] 256 | ... & win32::XINPUT_GAMEPAD_DPAD_LEFT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in module `win32` [INFO] [stdout] --> src/main.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | win32::MEM_COMMIT | win32::MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_RIGHT` in module `win32` [INFO] [stdout] --> src/main.rs:259:46 [INFO] [stdout] | [INFO] [stdout] 259 | ... & win32::XINPUT_GAMEPAD_DPAD_RIGHT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in module `win32` [INFO] [stdout] --> src/main.rs:166:48 [INFO] [stdout] | [INFO] [stdout] 166 | win32::MEM_COMMIT | win32::MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_START` in module `win32` [INFO] [stdout] --> src/main.rs:262:46 [INFO] [stdout] | [INFO] [stdout] 262 | ... & win32::XINPUT_GAMEPAD_START [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in module `win32` [INFO] [stdout] --> src/main.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | win32::PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_BACK` in module `win32` [INFO] [stdout] --> src/main.rs:265:46 [INFO] [stdout] | [INFO] [stdout] 265 | ... & win32::XINPUT_GAMEPAD_BACK [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in module `win32` [INFO] [stdout] --> src/main.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | win32::QueryPerformanceCounter(&mut last_counter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_SHOULDER` in module `win32` [INFO] [stdout] --> src/main.rs:268:46 [INFO] [stdout] | [INFO] [stdout] 268 | ... & win32::XINPUT_GAMEPAD_LEFT_SHOULDER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DSBPLAY_LOOPING` in module `win32` [INFO] [stdout] --> src/main.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | sound_buffer.Play(0, 0, win32::DSBPLAY_LOOPING); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_SHOULDER` in module `win32` [INFO] [stdout] --> src/main.rs:271:46 [INFO] [stdout] | [INFO] [stdout] 271 | ... & win32::XINPUT_GAMEPAD_LEFT_SHOULDER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in module `win32` [INFO] [stdout] --> src/main.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | let mut msg: win32::MSG = win32::MSG::default(); [INFO] [stdout] | ^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_A` in module `win32` [INFO] [stdout] --> src/main.rs:274:46 [INFO] [stdout] | [INFO] [stdout] 274 | ... & win32::XINPUT_GAMEPAD_A [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in module `win32` [INFO] [stdout] --> src/main.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | while win32::PeekMessageA( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_B` in module `win32` [INFO] [stdout] --> src/main.rs:277:46 [INFO] [stdout] | [INFO] [stdout] 277 | ... & win32::XINPUT_GAMEPAD_B [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in module `win32` [INFO] [stdout] --> src/main.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | win32::PM_REMOVE, [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_X` in module `win32` [INFO] [stdout] --> src/main.rs:280:46 [INFO] [stdout] | [INFO] [stdout] 280 | ... & win32::XINPUT_GAMEPAD_X [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in module `win32` [INFO] [stdout] --> src/main.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | win32::TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_Y` in module `win32` [INFO] [stdout] --> src/main.rs:283:46 [INFO] [stdout] | [INFO] [stdout] 283 | ... & win32::XINPUT_GAMEPAD_Y [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in module `win32` [INFO] [stdout] --> src/main.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 191 | win32::DispatchMessageA(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DSBPLAY_LOOPING` in module `win32` [INFO] [stdout] --> src/main.rs:315:52 [INFO] [stdout] | [INFO] [stdout] 315 | sound_buffer.Play(0, 0, win32::DSBPLAY_LOOPING); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in module `win32` [INFO] [stdout] --> src/main.rs:197:31 [INFO] [stdout] | [INFO] [stdout] 197 | if win32::SUCCEEDED(sound_buffer.GetCurrentPosition( [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in module `win32` [INFO] [stdout] --> src/main.rs:316:49 [INFO] [stdout] | [INFO] [stdout] 316 | let device_context = win32::GetDC(window); [INFO] [stdout] | ^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in module `win32` [INFO] [stdout] --> src/main.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | win32::ReleaseDC(window, device_context); [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XUSER_MAX_COUNT` in module `win32` [INFO] [stdout] --> src/main.rs:238:40 [INFO] [stdout] | [INFO] [stdout] 238 | for i in 0..win32::XUSER_MAX_COUNT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 238 - for i in 0..win32::XUSER_MAX_COUNT { [INFO] [stdout] 238 + for i in 0.win32::XUSER_MAX_COUNT { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in module `win32` [INFO] [stdout] --> src/main.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | win32::QueryPerformanceCounter(&mut current_counter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in module `win32` [INFO] [stdout] --> src/main.rs:246:55 [INFO] [stdout] | [INFO] [stdout] 246 | ... if state_result == win32::ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_UP` in module `win32` [INFO] [stdout] --> src/main.rs:249:46 [INFO] [stdout] | [INFO] [stdout] 249 | ... & win32::XINPUT_GAMEPAD_DPAD_UP [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_DOWN` in module `win32` [INFO] [stdout] --> src/main.rs:253:46 [INFO] [stdout] | [INFO] [stdout] 253 | ... & win32::XINPUT_GAMEPAD_DPAD_DOWN [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_LEFT` in module `win32` [INFO] [stdout] --> src/main.rs:256:46 [INFO] [stdout] | [INFO] [stdout] 256 | ... & win32::XINPUT_GAMEPAD_DPAD_LEFT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_RIGHT` in module `win32` [INFO] [stdout] --> src/main.rs:259:46 [INFO] [stdout] | [INFO] [stdout] 259 | ... & win32::XINPUT_GAMEPAD_DPAD_RIGHT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_START` in module `win32` [INFO] [stdout] --> src/main.rs:262:46 [INFO] [stdout] | [INFO] [stdout] 262 | ... & win32::XINPUT_GAMEPAD_START [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_BACK` in module `win32` [INFO] [stdout] --> src/main.rs:265:46 [INFO] [stdout] | [INFO] [stdout] 265 | ... & win32::XINPUT_GAMEPAD_BACK [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_SHOULDER` in module `win32` [INFO] [stdout] --> src/main.rs:268:46 [INFO] [stdout] | [INFO] [stdout] 268 | ... & win32::XINPUT_GAMEPAD_LEFT_SHOULDER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_SHOULDER` in module `win32` [INFO] [stdout] --> src/main.rs:271:46 [INFO] [stdout] | [INFO] [stdout] 271 | ... & win32::XINPUT_GAMEPAD_LEFT_SHOULDER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_A` in module `win32` [INFO] [stdout] --> src/main.rs:274:46 [INFO] [stdout] | [INFO] [stdout] 274 | ... & win32::XINPUT_GAMEPAD_A [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_B` in module `win32` [INFO] [stdout] --> src/main.rs:277:46 [INFO] [stdout] | [INFO] [stdout] 277 | ... & win32::XINPUT_GAMEPAD_B [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_X` in module `win32` [INFO] [stdout] --> src/main.rs:280:46 [INFO] [stdout] | [INFO] [stdout] 280 | ... & win32::XINPUT_GAMEPAD_X [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_Y` in module `win32` [INFO] [stdout] --> src/main.rs:283:46 [INFO] [stdout] | [INFO] [stdout] 283 | ... & win32::XINPUT_GAMEPAD_Y [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DSBPLAY_LOOPING` in module `win32` [INFO] [stdout] --> src/main.rs:315:52 [INFO] [stdout] | [INFO] [stdout] 315 | sound_buffer.Play(0, 0, win32::DSBPLAY_LOOPING); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in module `win32` [INFO] [stdout] --> src/main.rs:316:49 [INFO] [stdout] | [INFO] [stdout] 316 | let device_context = win32::GetDC(window); [INFO] [stdout] | ^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in module `win32` [INFO] [stdout] --> src/main.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | win32::ReleaseDC(window, device_context); [INFO] [stdout] | ^^^^^^^^^ not found in `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in module `win32` [INFO] [stdout] --> src/main.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | win32::QueryPerformanceCounter(&mut current_counter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `win32` [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/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 25 | / ffi::OsStr::new(string) [INFO] [stdout] 26 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [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/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 25 | / ffi::OsStr::new(string) [INFO] [stdout] 26 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 139 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 139 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `handmade_hero` (bin "handmade_hero") due to 140 previous errors [INFO] [stderr] error: could not compile `handmade_hero` (bin "handmade_hero" test) due to 140 previous errors [INFO] running `Command { std: "docker" "inspect" "aaa456ca277f2070a7fb26e2cfe4fdfe904689a06289af31f20b25ccef48ed6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa456ca277f2070a7fb26e2cfe4fdfe904689a06289af31f20b25ccef48ed6e", kill_on_drop: false }` [INFO] [stdout] aaa456ca277f2070a7fb26e2cfe4fdfe904689a06289af31f20b25ccef48ed6e