[INFO] cloning repository https://github.com/MaulingMonkey/rust_win32_sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaulingMonkey/rust_win32_sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaulingMonkey%2Frust_win32_sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaulingMonkey%2Frust_win32_sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23da4cc4ab04dbd2a4d809ddc99cef10ec1a27ae [INFO] checking MaulingMonkey/rust_win32_sample against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaulingMonkey%2Frust_win32_sample" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaulingMonkey/rust_win32_sample on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaulingMonkey/rust_win32_sample [INFO] finished tweaking git repo https://github.com/MaulingMonkey/rust_win32_sample [INFO] tweaked toml for git repo https://github.com/MaulingMonkey/rust_win32_sample written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/MaulingMonkey/rust_win32_sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37c80de99d36c131cbf03dec5de4b8c765bbd60f2536d6dfc7f3c8fe76545f7a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "37c80de99d36c131cbf03dec5de4b8c765bbd60f2536d6dfc7f3c8fe76545f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37c80de99d36c131cbf03dec5de4b8c765bbd60f2536d6dfc7f3c8fe76545f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37c80de99d36c131cbf03dec5de4b8c765bbd60f2536d6dfc7f3c8fe76545f7a", kill_on_drop: false }` [INFO] [stdout] 37c80de99d36c131cbf03dec5de4b8c765bbd60f2536d6dfc7f3c8fe76545f7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 946a88edf4738cd3a7d366c6e42d3c9bbf068122a06451864277045adde5a238 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "946a88edf4738cd3a7d366c6e42d3c9bbf068122a06451864277045adde5a238", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking walkdir v2.2.8 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling libloading v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.23.5 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.5 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.5 [INFO] [stderr] Compiling wayland-protocols v0.23.5 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.5 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Checking smithay-client-toolkit v0.6.2 [INFO] [stderr] Checking winit v0.19.1 (https://github.com/rust-windowing/winit#2e0bbc09) [INFO] [stderr] Checking rust_win32_d3d11 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/com/d3d/blob.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/main.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/com/d3d/blob.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/main.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `win32` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use win32::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `win32` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use win32::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `win32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d/blob.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d/blob.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::win32`, `crate::com::d3d::Blob` [INFO] [stdout] --> src/com/d3d/compile.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] 2 | use crate::com::Wrapper; [INFO] [stdout] 3 | use crate::com::d3d::Blob; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::win32`, `crate::com::d3d::Blob` [INFO] [stdout] --> src/com/d3d/compile.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] 2 | use crate::com::Wrapper; [INFO] [stdout] 3 | use crate::com::d3d::Blob; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/driver_type.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/feature_level.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/driver_type.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/feature_level.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/device_and_swap_chain.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | fn uuidof () -> winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/device_and_swap_chain.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::win32::*; [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | fn uuidof () -> winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/blob.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / com_wrapper! { [INFO] [stdout] 8 | | pub struct Blob(*mut ID3DBlob); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/blob.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / com_wrapper! { [INFO] [stdout] 8 | | pub struct Blob(*mut ID3DBlob); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3DBlob` [INFO] [stdout] --> src/com/d3d/blob.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Blob(*mut ID3DBlob); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ID3DBlob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3DBlob` [INFO] [stdout] --> src/com/d3d/blob.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Blob(*mut ID3DBlob); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ID3DBlob` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | expect_ne!(defines.len(), 0); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | expect_ne!(defines.len(), 0); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:56:68 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | expect_ne!(defines.len(), 0); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | expect_eq!(null(), last_define.Name); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | expect_eq!(null(), last_define.Name); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | expect_ne!(defines.len(), 0); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | expect_eq!(null(), last_define.Name); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | expect_eq!(null(), last_define.Definition); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | expect_eq!(null(), last_define.Definition); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | expect_eq!(null(), last_define.Definition); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | expect_ne!(defines.len(), 0); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:56:68 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | expect_ne!(defines.len(), 0); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | expect_eq!(null(), last_define.Name); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | expect_eq!(null(), last_define.Name); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / com_wrapper! { [INFO] [stdout] 4 | | pub struct Buffer(*mut ID3D11Buffer); [INFO] [stdout] 5 | | pub struct Texture2D(*mut ID3D11Texture2D); [INFO] [stdout] 6 | | pub struct PixelShader(*mut ID3D11PixelShader); [INFO] [stdout] ... | [INFO] [stdout] 12 | | pub struct DepthStencilView(*mut ID3D11DepthStencilView); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11Buffer` [INFO] [stdout] --> src/com/d3d11/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Buffer(*mut ID3D11Buffer); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID3D11Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | expect_eq!(null(), last_define.Name); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | expect_eq!(null(), last_define.Definition); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | expect_eq!(null(), last_define.Definition); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d/compile.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | expect_eq!(null(), last_define.Definition); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11Texture2D` [INFO] [stdout] --> src/com/d3d11/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture2D(*mut ID3D11Texture2D); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ID3D11Texture2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / com_wrapper! { [INFO] [stdout] 4 | | pub struct Buffer(*mut ID3D11Buffer); [INFO] [stdout] 5 | | pub struct Texture2D(*mut ID3D11Texture2D); [INFO] [stdout] 6 | | pub struct PixelShader(*mut ID3D11PixelShader); [INFO] [stdout] ... | [INFO] [stdout] 12 | | pub struct DepthStencilView(*mut ID3D11DepthStencilView); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11Buffer` [INFO] [stdout] --> src/com/d3d11/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Buffer(*mut ID3D11Buffer); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID3D11Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11PixelShader` [INFO] [stdout] --> src/com/d3d11/mod.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PixelShader(*mut ID3D11PixelShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11PixelShader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11VertexShader` [INFO] [stdout] --> src/com/d3d11/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VertexShader(*mut ID3D11VertexShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11VertexShader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11Texture2D` [INFO] [stdout] --> src/com/d3d11/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture2D(*mut ID3D11Texture2D); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ID3D11Texture2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11InputLayout` [INFO] [stdout] --> src/com/d3d11/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InputLayout(*mut ID3D11InputLayout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11InputLayout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11PixelShader` [INFO] [stdout] --> src/com/d3d11/mod.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PixelShader(*mut ID3D11PixelShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11PixelShader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11ClassInstance` [INFO] [stdout] --> src/com/d3d11/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ClassInstance(*mut ID3D11ClassInstance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11ClassInstance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11VertexShader` [INFO] [stdout] --> src/com/d3d11/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VertexShader(*mut ID3D11VertexShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11VertexShader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11ClassLinkage` [INFO] [stdout] --> src/com/d3d11/mod.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClassLinkage(*mut ID3D11ClassLinkage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11ClassLinkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11InputLayout` [INFO] [stdout] --> src/com/d3d11/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InputLayout(*mut ID3D11InputLayout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11InputLayout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11RenderTargetView` [INFO] [stdout] --> src/com/d3d11/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RenderTargetView(*mut ID3D11RenderTargetView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11RenderTargetView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11DepthStencilView` [INFO] [stdout] --> src/com/d3d11/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DepthStencilView(*mut ID3D11DepthStencilView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11DepthStencilView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11ClassInstance` [INFO] [stdout] --> src/com/d3d11/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ClassInstance(*mut ID3D11ClassInstance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11ClassInstance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11ClassLinkage` [INFO] [stdout] --> src/com/d3d11/mod.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClassLinkage(*mut ID3D11ClassLinkage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11ClassLinkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11RenderTargetView` [INFO] [stdout] --> src/com/d3d11/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RenderTargetView(*mut ID3D11RenderTargetView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11RenderTargetView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11DepthStencilView` [INFO] [stdout] --> src/com/d3d11/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DepthStencilView(*mut ID3D11DepthStencilView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11DepthStencilView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct Device(*mut ID3D11Device); } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11Device` [INFO] [stdout] --> src/com/d3d11/device.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct Device(*mut ID3D11Device); } [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID3D11Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct DeviceContext(*mut ID3D11DeviceContext); } [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11DeviceContext` [INFO] [stdout] --> src/com/d3d11/device_context.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct DeviceContext(*mut ID3D11DeviceContext); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11DeviceContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | expect_eq!(vertex_buffers.len(), strides.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | expect_eq!(vertex_buffers.len(), strides.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | expect_eq!(vertex_buffers.len(), strides.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | expect_eq!(vertex_buffers.len(), offsets.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | expect_eq!(vertex_buffers.len(), offsets.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | expect_eq!(vertex_buffers.len(), offsets.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct Device(*mut ID3D11Device); } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11Device` [INFO] [stdout] --> src/com/d3d11/device.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct Device(*mut ID3D11Device); } [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID3D11Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/dxgi/swap_chain.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / com_wrapper! { [INFO] [stdout] 6 | | pub struct SwapChain(*mut IDXGISwapChain); [INFO] [stdout] 7 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGISwapChain` [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SwapChain(*mut IDXGISwapChain); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IDXGISwapChain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/dxgi/swap_chain.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | expect_ne!(surface, null_mut()); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/dxgi/swap_chain.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | expect_ne!(surface, null_mut()); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:56:68 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/dxgi/swap_chain.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | expect_ne!(surface, null_mut()); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct DeviceContext(*mut ID3D11DeviceContext); } [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D11DeviceContext` [INFO] [stdout] --> src/com/d3d11/device_context.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct DeviceContext(*mut ID3D11DeviceContext); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D11DeviceContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Blob(*mut ID3DBlob); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 11 | impl Blob { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub fn from_file> (path: &P) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DReadFileToBlob` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | let result = unsafe { D3DReadFileToBlob(path.as_ptr(), &mut blob) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:25:87 [INFO] [stdout] | [INFO] [stdout] 11 | impl Blob { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn write_file> (&self, path: &P, overwrite: bool) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DWriteBlobToFile` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let result = unsafe { D3DWriteBlobToFile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | if overwrite { TRUE } else { FALSE } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | if overwrite { TRUE } else { FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MagicConstantInclude(*mut ID3DInclude); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:15:87 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COMPILE_STANDARD_FILE_INCLUDE : MagicConstantInclude = MagicConstantInclude(D3D_COMPILE_STANDARD_FILE_INCLUDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:18:102 [INFO] [stdout] | [INFO] [stdout] 18 | pub unsafe trait IntoSafeCompileInclude { fn into_compile_include(&self) -> *mut ID3DInclude; } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe impl IntoSafeCompileInclude for ID3DInclude { fn into_compile_include(&self) -> *mut ID3DInclude { &*self as *const _ as ... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:19:102 [INFO] [stdout] | [INFO] [stdout] 19 | ... { fn into_compile_include(&self) -> *mut ID3DInclude { &*self as *const _ as *mut _ } } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:20:102 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe impl IntoSafeCompileInclude for MagicConstantInclude { fn into_compile_include(&self) -> *mut ID3DInclude { self.0 } } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | pub hresult: HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_SHADER_MACRO` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn compile ( [INFO] [stdout] | - help: you might be missing a type parameter: `, D3D_SHADER_MACRO` [INFO] [stdout] ... [INFO] [stdout] 55 | defines: Option<&[D3D_SHADER_MACRO]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | flags1: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | flags2: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompile` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let hresult = D3DCompile( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | source_data.as_ptr() as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | source_data.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | if SUCCEEDED(hresult) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Buffer(*mut ID3D11Buffer); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Texture2D` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture2D(*mut ID3D11Texture2D); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11PixelShader` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PixelShader(*mut ID3D11PixelShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11VertexShader` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VertexShader(*mut ID3D11VertexShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `VertexShader` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `VertexShader` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11InputLayout` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InputLayout(*mut ID3D11InputLayout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11ClassInstance` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ClassInstance(*mut ID3D11ClassInstance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ClassInstance` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `ClassInstance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11ClassLinkage` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClassLinkage(*mut ID3D11ClassLinkage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ClassLinkage` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `ClassLinkage` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RenderTargetView(*mut ID3D11RenderTargetView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RenderTargetView` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `RenderTargetView` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DepthStencilView(*mut ID3D11DepthStencilView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DepthStencilView` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `DepthStencilView` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_UNKNOWN` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | Unknown = D3D_DRIVER_TYPE_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | Hardware = D3D_DRIVER_TYPE_HARDWARE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_REFERENCE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | Reference = D3D_DRIVER_TYPE_REFERENCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_NULL` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | Null = D3D_DRIVER_TYPE_NULL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_SOFTWARE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | Software = D3D_DRIVER_TYPE_SOFTWARE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_WARP` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | WARP = D3D_DRIVER_TYPE_WARP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_DRIVER_TYPE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn raw(self) -> D3D_DRIVER_TYPE { self as D3D_DRIVER_TYPE } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_DRIVER_TYPE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn raw(self) -> D3D_DRIVER_TYPE { self as D3D_DRIVER_TYPE } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | expect_eq!(vertex_buffers.len(), strides.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub const _9_1 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_9_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_2` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | pub const _9_2 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_9_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_3` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | pub const _9_3 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_9_3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_0` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | pub const _10_0 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_10_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_1` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | pub const _10_1 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_10_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | pub const _11_0 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_11_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | pub const _11_1 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_11_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_0` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | pub const _12_0 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_12_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_1` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | pub const _12_1 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_12_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn into_input_elements (&self) -> &[D3D11_INPUT_ELEMENT_DESC]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InputElementDesc<'a>(pub(crate) D3D11_INPUT_ELEMENT_DESC, pub(crate) std::marker::PhantomData<&'a str>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InputElementDesc<'a>(pub(crate) D3D11_INPUT_ELEMENT_DESC, pub(crate) std::marker::PhantomData<&'a str>); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, D3D11_INPUT_ELEMENT_DESC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | impl IntoInputElements for &[D3D11_INPUT_ELEMENT_DESC] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | fn into_input_elements (&self) -> &[D3D11_INPUT_ELEMENT_DESC] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | fn into_input_elements (&self) -> &[D3D11_INPUT_ELEMENT_DESC] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_UNDEFINED` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | Undefined = D3D_PRIMITIVE_TOPOLOGY_UNDEFINED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_POINTLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | PointList = D3D_PRIMITIVE_TOPOLOGY_POINTLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_LINELIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | LineList = D3D_PRIMITIVE_TOPOLOGY_LINELIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_LINESTRIP` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | LineStrip = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | TriangleList = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | TriangleStrip = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | expect_eq!(vertex_buffers.len(), strides.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | LineListAdj = D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | LineStripAdj = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | expect_eq!(vertex_buffers.len(), strides.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | TriangleListAdj = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | TriangleStripAdj = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | _1ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | _2ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | expect_eq!(vertex_buffers.len(), offsets.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | _3ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | _4ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | _5ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | _6ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | _7ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | expect_eq!(vertex_buffers.len(), offsets.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | _8ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | _9ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | _10ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | _11ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | _12ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | _13ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | _14ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | _15ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | _16ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | _17ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | _18ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | _19ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | _20ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | _21ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | _22ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | _23ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | _24ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | _25ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | _26ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | _27ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | _28ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | _29ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | _30ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/device_context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | expect_eq!(vertex_buffers.len(), offsets.len()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | _31ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | _32ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_PRIMITIVE_TOPOLOGY` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn raw(self) -> D3D_PRIMITIVE_TOPOLOGY { self as D3D_PRIMITIVE_TOPOLOGY } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_PRIMITIVE_TOPOLOGY` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:53:58 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn raw(self) -> D3D_PRIMITIVE_TOPOLOGY { self as D3D_PRIMITIVE_TOPOLOGY } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct Device(*mut ID3D11Device); } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait IntoResource { fn into_resource(self) -> *mut ID3D11Resource; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl IntoResource for *mut ID3D11Resource { fn into_resource(self) -> *mut ID3D11Resource { self } } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:8:77 [INFO] [stdout] | [INFO] [stdout] 8 | impl IntoResource for *mut ID3D11Resource { fn into_resource(self) -> *mut ID3D11Resource { self } } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Texture2D` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | impl IntoResource for *mut ID3D11Texture2D { fn into_resource(self) -> *mut ID3D11Resource { self as *mut _ } } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:9:77 [INFO] [stdout] | [INFO] [stdout] 9 | impl IntoResource for *mut ID3D11Texture2D { fn into_resource(self) -> *mut ID3D11Resource { self as *mut _ } } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:10:77 [INFO] [stdout] | [INFO] [stdout] 10 | impl IntoResource for &Texture2D { fn into_resource(self) -> *mut ID3D11Resource { &**self.as_ref() as *const _ as *mut _ } } /... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_BUFFER_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn create_buffer (&self, desc: &D3D11_BUFFER_DESC, initial_data: Option<&D3D11_SUBRESOURCE_DATA>) -> Result src/com/d3d11/device.rs:19:89 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub unsafe fn create_buffer (&self, desc: &D3D11_BUFFER_DESC, initial_data: Option<&D3D11_SUBRESOURCE_DATA>) -> Result src/com/d3d11/device.rs:19:132 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub unsafe fn create_buffer (&self, desc: &D3D11_BUFFER_DESC, initial_data: Option<&D3D11_SUBRESOURCE_DATA>) -> Result src/com/d3d11/device.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_RENDER_TARGET_VIEW_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:34:90 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn create_render_target_view (&self, resource: D, desc: Option<&D3D11_RENDER_TARGET_VIEW_DESC>) -> Result src/com/d3d11/device.rs:34:150 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn create_render_target_view (&self, resource: D, desc: Option<&D3D11_RENDER_TARGET_VIEW_DESC>) -> Result src/com/d3d11/device.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:49:120 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn create_vertex_shader (&self, bytecode: &[u8], class_linkage: Option<&ClassLinkage>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | bytecode.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:65:118 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn create_pixel_shader (&self, bytecode: &[u8], class_linkage: Option<&ClassLinkage>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | bytecode.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:81:154 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn create_input_layout (&self, input_element_descs: I, shader_bytecode_with_input_signature: &[u8]) -> Result src/com/d3d11/device.rs:86:42 [INFO] [stdout] | [INFO] [stdout] 86 | input_element_descs.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:88:59 [INFO] [stdout] | [INFO] [stdout] 88 | shader_bytecode_with_input_signature.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct DeviceContext(*mut ID3D11DeviceContext); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DeviceContext` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `DeviceContext` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn om_set_render_targets (&self, render_target_views: &[&ID3D11RenderTargetView], depth_stencil_view: Option<&DepthStencilView>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RenderTargetView` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `RenderTargetView` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | render_target_views.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_VIEWPORT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn rs_set_viewports (&self, viewports: &[D3D11_VIEWPORT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | viewports.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:30:92 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn clear_render_target_view (&self, render_target_view: &RenderTargetView, rgba: &[FLOAT; 4]) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | start_slot: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | vertex_buffers: &[&ID3D11Buffer], [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | strides: &[UINT], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | offsets: &[UINT] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | self.as_ref().IASetVertexBuffers(start_slot, n as UINT, vertex_buffers.as_ptr(), strides.as_ptr(), offsets.as_ptr()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11ClassInstance` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:66:91 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn vs_set_shader (&self, vertex_shader: &VertexShader, class_instances: &[Option<&ID3D11ClassInstance>]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `ClassInstance` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 66 | pub fn vs_set_shader (&self, vertex_shader: &VertexShader, class_instances: &[Option<&ClassInstance>]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | impl DeviceContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:69:114 [INFO] [stdout] | [INFO] [stdout] 69 | self.as_ref().VSSetShader(vertex_shader.as_ptr(), class_instances.as_ptr(), class_instances.len() as UINT) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11ClassInstance` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:74:89 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ps_set_shader (&self, pixel_shader: &PixelShader, class_instances: &[Option<&ID3D11ClassInstance>]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `ClassInstance` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ps_set_shader (&self, pixel_shader: &PixelShader, class_instances: &[Option<&ClassInstance>]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | impl DeviceContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:77:113 [INFO] [stdout] | [INFO] [stdout] 77 | self.as_ref().PSSetShader(pixel_shader.as_ptr(), class_instances.as_ptr(), class_instances.len() as UINT) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn draw (&self, vertex_count: UINT, start_vertex_location: UINT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn draw (&self, vertex_count: UINT, start_vertex_location: UINT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SwapChain(*mut IDXGISwapChain); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn present (&self, sync_interval: UINT, flags: UINT) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn present (&self, sync_interval: UINT, flags: UINT) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:12:75 [INFO] [stdout] | [INFO] [stdout] 10 | impl SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 11 | /// MSDN: [IDXGISwapChain::Present](https://docs.microsoft.com/en-us/windows/desktop/api/dxgi/nf-dxgi-idxgiswapchain-present) [INFO] [stdout] 12 | pub fn present (&self, sync_interval: UINT, flags: UINT) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | if SUCCEEDED(result) { Ok(()) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_buffer (&self, buffer: UINT) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 10 | impl SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_buffer (&self, buffer: UINT) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 21 | adapter: Option<&IDXGIAdapter>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | software: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | flags: UINT, // D3D11_CREATE_DEVICE_FLAG [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/com/mod.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | fn uuidof () -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/com/dxgi/swap_chain.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / com_wrapper! { [INFO] [stdout] 6 | | pub struct SwapChain(*mut IDXGISwapChain); [INFO] [stdout] 7 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_DESC` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | swap_chain_desc: &DXGI_SWAP_CHAIN_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 27 | ) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDeviceAndSwapChain` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let hresult = D3D11CreateDeviceAndSwapChain( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | D3D11_SDK_VERSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if SUCCEEDED(hresult) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/macros.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | $(crate::d3d11::InputElementDesc(D3D11_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | static LAYOUT : [d3d11::InputElementDesc; 1] = input_layout! { [INFO] [stdout] | ________________________________________________________- [INFO] [stdout] 54 | | { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, [INFO] [stdout] 55 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32_FLOAT` in this scope [INFO] [stdout] --> src/main.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGISwapChain` [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SwapChain(*mut IDXGISwapChain); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IDXGISwapChain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_INPUT_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/main.rs:54:66 [INFO] [stdout] | [INFO] [stdout] 54 | { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC` in this scope [INFO] [stdout] --> src/main.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | let swap_chain_desc = DXGI_SWAP_CHAIN_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_MODE_DESC` in this scope [INFO] [stdout] --> src/main.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | BufferDesc: DXGI_MODE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | Width: client.width as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | Height: client.height as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_RATIONAL` in this scope [INFO] [stdout] --> src/main.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | RefreshRate: DXGI_RATIONAL { Numerator: 60, Denominator: 1 }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | Format: DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED` in this scope [INFO] [stdout] --> src/main.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | ScanlineOrdering: DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_MODE_SCALING_CENTERED` in this scope [INFO] [stdout] --> src/main.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | Scaling: DXGI_MODE_SCALING_CENTERED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stdout] --> src/main.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | OutputWindow: window.hwnd() as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_DISCARD` in this scope [INFO] [stdout] --> src/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | SwapEffect: DXGI_SWAP_EFFECT_DISCARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_VIEWPORT` in this scope [INFO] [stdout] --> src/main.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | let vp = D3D11_VIEWPORT { Width: client.width as f32, Height: client.height as f32, MinDepth: 0.0, MaxDepth: 1.0, TopLeftX: 0.0, TopL... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_BUFFER_DESC` in this scope [INFO] [stdout] --> src/main.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | let bd = D3D11_BUFFER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | ByteWidth: mem::size_of_val(&verticies) as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_DEFAULT` in this scope [INFO] [stdout] --> src/main.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | Usage: D3D11_USAGE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_VERTEX_BUFFER` in this scope [INFO] [stdout] --> src/main.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | BindFlags: D3D11_BIND_VERTEX_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_SUBRESOURCE_DATA` in this scope [INFO] [stdout] --> src/main.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | let init_data = D3D11_SUBRESOURCE_DATA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:168:124 [INFO] [stdout] | [INFO] [stdout] 168 | device_context.ia_set_vertex_buffers(0, &[vertex_buffer.as_ref()], &[mem::size_of::() as UINT], &[0]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/dxgi/swap_chain.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | expect_ne!(surface, null_mut()); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/dxgi/swap_chain.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | expect_ne!(surface, null_mut()); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `win32`? [INFO] [stdout] --> src/macros.rs:56:68 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ maybe a missing crate `win32`? [INFO] [stdout] | [INFO] [stdout] ::: src/com/dxgi/swap_chain.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | expect_ne!(surface, null_mut()); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Blob(*mut ID3DBlob); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 11 | impl Blob { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub fn from_file> (path: &P) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DReadFileToBlob` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | let result = unsafe { D3DReadFileToBlob(path.as_ptr(), &mut blob) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:25:87 [INFO] [stdout] | [INFO] [stdout] 11 | impl Blob { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn write_file> (&self, path: &P, overwrite: bool) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DWriteBlobToFile` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let result = unsafe { D3DWriteBlobToFile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | if overwrite { TRUE } else { FALSE } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | if overwrite { TRUE } else { FALSE } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d/blob.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MagicConstantInclude(*mut ID3DInclude); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_COMPILE_STANDARD_FILE_INCLUDE` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:15:87 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COMPILE_STANDARD_FILE_INCLUDE : MagicConstantInclude = MagicConstantInclude(D3D_COMPILE_STANDARD_FILE_INCLUDE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:18:102 [INFO] [stdout] | [INFO] [stdout] 18 | pub unsafe trait IntoSafeCompileInclude { fn into_compile_include(&self) -> *mut ID3DInclude; } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe impl IntoSafeCompileInclude for ID3DInclude { fn into_compile_include(&self) -> *mut ID3DInclude { &*self as *const _ as ... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:19:102 [INFO] [stdout] | [INFO] [stdout] 19 | ... { fn into_compile_include(&self) -> *mut ID3DInclude { &*self as *const _ as *mut _ } } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:20:102 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe impl IntoSafeCompileInclude for MagicConstantInclude { fn into_compile_include(&self) -> *mut ID3DInclude { self.0 } } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | pub hresult: HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_SHADER_MACRO` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn compile ( [INFO] [stdout] | - help: you might be missing a type parameter: `, D3D_SHADER_MACRO` [INFO] [stdout] ... [INFO] [stdout] 55 | defines: Option<&[D3D_SHADER_MACRO]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | flags1: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | flags2: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompile` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let hresult = D3DCompile( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | source_data.as_ptr() as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | source_data.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d/compile.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | if SUCCEEDED(hresult) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Buffer(*mut ID3D11Buffer); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Texture2D` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture2D(*mut ID3D11Texture2D); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11PixelShader` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PixelShader(*mut ID3D11PixelShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11VertexShader` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VertexShader(*mut ID3D11VertexShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `VertexShader` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `VertexShader` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11InputLayout` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InputLayout(*mut ID3D11InputLayout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11ClassInstance` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ClassInstance(*mut ID3D11ClassInstance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ClassInstance` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `ClassInstance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11ClassLinkage` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClassLinkage(*mut ID3D11ClassLinkage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ClassLinkage` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `ClassLinkage` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RenderTargetView(*mut ID3D11RenderTargetView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RenderTargetView` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `RenderTargetView` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/com/d3d11/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DepthStencilView(*mut ID3D11DepthStencilView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DepthStencilView` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `DepthStencilView` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_UNKNOWN` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | Unknown = D3D_DRIVER_TYPE_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | Hardware = D3D_DRIVER_TYPE_HARDWARE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_REFERENCE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | Reference = D3D_DRIVER_TYPE_REFERENCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_NULL` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | Null = D3D_DRIVER_TYPE_NULL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_SOFTWARE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | Software = D3D_DRIVER_TYPE_SOFTWARE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_WARP` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | WARP = D3D_DRIVER_TYPE_WARP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_DRIVER_TYPE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn raw(self) -> D3D_DRIVER_TYPE { self as D3D_DRIVER_TYPE } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_DRIVER_TYPE` in this scope [INFO] [stdout] --> src/com/d3d11/driver_type.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn raw(self) -> D3D_DRIVER_TYPE { self as D3D_DRIVER_TYPE } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub const _9_1 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_9_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_2` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | pub const _9_2 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_9_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_3` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | pub const _9_3 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_9_3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_0` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | pub const _10_0 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_10_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_1` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | pub const _10_1 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_10_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | pub const _11_0 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_11_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | pub const _11_1 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_11_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_0` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | pub const _12_0 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_12_0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_1` in this scope [INFO] [stdout] --> src/com/d3d11/feature_level.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | pub const _12_1 : FeatureLevel = FeatureLevel(D3D_FEATURE_LEVEL_12_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn into_input_elements (&self) -> &[D3D11_INPUT_ELEMENT_DESC]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InputElementDesc<'a>(pub(crate) D3D11_INPUT_ELEMENT_DESC, pub(crate) std::marker::PhantomData<&'a str>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InputElementDesc<'a>(pub(crate) D3D11_INPUT_ELEMENT_DESC, pub(crate) std::marker::PhantomData<&'a str>); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, D3D11_INPUT_ELEMENT_DESC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | impl IntoInputElements for &[D3D11_INPUT_ELEMENT_DESC] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | fn into_input_elements (&self) -> &[D3D11_INPUT_ELEMENT_DESC] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/input_element_desc.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | fn into_input_elements (&self) -> &[D3D11_INPUT_ELEMENT_DESC] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_UNDEFINED` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | Undefined = D3D_PRIMITIVE_TOPOLOGY_UNDEFINED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_POINTLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | PointList = D3D_PRIMITIVE_TOPOLOGY_POINTLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_LINELIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | LineList = D3D_PRIMITIVE_TOPOLOGY_LINELIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_LINESTRIP` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | LineStrip = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | TriangleList = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | TriangleStrip = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | LineListAdj = D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | LineStripAdj = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | TriangleListAdj = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | TriangleStripAdj = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | _1ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | _2ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | _3ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | _4ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | _5ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | _6ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | _7ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | _8ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | _9ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | _10ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | _11ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | _12ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | _13ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | _14ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | _15ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | _16ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | _17ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | _18ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | _19ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | _20ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | _21ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | _22ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | _23ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | _24ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | _25ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | _26ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | _27ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | _28ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | _29ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | _30ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | _31ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | _32ControlPointPatchList = D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_PRIMITIVE_TOPOLOGY` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn raw(self) -> D3D_PRIMITIVE_TOPOLOGY { self as D3D_PRIMITIVE_TOPOLOGY } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_PRIMITIVE_TOPOLOGY` in this scope [INFO] [stdout] --> src/com/d3d11/primitive_topology.rs:53:58 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn raw(self) -> D3D_PRIMITIVE_TOPOLOGY { self as D3D_PRIMITIVE_TOPOLOGY } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct Device(*mut ID3D11Device); } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait IntoResource { fn into_resource(self) -> *mut ID3D11Resource; } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl IntoResource for *mut ID3D11Resource { fn into_resource(self) -> *mut ID3D11Resource { self } } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:8:77 [INFO] [stdout] | [INFO] [stdout] 8 | impl IntoResource for *mut ID3D11Resource { fn into_resource(self) -> *mut ID3D11Resource { self } } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Texture2D` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | impl IntoResource for *mut ID3D11Texture2D { fn into_resource(self) -> *mut ID3D11Resource { self as *mut _ } } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:9:77 [INFO] [stdout] | [INFO] [stdout] 9 | impl IntoResource for *mut ID3D11Texture2D { fn into_resource(self) -> *mut ID3D11Resource { self as *mut _ } } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:10:77 [INFO] [stdout] | [INFO] [stdout] 10 | impl IntoResource for &Texture2D { fn into_resource(self) -> *mut ID3D11Resource { &**self.as_ref() as *const _ as *mut _ } } /... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_BUFFER_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn create_buffer (&self, desc: &D3D11_BUFFER_DESC, initial_data: Option<&D3D11_SUBRESOURCE_DATA>) -> Result src/com/d3d11/device.rs:19:89 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub unsafe fn create_buffer (&self, desc: &D3D11_BUFFER_DESC, initial_data: Option<&D3D11_SUBRESOURCE_DATA>) -> Result src/com/d3d11/device.rs:19:132 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub unsafe fn create_buffer (&self, desc: &D3D11_BUFFER_DESC, initial_data: Option<&D3D11_SUBRESOURCE_DATA>) -> Result src/com/d3d11/device.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_RENDER_TARGET_VIEW_DESC` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:34:90 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn create_render_target_view (&self, resource: D, desc: Option<&D3D11_RENDER_TARGET_VIEW_DESC>) -> Result src/com/d3d11/device.rs:34:150 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn create_render_target_view (&self, resource: D, desc: Option<&D3D11_RENDER_TARGET_VIEW_DESC>) -> Result src/com/d3d11/device.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:49:120 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn create_vertex_shader (&self, bytecode: &[u8], class_linkage: Option<&ClassLinkage>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | bytecode.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:65:118 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn create_pixel_shader (&self, bytecode: &[u8], class_linkage: Option<&ClassLinkage>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | bytecode.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:81:154 [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn create_input_layout (&self, input_element_descs: I, shader_bytecode_with_input_signature: &[u8]) -> Result src/com/d3d11/device.rs:86:42 [INFO] [stdout] | [INFO] [stdout] 86 | input_element_descs.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:88:59 [INFO] [stdout] | [INFO] [stdout] 88 | shader_bytecode_with_input_signature.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | com_wrapper!{ pub struct DeviceContext(*mut ID3D11DeviceContext); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DeviceContext` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `DeviceContext` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn om_set_render_targets (&self, render_target_views: &[&ID3D11RenderTargetView], depth_stencil_view: Option<&DepthStencilView>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `RenderTargetView` [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `RenderTargetView` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | render_target_views.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D11_VIEWPORT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn rs_set_viewports (&self, viewports: &[D3D11_VIEWPORT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | viewports.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:30:92 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn clear_render_target_view (&self, render_target_view: &RenderTargetView, rgba: &[FLOAT; 4]) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | start_slot: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Buffer` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | vertex_buffers: &[&ID3D11Buffer], [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | strides: &[UINT], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | offsets: &[UINT] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | self.as_ref().IASetVertexBuffers(start_slot, n as UINT, vertex_buffers.as_ptr(), strides.as_ptr(), offsets.as_ptr()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11ClassInstance` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:66:91 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn vs_set_shader (&self, vertex_shader: &VertexShader, class_instances: &[Option<&ID3D11ClassInstance>]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `ClassInstance` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 66 | pub fn vs_set_shader (&self, vertex_shader: &VertexShader, class_instances: &[Option<&ClassInstance>]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | impl DeviceContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:69:114 [INFO] [stdout] | [INFO] [stdout] 69 | self.as_ref().VSSetShader(vertex_shader.as_ptr(), class_instances.as_ptr(), class_instances.len() as UINT) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11ClassInstance` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:74:89 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ps_set_shader (&self, pixel_shader: &PixelShader, class_instances: &[Option<&ID3D11ClassInstance>]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- similarly named struct `ClassInstance` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ps_set_shader (&self, pixel_shader: &PixelShader, class_instances: &[Option<&ClassInstance>]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | impl DeviceContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:77:113 [INFO] [stdout] | [INFO] [stdout] 77 | self.as_ref().PSSetShader(pixel_shader.as_ptr(), class_instances.as_ptr(), class_instances.len() as UINT) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn draw (&self, vertex_count: UINT, start_vertex_location: UINT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/d3d11/device_context.rs:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn draw (&self, vertex_count: UINT, start_vertex_location: UINT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SwapChain(*mut IDXGISwapChain); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn present (&self, sync_interval: UINT, flags: UINT) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn present (&self, sync_interval: UINT, flags: UINT) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:12:75 [INFO] [stdout] | [INFO] [stdout] 10 | impl SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 11 | /// MSDN: [IDXGISwapChain::Present](https://docs.microsoft.com/en-us/windows/desktop/api/dxgi/nf-dxgi-idxgiswapchain-present) [INFO] [stdout] 12 | pub fn present (&self, sync_interval: UINT, flags: UINT) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | if SUCCEEDED(result) { Ok(()) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_buffer (&self, buffer: UINT) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 10 | impl SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_buffer (&self, buffer: UINT) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 21 | adapter: Option<&IDXGIAdapter>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | software: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | flags: UINT, // D3D11_CREATE_DEVICE_FLAG [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_DESC` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | swap_chain_desc: &DXGI_SWAP_CHAIN_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 27 | ) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDeviceAndSwapChain` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let hresult = D3D11CreateDeviceAndSwapChain( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | D3D11_SDK_VERSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if SUCCEEDED(hresult) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/macros.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | $(crate::d3d11::InputElementDesc(D3D11_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | static LAYOUT : [d3d11::InputElementDesc; 1] = input_layout! { [INFO] [stdout] | ________________________________________________________- [INFO] [stdout] 54 | | { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, [INFO] [stdout] 55 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32_FLOAT` in this scope [INFO] [stdout] --> src/main.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_INPUT_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/main.rs:54:66 [INFO] [stdout] | [INFO] [stdout] 54 | { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC` in this scope [INFO] [stdout] --> src/main.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | let swap_chain_desc = DXGI_SWAP_CHAIN_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_MODE_DESC` in this scope [INFO] [stdout] --> src/main.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | BufferDesc: DXGI_MODE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | Width: client.width as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | Height: client.height as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_RATIONAL` in this scope [INFO] [stdout] --> src/main.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | RefreshRate: DXGI_RATIONAL { Numerator: 60, Denominator: 1 }, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | Format: DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED` in this scope [INFO] [stdout] --> src/main.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | ScanlineOrdering: DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_MODE_SCALING_CENTERED` in this scope [INFO] [stdout] --> src/main.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | Scaling: DXGI_MODE_SCALING_CENTERED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stdout] --> src/main.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | OutputWindow: window.hwnd() as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_DISCARD` in this scope [INFO] [stdout] --> src/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | SwapEffect: DXGI_SWAP_EFFECT_DISCARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_VIEWPORT` in this scope [INFO] [stdout] --> src/main.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | let vp = D3D11_VIEWPORT { Width: client.width as f32, Height: client.height as f32, MinDepth: 0.0, MaxDepth: 1.0, TopLeftX: 0.0, TopL... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_BUFFER_DESC` in this scope [INFO] [stdout] --> src/main.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | let bd = D3D11_BUFFER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:143:65 [INFO] [stdout] | [INFO] [stdout] 143 | ByteWidth: mem::size_of_val(&verticies) as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_DEFAULT` in this scope [INFO] [stdout] --> src/main.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | Usage: D3D11_USAGE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_BIND_VERTEX_BUFFER` in this scope [INFO] [stdout] --> src/main.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | BindFlags: D3D11_BIND_VERTEX_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D11_SUBRESOURCE_DATA` in this scope [INFO] [stdout] --> src/main.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | let init_data = D3D11_SUBRESOURCE_DATA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:168:124 [INFO] [stdout] | [INFO] [stdout] 168 | device_context.ia_set_vertex_buffers(0, &[vertex_buffer.as_ref()], &[mem::size_of::() as UINT], &[0]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> src/main.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | OutputWindow: window.hwnd() as HWND, [INFO] [stdout] | ^^^^ method not found in `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/com/d3d/blob.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | let mut path : Vec = path.as_ref().as_os_str().encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/com/d3d/blob.rs:26:61 [INFO] [stdout] | [INFO] [stdout] 26 | let mut path : Vec = path.as_ref().as_os_str().encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope [INFO] [stdout] --> src/main.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | OutputWindow: window.hwnd() as HWND, [INFO] [stdout] | ^^^^ method not found in `winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/com/d3d/blob.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | let mut path : Vec = path.as_ref().as_os_str().encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/com/d3d/blob.rs:26:61 [INFO] [stdout] | [INFO] [stdout] 26 | let mut path : Vec = path.as_ref().as_os_str().encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::AsRef` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 231 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_win32_d3d11` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::convert::AsRef` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 231 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "946a88edf4738cd3a7d366c6e42d3c9bbf068122a06451864277045adde5a238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "946a88edf4738cd3a7d366c6e42d3c9bbf068122a06451864277045adde5a238", kill_on_drop: false }` [INFO] [stdout] 946a88edf4738cd3a7d366c6e42d3c9bbf068122a06451864277045adde5a238