[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaulingMonkey%2Frust_win32_sample" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaulingMonkey/rust_win32_sample on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rust-windowing/winit` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusttype v0.7.7 [INFO] [stderr] Downloaded wayland-scanner v0.23.5 [INFO] [stderr] Downloaded wayland-sys v0.23.5 [INFO] [stderr] Downloaded objc_exception v0.1.1 [INFO] [stderr] Downloaded downcast-rs v1.0.4 [INFO] [stderr] Downloaded wayland-commons v0.23.5 [INFO] [stderr] Downloaded objc v0.2.6 [INFO] [stderr] Downloaded metal v0.14.0 [INFO] [stderr] Downloaded wayland-client v0.23.5 [INFO] [stderr] Downloaded syn v0.15.36 [INFO] [stderr] Downloaded wayland-protocols v0.23.5 [INFO] [stderr] Downloaded core-video-sys v0.1.2 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58b8922787c5b53b8f87089b187b55686295043ce1f660d59a0f977aef8aa7f1 [INFO] running `Command { std: "docker" "start" "-a" "58b8922787c5b53b8f87089b187b55686295043ce1f660d59a0f977aef8aa7f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58b8922787c5b53b8f87089b187b55686295043ce1f660d59a0f977aef8aa7f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58b8922787c5b53b8f87089b187b55686295043ce1f660d59a0f977aef8aa7f1", kill_on_drop: false }` [INFO] [stdout] 58b8922787c5b53b8f87089b187b55686295043ce1f660d59a0f977aef8aa7f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d9502cadfab077d215ce147d42aa7fa7130bd0a5ea09009d099bd8431c596b1 [INFO] running `Command { std: "docker" "start" "-a" "3d9502cadfab077d215ce147d42aa7fa7130bd0a5ea09009d099bd8431c596b1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.23.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking lazycell v1.2.1 [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 arrayvec v0.4.10 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling libloading v0.5.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking walkdir v2.2.8 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking wayland-sys v0.23.5 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Compiling wayland-client v0.23.5 [INFO] [stderr] Compiling wayland-protocols v0.23.5 [INFO] [stderr] Checking memmap v0.7.0 [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] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winit-c2fdb27092aba5a7/2e0bbc0/src/platform/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `windows` feature [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] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winit-c2fdb27092aba5a7/2e0bbc0/src/platform/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `windows` feature [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] | ^^^^^ could not find `win32` in the crate root [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/compile.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::win32` [INFO] [stdout] --> src/com/d3d/compile.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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/dxgi/swap_chain.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::win32::*; [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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] | ^^^^^ could not find `win32` in the crate root [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 the macro `com_wrapper` (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 the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:56:68 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:56:68 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (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 the macro `com_wrapper` (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 the macro `com_wrapper` (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 the macro `com_wrapper` (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 the macro `com_wrapper` (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 the macro `com_wrapper` (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 the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (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/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 the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:56:68 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (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/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 the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | crate::win32::OutputDebugStringA(msg.as_ptr() as *const _); [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (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] 12 | pub fn from_file> (path: &P) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl Blob { [INFO] [stdout] | +++++++++ [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] 25 | pub fn write_file> (&self, path: &P, overwrite: bool) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl Blob { [INFO] [stdout] | +++++++++ [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] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 32 | if overwrite { true } else { FALSE } [INFO] [stdout] | ~~~~ [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] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 32 | if overwrite { TRUE } else { false } [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `win32` in the crate root [INFO] [stdout] --> src/macros.rs:56:68 [INFO] [stdout] | [INFO] [stdout] 56 | if crate::win32::IsDebuggerPresent() != 0 { crate::win32::DebugBreak(); } [INFO] [stdout] | ^^^^^ could not find `win32` in the crate root [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: found an item that was configured out [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mod win32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the macro `expect_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [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[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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MagicConstantInclude(*mut ID3DInclude); [INFO] [stdout] | +++++++++++++ [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] 55 | defines: Option<&[D3D_SHADER_MACRO]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn compile ( [INFO] [stdout] | ++++++++++++++++++ [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[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[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[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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | +++++++++++++++++++ [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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | +++++++++++++++++++ [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 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InputElementDesc<'a, D3D11_INPUT_ELEMENT_DESC>(pub(crate) D3D11_INPUT_ELEMENT_DESC, pub(crate) std::marker::PhantomData<&'a str>); [INFO] [stdout] | ++++++++++++++++++++++++++ [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] 19 | pub unsafe fn create_buffer (&self, desc: &D3D11_BUFFER_DESC, initial_data: Option<&D3D11_SUBRESOURCE_DATA>) -> Result Device { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:19:132 [INFO] [stdout] | [INFO] [stdout] 19 | ...Option<&D3D11_SUBRESOURCE_DATA>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [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] 34 | ...rce> (&self, resource: D, desc: Option<&D3D11_RENDER_TARGET_VIEW_DESC>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:34:150 [INFO] [stdout] | [INFO] [stdout] 34 | ...DER_TARGET_VIEW_DESC>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [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] 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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [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[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:65:118 [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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [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[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:81:154 [INFO] [stdout] | [INFO] [stdout] 81 | ...ith_input_signature: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> 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[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 `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] 12 | pub fn from_file> (path: &P) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl Blob { [INFO] [stdout] | +++++++++ [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] 25 | pub fn write_file> (&self, path: &P, overwrite: bool) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl Blob { [INFO] [stdout] | +++++++++ [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] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 32 | if overwrite { true } else { FALSE } [INFO] [stdout] | ~~~~ [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] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 32 | if overwrite { TRUE } else { false } [INFO] [stdout] | ~~~~~ [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[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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MagicConstantInclude(*mut ID3DInclude); [INFO] [stdout] | +++++++++++++ [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] 55 | defines: Option<&[D3D_SHADER_MACRO]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn compile ( [INFO] [stdout] | ++++++++++++++++++ [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[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[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 `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 `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[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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | +++++++++++++++++++ [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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | +++++++++++++++++++ [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 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InputElementDesc<'a, D3D11_INPUT_ELEMENT_DESC>(pub(crate) D3D11_INPUT_ELEMENT_DESC, pub(crate) std::marker::PhantomData<&'a str>); [INFO] [stdout] | ++++++++++++++++++++++++++ [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[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[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[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[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[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[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[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[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[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] 12 | pub fn present (&self, sync_interval: UINT, flags: UINT) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | impl SwapChain { [INFO] [stdout] | +++++++++ [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[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[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_buffer (&self, buffer: UINT) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | impl SwapChain { [INFO] [stdout] | +++++++++ [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[E0412]: cannot find type `IDXGIAdapter` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | adapter: Option<&IDXGIAdapter>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | ++++++++++++++ [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] 23 | software: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | +++++++++ [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[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[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[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/device_and_swap_chain.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | +++++++++ [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 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[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 the macro `input_layout` (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 `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 `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[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[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[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] 19 | pub unsafe fn create_buffer (&self, desc: &D3D11_BUFFER_DESC, initial_data: Option<&D3D11_SUBRESOURCE_DATA>) -> Result Device { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:19:132 [INFO] [stdout] | [INFO] [stdout] 19 | ...Option<&D3D11_SUBRESOURCE_DATA>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [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] 34 | ...rce> (&self, resource: D, desc: Option<&D3D11_RENDER_TARGET_VIEW_DESC>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:34:150 [INFO] [stdout] | [INFO] [stdout] 34 | ...DER_TARGET_VIEW_DESC>) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [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] 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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [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[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:65:118 [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] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [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[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/com/d3d11/device.rs:81:154 [INFO] [stdout] | [INFO] [stdout] 81 | ...ith_input_signature: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Device { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> 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[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[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[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[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[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[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 `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 `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[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[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[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] 12 | pub fn present (&self, sync_interval: UINT, flags: UINT) -> Result<(),HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | impl SwapChain { [INFO] [stdout] | +++++++++ [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] 19 | pub fn get_buffer (&self, buffer: UINT) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | impl SwapChain { [INFO] [stdout] | +++++++++ [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] 21 | adapter: Option<&IDXGIAdapter>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | ++++++++++++++ [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] 23 | software: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | +++++++++ [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] 27 | ) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl DeviceAndSwapChain { [INFO] [stdout] | +++++++++ [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[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 the macro `input_layout` (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]: the method `as_ref` exists for reference `&Blob`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&Blob` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `blob::Blob: AsRef<_>` [INFO] [stdout] which is required by `&blob::Blob: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Blob`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&Blob` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `blob::Blob: AsRef<_>` [INFO] [stdout] which is required by `&blob::Blob: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut Blob`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut Blob` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `blob::Blob: AsRef<_>` [INFO] [stdout] which is required by `&mut blob::Blob: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut Blob`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut Blob` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `blob::Blob: AsRef<_>` [INFO] [stdout] which is required by `&mut blob::Blob: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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[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[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[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[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[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d/blob.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(unsafe { Blob::own(blob) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `blob::Blob: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d/blob.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(unsafe { Blob::own(blob) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `blob::Blob: Sized` [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[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 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[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[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 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[E0308]: mismatched types [INFO] [stdout] --> src/com/d3d/compile.rs:83:43 [INFO] [stdout] | [INFO] [stdout] 83 | entrypoint.map_or(null_mut(), |e| e.as_ptr()), [INFO] [stdout] | ^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut _` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/com/d3d/compile.rs:83:43 [INFO] [stdout] | [INFO] [stdout] 83 | entrypoint.map_or(null_mut(), |e| e.as_ptr()), [INFO] [stdout] | ^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut _` [INFO] [stdout] found raw pointer `*const i8` [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[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[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[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[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d/compile.rs:91:58 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(ShaderAndWarnings { shader: Blob::own(shader).unwrap(), warnings: Blob::own(errors).map_or(None, |e| Some(e)) }) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `blob::Blob: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d/compile.rs:91:58 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(ShaderAndWarnings { shader: Blob::own(shader).unwrap(), warnings: Blob::own(errors).map_or(None, |e| Some(e)) }) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `blob::Blob: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_or` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d/compile.rs:91:96 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(ShaderAndWarnings { shader: Blob::own(shader).unwrap(), warnings: Blob::own(errors).map_or(None, |e| Some(e)) }) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `blob::Blob: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_or` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d/compile.rs:91:96 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(ShaderAndWarnings { shader: Blob::own(shader).unwrap(), warnings: Blob::own(errors).map_or(None, |e| Some(e)) }) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `blob::Blob: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_or` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d/compile.rs:93:66 [INFO] [stdout] | [INFO] [stdout] 93 | Err(ResultAndErrors { hresult, errors: Blob::own(errors).map_or(None, |e| Some(e)) }) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `blob::Blob: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_or` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d/compile.rs:93:66 [INFO] [stdout] | [INFO] [stdout] 93 | Err(ResultAndErrors { hresult, errors: Blob::own(errors).map_or(None, |e| Some(e)) }) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `blob::Blob: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `blob::Blob: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Buffer`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Buffer: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&Buffer` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Buffer: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::Buffer: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut Buffer`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Buffer: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut Buffer` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Buffer: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::Buffer: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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[E0599]: the method `as_ref` exists for reference `&Buffer`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Buffer: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&Buffer` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Buffer: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::Buffer: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Texture2D`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&Texture2D` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::Texture2D: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut Buffer`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Buffer: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut Buffer` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Buffer: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::Buffer: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut Texture2D`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut Texture2D` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::Texture2D: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `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[E0599]: the method `as_ref` exists for reference `&PixelShader`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::PixelShader: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&PixelShader` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::PixelShader: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::PixelShader: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Texture2D`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&Texture2D` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::Texture2D: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut PixelShader`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::PixelShader: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut PixelShader` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::PixelShader: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::PixelShader: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `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[E0599]: the method `as_ref` exists for mutable reference `&mut Texture2D`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut Texture2D` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::Texture2D: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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[E0599]: the method `as_ref` exists for reference `&VertexShader`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::VertexShader: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&VertexShader` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::VertexShader: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::VertexShader: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&PixelShader`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::PixelShader: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&PixelShader` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::PixelShader: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::PixelShader: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut VertexShader`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::VertexShader: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut VertexShader` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::VertexShader: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::VertexShader: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11VertexShader` [INFO] [stdout] --> src/com/d3d11/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VertexShader(*mut ID3D11VertexShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11VertexShader` [INFO] [stdout] | help: a struct with a similar name exists: `VertexShader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut PixelShader`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::PixelShader: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut PixelShader` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::PixelShader: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::PixelShader: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `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[E0599]: the method `as_ref` exists for reference `&InputLayout`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::InputLayout: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&InputLayout` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::InputLayout: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::InputLayout: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&VertexShader`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::VertexShader: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&VertexShader` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::VertexShader: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::VertexShader: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut InputLayout`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::InputLayout: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut InputLayout` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::InputLayout: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::InputLayout: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `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[E0599]: the method `as_ref` exists for mutable reference `&mut VertexShader`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::VertexShader: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut VertexShader` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::VertexShader: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::VertexShader: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11VertexShader` [INFO] [stdout] --> src/com/d3d11/mod.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VertexShader(*mut ID3D11VertexShader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11VertexShader` [INFO] [stdout] | help: a struct with a similar name exists: `VertexShader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&ClassInstance`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `ClassInstance: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&ClassInstance` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `ClassInstance: AsRef<_>` [INFO] [stdout] which is required by `&ClassInstance: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&InputLayout`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::InputLayout: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&InputLayout` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::InputLayout: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::InputLayout: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut ClassInstance`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `ClassInstance: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut ClassInstance` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `ClassInstance: AsRef<_>` [INFO] [stdout] which is required by `&mut ClassInstance: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11ClassInstance` [INFO] [stdout] --> src/com/d3d11/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ClassInstance(*mut ID3D11ClassInstance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11ClassInstance` [INFO] [stdout] | help: a struct with a similar name exists: `ClassInstance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut InputLayout`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::InputLayout: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut InputLayout` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::InputLayout: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::InputLayout: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `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[E0599]: the method `as_ref` exists for reference `&ClassLinkage`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&ClassLinkage` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&ClassInstance`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `ClassInstance: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&ClassInstance` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `ClassInstance: AsRef<_>` [INFO] [stdout] which is required by `&ClassInstance: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut ClassLinkage`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut ClassLinkage` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11ClassLinkage` [INFO] [stdout] --> src/com/d3d11/mod.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClassLinkage(*mut ID3D11ClassLinkage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11ClassLinkage` [INFO] [stdout] | help: a struct with a similar name exists: `ClassLinkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut ClassInstance`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `ClassInstance: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut ClassInstance` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `ClassInstance: AsRef<_>` [INFO] [stdout] which is required by `&mut ClassInstance: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11ClassInstance` [INFO] [stdout] --> src/com/d3d11/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ClassInstance(*mut ID3D11ClassInstance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11ClassInstance` [INFO] [stdout] | help: a struct with a similar name exists: `ClassInstance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&RenderTargetView`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&RenderTargetView` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut RenderTargetView`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut RenderTargetView` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11RenderTargetView` [INFO] [stdout] --> src/com/d3d11/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RenderTargetView(*mut ID3D11RenderTargetView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11RenderTargetView` [INFO] [stdout] | help: a struct with a similar name exists: `RenderTargetView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&ClassLinkage`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&ClassLinkage` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DepthStencilView`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&DepthStencilView` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut ClassLinkage`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut ClassLinkage` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::ClassLinkage: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11ClassLinkage` [INFO] [stdout] --> src/com/d3d11/mod.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ClassLinkage(*mut ID3D11ClassLinkage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11ClassLinkage` [INFO] [stdout] | help: a struct with a similar name exists: `ClassLinkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut DepthStencilView`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut DepthStencilView` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11DepthStencilView` [INFO] [stdout] --> src/com/d3d11/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DepthStencilView(*mut ID3D11DepthStencilView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11DepthStencilView` [INFO] [stdout] | help: a struct with a similar name exists: `DepthStencilView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&RenderTargetView`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&RenderTargetView` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut RenderTargetView`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut RenderTargetView` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::RenderTargetView: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11RenderTargetView` [INFO] [stdout] --> src/com/d3d11/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RenderTargetView(*mut ID3D11RenderTargetView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11RenderTargetView` [INFO] [stdout] | help: a struct with a similar name exists: `RenderTargetView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DepthStencilView`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&DepthStencilView` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut Device` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&mut device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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[E0599]: the method `as_ref` exists for reference `&Texture2D`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:10:102 [INFO] [stdout] | [INFO] [stdout] 10 | ...ut ID3D11Resource { &**self.as_ref() as *const _ as *mut _ } } // XXX [INFO] [stdout] | ^^^^^^ method cannot be called on `&Texture2D` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::Texture2D: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut DepthStencilView`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut DepthStencilView` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] which is required by `&mut d3d11::DepthStencilView: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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 `ID3D11DepthStencilView` [INFO] [stdout] --> src/com/d3d11/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DepthStencilView(*mut ID3D11DepthStencilView); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11DepthStencilView` [INFO] [stdout] | help: a struct with a similar name exists: `DepthStencilView` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | let result = self.as_ref().CreateBuffer( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(Buffer::own(buffer).unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Buffer: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::Buffer: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut Device` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&mut device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let result = unsafe { self.as_ref().CreateRenderTargetView( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Texture2D`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:10:102 [INFO] [stdout] | [INFO] [stdout] 10 | ...ut ID3D11Resource { &**self.as_ref() as *const _ as *mut _ } } // XXX [INFO] [stdout] | ^^^^^^ method cannot be called on `&Texture2D` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `d3d11::Texture2D: AsRef<_>` [INFO] [stdout] which is required by `&d3d11::Texture2D: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:42:54 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(unsafe { RenderTargetView::own(rtv) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::RenderTargetView: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::RenderTargetView: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | let result = self.as_ref().CreateBuffer( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let result = unsafe { self.as_ref().CreateVertexShader( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> 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[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(unsafe { VertexShader::own(vs) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::VertexShader: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::VertexShader: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(Buffer::own(buffer).unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::Buffer: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::Buffer: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | let result = unsafe { self.as_ref().CreatePixelShader( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let result = unsafe { self.as_ref().CreateRenderTargetView( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(unsafe { PixelShader::own(ps) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::PixelShader: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::PixelShader: Sized` [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:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | let result = unsafe { self.as_ref().CreateInputLayout( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:42:54 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(unsafe { RenderTargetView::own(rtv) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::RenderTargetView: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::RenderTargetView: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(unsafe { InputLayout::own(il) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::InputLayout: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::InputLayout: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let result = unsafe { self.as_ref().CreateVertexShader( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [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[E0599]: the method `as_ref` exists for mutable reference `&mut DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut DeviceContext` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&mut device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11DeviceContext` [INFO] [stdout] | help: a struct with a similar name exists: `DeviceContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(unsafe { VertexShader::own(vs) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::VertexShader: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::VertexShader: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | let result = unsafe { self.as_ref().CreatePixelShader( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | self.as_ref().OMSetRenderTargets( [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { self.as_ref().RSSetViewports( [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(unsafe { PixelShader::own(ps) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::PixelShader: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::PixelShader: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&Device`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | let result = unsafe { self.as_ref().CreateInputLayout( [INFO] [stdout] | ^^^^^^ method cannot be called on `&Device` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device::Device: AsRef<_>` [INFO] [stdout] which is required by `&device::Device: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(unsafe { InputLayout::own(il) }.unwrap()) [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `d3d11::InputLayout: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `d3d11::InputLayout: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { self.as_ref().ClearRenderTargetView( [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe { self.as_ref().IASetInputLayout(input_layout.as_ptr()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut DeviceContext` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&mut device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ID3D11DeviceContext` [INFO] [stdout] | help: a struct with a similar name exists: `DeviceContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { self.as_ref().IASetPrimitiveTopology(topology.raw()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | self.as_ref().OMSetRenderTargets( [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { self.as_ref().RSSetViewports( [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { self.as_ref().ClearRenderTargetView( [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe { self.as_ref().IASetInputLayout(input_layout.as_ptr()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:61:18 [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] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { self.as_ref().IASetPrimitiveTopology(topology.raw()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | self.as_ref().VSSetShader(vertex_shader.as_ptr(), class_instances.as_ptr(), class_instances.len() as UINT) [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | self.as_ref().PSSetShader(pixel_shader.as_ptr(), class_instances.as_ptr(), class_instances.len() as UINT) [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:61:18 [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] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { self.as_ref().Draw(vertex_count, start_vertex_location) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&SwapChain`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&SwapChain` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] which is required by `&swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut SwapChain`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut SwapChain` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] which is required by `&mut swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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[E0599]: the method `as_ref` exists for reference `&SwapChain`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | let result = unsafe { self.as_ref().Present(sync_interval, flags) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&SwapChain` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] which is required by `&swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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[E0599]: the method `as_ref` exists for reference `&SwapChain`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | let result = unsafe { self.as_ref().GetBuffer(buffer, &T::uuidof(), &mut surface) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&SwapChain` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] which is required by `&swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | self.as_ref().VSSetShader(vertex_shader.as_ptr(), class_instances.as_ptr(), class_instances.len() as UINT) [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | self.as_ref().PSSetShader(pixel_shader.as_ptr(), class_instances.as_ptr(), class_instances.len() as UINT) [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&DeviceContext`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/d3d11/device_context.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { self.as_ref().Draw(vertex_count, start_vertex_location) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&DeviceContext` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `device_context::DeviceContext: AsRef<_>` [INFO] [stdout] which is required by `&device_context::DeviceContext: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ptr` exists for reference `&[FeatureLevel]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | feature_levels.map_or(null(), |s| s.as_ptr() as *const _), [INFO] [stdout] | ^^^^^^ method cannot be called on `&[FeatureLevel]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/feature_level.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | ----------------------- doesn't satisfy `feature_level::FeatureLevel: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `feature_level::FeatureLevel: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `com::Wrapper` defines an item `as_ptr`, perhaps you need to implement it [INFO] [stdout] --> src/com/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Wrapper : Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&SwapChain`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 38 | fn clone (&self) -> Self { unsafe { self.as_ref().AddRef() }; Self(self.0) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&SwapChain` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] which is required by `&swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for reference `&[FeatureLevel]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:38:49 [INFO] [stdout] | [INFO] [stdout] 38 | feature_levels.map_or(0, |s| s.len() as u32), [INFO] [stdout] | ^^^ method cannot be called on `&[FeatureLevel]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/feature_level.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | ----------------------- doesn't satisfy `feature_level::FeatureLevel: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `feature_level::FeatureLevel: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for mutable reference `&mut SwapChain`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/mod.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 42 | fn drop (&mut self) { unsafe { self.as_ref().Release() }; } [INFO] [stdout] | ^^^^^^ method cannot be called on `&mut SwapChain` due to unsatisfied trait bounds [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: the following trait bounds were not satisfied: [INFO] [stdout] `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] which is required by `&mut swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `com_wrapper` (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[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 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[E0599]: the method `as_ref` exists for reference `&SwapChain`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | let result = unsafe { self.as_ref().Present(sync_interval, flags) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&SwapChain` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] which is required by `&swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:49:60 [INFO] [stdout] | [INFO] [stdout] 49 | swap_chain: SwapChain::own(swap_chain).unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `swap_chain::SwapChain: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:50:53 [INFO] [stdout] | [INFO] [stdout] 50 | device: Device::own(device).unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `device::Device: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&SwapChain`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/dxgi/swap_chain.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | let result = unsafe { self.as_ref().GetBuffer(buffer, &T::uuidof(), &mut surface) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&SwapChain` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] which is required by `&swap_chain::SwapChain: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [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[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:51:68 [INFO] [stdout] | [INFO] [stdout] 51 | device_context: DeviceContext::own(device_context).unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `device_context::DeviceContext: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ptr` exists for reference `&[FeatureLevel]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | feature_levels.map_or(null(), |s| s.as_ptr() as *const _), [INFO] [stdout] | ^^^^^^ method cannot be called on `&[FeatureLevel]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/feature_level.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | ----------------------- doesn't satisfy `feature_level::FeatureLevel: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `feature_level::FeatureLevel: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `com::Wrapper` defines an item `as_ptr`, perhaps you need to implement it [INFO] [stdout] --> src/com/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Wrapper : Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for reference `&[FeatureLevel]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:38:49 [INFO] [stdout] | [INFO] [stdout] 38 | feature_levels.map_or(0, |s| s.len() as u32), [INFO] [stdout] | ^^^ method cannot be called on `&[FeatureLevel]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/d3d11/feature_level.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FeatureLevel(pub(crate) D3D_FEATURE_LEVEL); [INFO] [stdout] | ----------------------- doesn't satisfy `feature_level::FeatureLevel: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `feature_level::FeatureLevel: Sized` [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 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[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:49:60 [INFO] [stdout] | [INFO] [stdout] 49 | swap_chain: SwapChain::own(swap_chain).unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `swap_chain::SwapChain: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `swap_chain::SwapChain: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:50:53 [INFO] [stdout] | [INFO] [stdout] 50 | device: Device::own(device).unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device::Device: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `device::Device: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option`, but its trait bounds were not satisfied [INFO] [stdout] --> src/com/device_and_swap_chain.rs:51:68 [INFO] [stdout] | [INFO] [stdout] 51 | device_context: DeviceContext::own(device_context).unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/com/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct $wrapper(*mut $target); [INFO] [stdout] | ---------------------------------- doesn't satisfy `device_context::DeviceContext: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `device_context::DeviceContext: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 292 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_win32_d3d11` (bin "rust_win32_d3d11" test) due to 293 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 292 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_win32_d3d11` (bin "rust_win32_d3d11") due to 293 previous errors [INFO] running `Command { std: "docker" "inspect" "3d9502cadfab077d215ce147d42aa7fa7130bd0a5ea09009d099bd8431c596b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9502cadfab077d215ce147d42aa7fa7130bd0a5ea09009d099bd8431c596b1", kill_on_drop: false }` [INFO] [stdout] 3d9502cadfab077d215ce147d42aa7fa7130bd0a5ea09009d099bd8431c596b1 [INFO] checking MaulingMonkey/rust_win32_sample against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaulingMonkey%2Frust_win32_sample" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaulingMonkey/rust_win32_sample on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84c090640c98529df51af46138c8d27e669cad28da3a771b91b18a62fff1274a [INFO] running `Command { std: "docker" "start" "-a" "84c090640c98529df51af46138c8d27e669cad28da3a771b91b18a62fff1274a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84c090640c98529df51af46138c8d27e669cad28da3a771b91b18a62fff1274a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c090640c98529df51af46138c8d27e669cad28da3a771b91b18a62fff1274a", kill_on_drop: false }` [INFO] [stdout] 84c090640c98529df51af46138c8d27e669cad28da3a771b91b18a62fff1274a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ceab1fe34228914f11912bf1267e03c962bf3cd0035a6c2a0a3670c2a3f5bf2d [INFO] running `Command { std: "docker" "start" "-a" "ceab1fe34228914f11912bf1267e03c962bf3cd0035a6c2a0a3670c2a3f5bf2d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "ceab1fe34228914f11912bf1267e03c962bf3cd0035a6c2a0a3670c2a3f5bf2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceab1fe34228914f11912bf1267e03c962bf3cd0035a6c2a0a3670c2a3f5bf2d", kill_on_drop: false }` [INFO] [stdout] ceab1fe34228914f11912bf1267e03c962bf3cd0035a6c2a0a3670c2a3f5bf2d