[INFO] updating cached repository https://github.com/red75prime/rusty-com-port [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c314313e43a80620c3966439472a300f76b5a679 [INFO] checking red75prime/rusty-com-port against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fred75prime%2Frusty-com-port" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/red75prime/rusty-com-port on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/red75prime/rusty-com-port [INFO] finished tweaking git repo https://github.com/red75prime/rusty-com-port [INFO] tweaked toml for git repo https://github.com/red75prime/rusty-com-port written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/red75prime/rusty-com-port already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ef187c6c6197a38afd0056c1f470614be7428be6fbccc3da875934bca73b731d [INFO] running `"docker" "start" "-a" "ef187c6c6197a38afd0056c1f470614be7428be6fbccc3da875934bca73b731d"` [INFO] [stderr] Checking winapi v0.2.7 (https://github.com/red75prime/winapi-rs?branch=D2D1_IIDs#e73d620f) [INFO] [stderr] Checking dxguid-sys v0.2.0 (https://github.com/red75prime/winapi-rs?branch=D2D1_IIDs#e73d620f) [INFO] [stderr] Checking dxsafe v0.5.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0469]: imported macro not found [INFO] [stderr] --> src/lib.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use(DEFINE_GUID)] extern crate winapi; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/utils.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | pub use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::HRESULT`, `winapi::REFGUID`, `winapi::c_void` [INFO] [stderr] --> src/iid.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::{HRESULT,REFGUID,c_void}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ ^^^^^^ no `c_void` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `REFGUID` in the root [INFO] [stderr] | no `HRESULT` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::IID` [INFO] [stderr] --> src/iid.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::IID; [INFO] [stderr] | ^^^^^^^^^^^ no `IID` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::IUnknown` [INFO] [stderr] --> src/iid.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::IUnknown; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `IUnknown` in the root [INFO] [stderr] [INFO] [stderr] error[E0469]: imported macro not found [INFO] [stderr] --> src/lib.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use(DEFINE_GUID)] extern crate winapi; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/utils.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | pub use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::HRESULT`, `winapi::REFGUID`, `winapi::c_void` [INFO] [stderr] --> src/iid.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::{HRESULT,REFGUID,c_void}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ ^^^^^^ no `c_void` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `REFGUID` in the root [INFO] [stderr] | no `HRESULT` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::IID` [INFO] [stderr] --> src/iid.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::IID; [INFO] [stderr] | ^^^^^^^^^^^ no `IID` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::IUnknown` [INFO] [stderr] --> src/iid.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::IUnknown; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `IUnknown` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/utils.rs:72:23 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn hr2ret(hr : HRESULT, res:T) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/utils.rs:73:6 [INFO] [stderr] | [INFO] [stderr] 73 | if SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:9:72 [INFO] [stderr] | [INFO] [stderr] 9 | fn draw_glyph_run(&self, baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, renderingParams: &T, textColor: COLORREF, blackBoxRect: Option<&mut RECT>) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:9:96 [INFO] [stderr] | [INFO] [stderr] 9 | fn draw_glyph_run(&self, baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, renderingParams: &T, textColor: COLORREF, blackBoxRect: Option<&mut RECT>) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MEASURING_MODE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:9:118 [INFO] [stderr] | [INFO] [stderr] 9 | fn draw_glyph_run(&self, baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, renderingParams: &T, textColor: COLORREF, blackBoxRect: Option<&mut RECT>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_GLYPH_RUN` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:9:152 [INFO] [stderr] | [INFO] [stderr] 9 | fn draw_glyph_run(&self, baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, renderingParams: &T, textColor: COLORREF, blackBoxRect: Option<&mut RECT>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:9:202 [INFO] [stderr] | [INFO] [stderr] 9 | fn draw_glyph_run(&self, baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, renderingParams: &T, textColor: COLORREF, blackBoxRect: Option<&mut RECT>) -> HResult { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:9:238 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait TDWriteBitmapRenderTarget: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 9 | fn draw_glyph_run(&self, baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, renderingParams: &T, textColor: COLORREF, blackBoxRect: Option<&mut RECT>) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:9:256 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait TDWriteBitmapRenderTarget: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 9 | fn draw_glyph_run(&self, baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, renderingParams: &T, textColor: COLORREF, blackBoxRect: Option<&mut RECT>) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:11:45 [INFO] [stderr] | [INFO] [stderr] 11 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteBitmapRenderTarget)).DrawGlyphRun(baselineOriginX, baselineOriginY, measuringMode, glyphRun, renderingParams.iptr() as *mut _ as *mut _ , textColor, opt_as_mut_ptr(&blackBoxRect)) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] ... [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | fn get_memory_dc(&self) -> HDC { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:20:45 [INFO] [stderr] | [INFO] [stderr] 20 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteBitmapRenderTarget)).GetMemoryDC() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] ... [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:27:35 [INFO] [stderr] | [INFO] [stderr] 27 | fn get_pixels_per_dip(&self) -> FLOAT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:29:45 [INFO] [stderr] | [INFO] [stderr] 29 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteBitmapRenderTarget)).GetPixelsPerDip() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] ... [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:36:46 [INFO] [stderr] | [INFO] [stderr] 36 | fn set_pixels_per_dip(&self, pixelsPerDip: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:36:64 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait TDWriteBitmapRenderTarget: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 36 | fn set_pixels_per_dip(&self, pixelsPerDip: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:38:45 [INFO] [stderr] | [INFO] [stderr] 38 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteBitmapRenderTarget)).SetPixelsPerDip(pixelsPerDip) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] ... [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MATRIX` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:45:46 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait TDWriteBitmapRenderTarget: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 45 | fn get_current_transform(&self) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MATRIX` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | let mut lv1: DWRITE_MATRIX = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:47:45 [INFO] [stderr] | [INFO] [stderr] 47 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteBitmapRenderTarget)).GetCurrentTransform(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] ... [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MATRIX` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:54:47 [INFO] [stderr] | [INFO] [stderr] 54 | fn set_current_transform(&self, transform: &DWRITE_MATRIX) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:54:73 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait TDWriteBitmapRenderTarget: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 54 | fn set_current_transform(&self, transform: &DWRITE_MATRIX) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:56:45 [INFO] [stderr] | [INFO] [stderr] 56 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteBitmapRenderTarget)).SetCurrentTransform(transform) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] ... [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SIZE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:63:33 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait TDWriteBitmapRenderTarget: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 63 | fn get_size(&self) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SIZE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:64:18 [INFO] [stderr] | [INFO] [stderr] 64 | let mut lv1: SIZE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:65:45 [INFO] [stderr] | [INFO] [stderr] 65 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteBitmapRenderTarget)).GetSize(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] ... [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:72:27 [INFO] [stderr] | [INFO] [stderr] 72 | fn resize(&self, width: UINT32, height: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:72:43 [INFO] [stderr] | [INFO] [stderr] 72 | fn resize(&self, width: UINT32, height: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:72:62 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait TDWriteBitmapRenderTarget: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 72 | fn resize(&self, width: UINT32, height: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:74:45 [INFO] [stderr] | [INFO] [stderr] 74 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteBitmapRenderTarget)).Resize(width, height) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] ... [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:82:20 [INFO] [stderr] | [INFO] [stderr] 82 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:85:26 [INFO] [stderr] | [INFO] [stderr] 85 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:97:42 [INFO] [stderr] | [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] | similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:100:15 [INFO] [stderr] | [INFO] [stderr] 100 | fn iid() -> REFGUID { &IID_IDWriteBitmapRenderTarget } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:100:26 [INFO] [stderr] | [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named tuple struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] ... [INFO] [stderr] 100 | fn iid() -> REFGUID { &IID_IDWriteBitmapRenderTarget } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:107:57 [INFO] [stderr] | [INFO] [stderr] 107 | fn get_system_font_collection(&self, checkForUpdates: BOOL) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:108:23 [INFO] [stderr] | [INFO] [stderr] 108 | let mut lv1: *mut IDWriteFontCollection = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] ... [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:109:45 [INFO] [stderr] | [INFO] [stderr] 109 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).GetSystemFontCollection(&mut lv1 as *mut *mut _, checkForUpdates) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:117:23 [INFO] [stderr] | [INFO] [stderr] 117 | let mut lv1: *mut IDWriteFontCollection = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] ... [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:118:45 [INFO] [stderr] | [INFO] [stderr] 118 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateCustomFontCollection(collectionLoader.iptr() as *mut _ as *mut _ , collectionKey as *const _ as *const _, mem::size_of_val(collectionKey) as UINT32, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:118:209 [INFO] [stderr] | [INFO] [stderr] 118 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateCustomFontCollection(collectionLoader.iptr() as *mut _ as *mut _ , collectionKey as *const _ as *const _, mem::size_of_val(collectionKey) as UINT32, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:125:114 [INFO] [stderr] | [INFO] [stderr] 103 | pub trait TDWriteFactory: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 125 | fn register_font_collection_loader(&self, fontCollectionLoader: &T) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:127:45 [INFO] [stderr] | [INFO] [stderr] 127 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).RegisterFontCollectionLoader(fontCollectionLoader.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:134:116 [INFO] [stderr] | [INFO] [stderr] 103 | pub trait TDWriteFactory: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 134 | fn unregister_font_collection_loader(&self, fontCollectionLoader: &T) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:136:45 [INFO] [stderr] | [INFO] [stderr] 136 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).UnregisterFontCollectionLoader(fontCollectionLoader.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FILETIME` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:143:91 [INFO] [stderr] | [INFO] [stderr] 103 | pub trait TDWriteFactory: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 143 | fn create_font_file_reference>(&self, filePath: T, lastWriteTime: Option<&FILETIME>) -> HResult { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFile` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:145:23 [INFO] [stderr] | [INFO] [stderr] 145 | let mut lv2: *mut IDWriteFontFile = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFile` [INFO] [stderr] ... [INFO] [stderr] 728 | pub struct DWriteFontFile(*mut IDWriteFontFile); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFile` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:146:45 [INFO] [stderr] | [INFO] [stderr] 146 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateFontFileReference(lv1.as_ptr() as LPCWSTR, lastWriteTime.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), &mut lv2 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:146:102 [INFO] [stderr] | [INFO] [stderr] 146 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateFontFileReference(lv1.as_ptr() as LPCWSTR, lastWriteTime.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), &mut lv2 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFile` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:154:23 [INFO] [stderr] | [INFO] [stderr] 154 | let mut lv1: *mut IDWriteFontFile = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFile` [INFO] [stderr] ... [INFO] [stderr] 728 | pub struct DWriteFontFile(*mut IDWriteFontFile); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFile` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:155:45 [INFO] [stderr] | [INFO] [stderr] 155 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateCustomFontFileReference(fontFileReferenceKey as *const _ as *const _, mem::size_of_val(fontFileReferenceKey) as UINT32, fontFileLoader.iptr() as *mut _ as *mut _ , &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:155:180 [INFO] [stderr] | [INFO] [stderr] 155 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateCustomFontFileReference(fontFileReferenceKey as *const _ as *const _, mem::size_of_val(fontFileReferenceKey) as UINT32, fontFileLoader.iptr() as *mut _ as *mut _ , &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_FACE_TYPE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:162:64 [INFO] [stderr] | [INFO] [stderr] 162 | fn create_font_face(&self, fontFaceType: DWRITE_FONT_FACE_TYPE, fontFiles: &[&T], faceIndex: UINT32, fontFaceSimulationFlags: DWRITE_FONT_SIMULATIONS) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:162:116 [INFO] [stderr] | [INFO] [stderr] 162 | fn create_font_face(&self, fontFaceType: DWRITE_FONT_FACE_TYPE, fontFiles: &[&T], faceIndex: UINT32, fontFaceSimulationFlags: DWRITE_FONT_SIMULATIONS) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_SIMULATIONS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:162:149 [INFO] [stderr] | [INFO] [stderr] 162 | fn create_font_face(&self, fontFaceType: DWRITE_FONT_FACE_TYPE, fontFiles: &[&T], faceIndex: UINT32, fontFaceSimulationFlags: DWRITE_FONT_SIMULATIONS) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:163:27 [INFO] [stderr] | [INFO] [stderr] 163 | let mut lv1: Vec<*mut IUnknown> = fontFiles.iter().map(|o|o.iptr()).collect(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 163 | let mut lv1: Vec<*mut TUnknown> = fontFiles.iter().map(|o|o.iptr()).collect(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 103 | pub trait TDWriteFactory: TUnknown { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:164:23 [INFO] [stderr] | [INFO] [stderr] 164 | let mut lv2: *mut IDWriteFontFace = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:165:45 [INFO] [stderr] | [INFO] [stderr] 165 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateFontFace(fontFaceType, fontFiles.len() as UINT32, lv1.as_mut_ptr() as *mut *mut _ as *mut *mut _, faceIndex, fontFaceSimulationFlags, &mut lv2 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:165:110 [INFO] [stderr] | [INFO] [stderr] 165 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateFontFace(fontFaceType, fontFiles.len() as UINT32, lv1.as_mut_ptr() as *mut *mut _ as *mut *mut _, faceIndex, fontFaceSimulationFlags, &mut lv2 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:173:23 [INFO] [stderr] | [INFO] [stderr] 173 | let mut lv1: *mut IDWriteRenderingParams = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] ... [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | -------------------------------------------------------------- similarly named struct `DWriteRenderingParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:174:45 [INFO] [stderr] | [INFO] [stderr] 174 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateRenderingParams(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:181:54 [INFO] [stderr] | [INFO] [stderr] 181 | fn create_monitor_rendering_params(&self, monitor: HMONITOR) -> HResult { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:182:23 [INFO] [stderr] | [INFO] [stderr] 182 | let mut lv1: *mut IDWriteRenderingParams = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] ... [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | -------------------------------------------------------------- similarly named struct `DWriteRenderingParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:183:45 [INFO] [stderr] | [INFO] [stderr] 183 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateMonitorRenderingParams(monitor, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:190:51 [INFO] [stderr] | [INFO] [stderr] 190 | fn create_custom_rendering_params(&self, gamma: FLOAT, enhancedContrast: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:190:76 [INFO] [stderr] | [INFO] [stderr] 190 | fn create_custom_rendering_params(&self, gamma: FLOAT, enhancedContrast: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:190:99 [INFO] [stderr] | [INFO] [stderr] 190 | fn create_custom_rendering_params(&self, gamma: FLOAT, enhancedContrast: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_PIXEL_GEOMETRY` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:190:121 [INFO] [stderr] | [INFO] [stderr] 190 | fn create_custom_rendering_params(&self, gamma: FLOAT, enhancedContrast: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_RENDERING_MODE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:190:159 [INFO] [stderr] | [INFO] [stderr] 190 | fn create_custom_rendering_params(&self, gamma: FLOAT, enhancedContrast: FLOAT, clearTypeLevel: FLOAT, pixelGeometry: DWRITE_PIXEL_GEOMETRY, renderingMode: DWRITE_RENDERING_MODE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:191:23 [INFO] [stderr] | [INFO] [stderr] 191 | let mut lv1: *mut IDWriteRenderingParams = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] ... [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | -------------------------------------------------------------- similarly named struct `DWriteRenderingParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:192:45 [INFO] [stderr] | [INFO] [stderr] 192 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateCustomRenderingParams(gamma, enhancedContrast, clearTypeLevel, pixelGeometry, renderingMode, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:199:96 [INFO] [stderr] | [INFO] [stderr] 103 | pub trait TDWriteFactory: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 199 | fn register_font_file_loader(&self, fontFileLoader: &T) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:201:45 [INFO] [stderr] | [INFO] [stderr] 201 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).RegisterFontFileLoader(fontFileLoader.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:208:98 [INFO] [stderr] | [INFO] [stderr] 103 | pub trait TDWriteFactory: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 208 | fn unregister_font_file_loader(&self, fontFileLoader: &T) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:210:45 [INFO] [stderr] | [INFO] [stderr] 210 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).UnregisterFontFileLoader(fontFileLoader.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:217:141 [INFO] [stderr] | [INFO] [stderr] 217 | fn create_text_format, T1: AsRef>(&self, fontFamilyName: T, fontCollection: Option<&DWriteFontCollection>, fontWeight: DWRITE_FONT_WEIGHT, fontStyle: DWRITE_FONT_STYLE, fontStretch: DWRITE_FONT_STRETCH, fontSize: FLOAT, localeName: T1) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:217:172 [INFO] [stderr] | [INFO] [stderr] 217 | fn create_text_format, T1: AsRef>(&self, fontFamilyName: T, fontCollection: Option<&DWriteFontCollection>, fontWeight: DWRITE_FONT_WEIGHT, fontStyle: DWRITE_FONT_STYLE, fontStretch: DWRITE_FONT_STRETCH, fontSize: FLOAT, localeName: T1) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:217:204 [INFO] [stderr] | [INFO] [stderr] 217 | fn create_text_format, T1: AsRef>(&self, fontFamilyName: T, fontCollection: Option<&DWriteFontCollection>, fontWeight: DWRITE_FONT_WEIGHT, fontStyle: DWRITE_FONT_STYLE, fontStretch: DWRITE_FONT_STRETCH, fontSize: FLOAT, localeName: T1) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:217:235 [INFO] [stderr] | [INFO] [stderr] 217 | fn create_text_format, T1: AsRef>(&self, fontFamilyName: T, fontCollection: Option<&DWriteFontCollection>, fontWeight: DWRITE_FONT_WEIGHT, fontStyle: DWRITE_FONT_STYLE, fontStretch: DWRITE_FONT_STRETCH, fontSize: FLOAT, localeName: T1) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:220:23 [INFO] [stderr] | [INFO] [stderr] 220 | let mut lv3: *mut IDWriteTextFormat = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:221:45 [INFO] [stderr] | [INFO] [stderr] 221 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateTextFormat(lv1.as_ptr() as LPCWSTR, fontCollection.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, fontWeight, fontStyle, fontStretch, fontSize, lv2.as_ptr() as LPCWSTR, &mut lv3 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:221:95 [INFO] [stderr] | [INFO] [stderr] 221 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateTextFormat(lv1.as_ptr() as LPCWSTR, fontCollection.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, fontWeight, fontStyle, fontStretch, fontSize, lv2.as_ptr() as LPCWSTR, &mut lv3 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:221:246 [INFO] [stderr] | [INFO] [stderr] 221 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateTextFormat(lv1.as_ptr() as LPCWSTR, fontCollection.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, fontWeight, fontStyle, fontStretch, fontSize, lv2.as_ptr() as LPCWSTR, &mut lv3 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:229:23 [INFO] [stderr] | [INFO] [stderr] 229 | let mut lv1: *mut IDWriteTypography = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTypography` [INFO] [stderr] ... [INFO] [stderr] 2214 | pub struct DWriteTypography(*mut IDWriteTypography); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTypography` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:230:45 [INFO] [stderr] | [INFO] [stderr] 230 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateTypography(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGdiInterop` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:238:23 [INFO] [stderr] | [INFO] [stderr] 238 | let mut lv1: *mut IDWriteGdiInterop = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGdiInterop` [INFO] [stderr] ... [INFO] [stderr] 979 | pub struct DWriteGdiInterop(*mut IDWriteGdiInterop); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteGdiInterop` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:239:45 [INFO] [stderr] | [INFO] [stderr] 239 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).GetGdiInterop(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:246:64 [INFO] [stderr] | [INFO] [stderr] 246 | fn create_text_layout(&self, string: &[WCHAR], textFormat: &T, maxWidth: FLOAT, maxHeight: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:246:98 [INFO] [stderr] | [INFO] [stderr] 246 | fn create_text_layout(&self, string: &[WCHAR], textFormat: &T, maxWidth: FLOAT, maxHeight: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:246:116 [INFO] [stderr] | [INFO] [stderr] 246 | fn create_text_layout(&self, string: &[WCHAR], textFormat: &T, maxWidth: FLOAT, maxHeight: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:247:23 [INFO] [stderr] | [INFO] [stderr] 247 | let mut lv1: *mut IDWriteTextLayout = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:248:45 [INFO] [stderr] | [INFO] [stderr] 248 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateTextLayout(slice_as_ptr(string), string.len() as UINT32, textFormat.iptr() as *mut _ as *mut _ , maxWidth, maxHeight, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:248:117 [INFO] [stderr] | [INFO] [stderr] 248 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateTextLayout(slice_as_ptr(string), string.len() as UINT32, textFormat.iptr() as *mut _ as *mut _ , maxWidth, maxHeight, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:255:79 [INFO] [stderr] | [INFO] [stderr] 255 | fn create_gdi_compatible_text_layout(&self, string: &[WCHAR], textFormat: &T, layoutWidth: FLOAT, layoutHeight: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:255:116 [INFO] [stderr] | [INFO] [stderr] 255 | fn create_gdi_compatible_text_layout(&self, string: &[WCHAR], textFormat: &T, layoutWidth: FLOAT, layoutHeight: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:255:137 [INFO] [stderr] | [INFO] [stderr] 255 | fn create_gdi_compatible_text_layout(&self, string: &[WCHAR], textFormat: &T, layoutWidth: FLOAT, layoutHeight: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:255:158 [INFO] [stderr] | [INFO] [stderr] 255 | fn create_gdi_compatible_text_layout(&self, string: &[WCHAR], textFormat: &T, layoutWidth: FLOAT, layoutHeight: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MATRIX` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:255:184 [INFO] [stderr] | [INFO] [stderr] 103 | pub trait TDWriteFactory: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 255 | fn create_gdi_compatible_text_layout(&self, string: &[WCHAR], textFormat: &T, layoutWidth: FLOAT, layoutHeight: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:255:215 [INFO] [stderr] | [INFO] [stderr] 255 | fn create_gdi_compatible_text_layout(&self, string: &[WCHAR], textFormat: &T, layoutWidth: FLOAT, layoutHeight: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:256:23 [INFO] [stderr] | [INFO] [stderr] 256 | let mut lv1: *mut IDWriteTextLayout = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:257:45 [INFO] [stderr] | [INFO] [stderr] 257 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateGdiCompatibleTextLayout(slice_as_ptr(string), string.len() as UINT32, textFormat.iptr() as *mut _ as *mut _ , layoutWidth, layoutHeight, pixelsPerDip, transform.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), useGdiNatural, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:257:130 [INFO] [stderr] | [INFO] [stderr] 257 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateGdiCompatibleTextLayout(slice_as_ptr(string), string.len() as UINT32, textFormat.iptr() as *mut _ as *mut _ , layoutWidth, layoutHeight, pixelsPerDip, transform.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), useGdiNatural, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteInlineObject` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:265:23 [INFO] [stderr] | [INFO] [stderr] 265 | let mut lv1: *mut IDWriteInlineObject = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteInlineObject` [INFO] [stderr] ... [INFO] [stderr] 1098 | pub struct DWriteInlineObject(*mut IDWriteInlineObject); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteInlineObject` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:266:45 [INFO] [stderr] | [INFO] [stderr] 266 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateEllipsisTrimmingSign(textFormat.iptr() as *mut _ as *mut _ , &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalyzer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:274:23 [INFO] [stderr] | [INFO] [stderr] 274 | let mut lv1: *mut IDWriteTextAnalyzer = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextAnalyzer` [INFO] [stderr] ... [INFO] [stderr] 1452 | pub struct DWriteTextAnalyzer(*mut IDWriteTextAnalyzer); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteTextAnalyzer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:275:45 [INFO] [stderr] | [INFO] [stderr] 275 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateTextAnalyzer(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_NUMBER_SUBSTITUTION_METHOD` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:282:75 [INFO] [stderr] | [INFO] [stderr] 282 | fn create_number_substitution>(&self, substitutionMethod: DWRITE_NUMBER_SUBSTITUTION_METHOD, localeName: T, ignoreUserOverride: BOOL) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:282:145 [INFO] [stderr] | [INFO] [stderr] 282 | fn create_number_substitution>(&self, substitutionMethod: DWRITE_NUMBER_SUBSTITUTION_METHOD, localeName: T, ignoreUserOverride: BOOL) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteNumberSubstitution` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:284:23 [INFO] [stderr] | [INFO] [stderr] 284 | let mut lv2: *mut IDWriteNumberSubstitution = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteNumberSubstitution` [INFO] [stderr] ... [INFO] [stderr] 1260 | pub struct DWriteNumberSubstitution(*mut IDWriteNumberSubstitution); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteNumberSubstitution` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:285:45 [INFO] [stderr] | [INFO] [stderr] 285 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateNumberSubstitution(substitutionMethod, lv1.as_ptr() as LPCWSTR, ignoreUserOverride, &mut lv2 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:285:123 [INFO] [stderr] | [INFO] [stderr] 285 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateNumberSubstitution(substitutionMethod, lv1.as_ptr() as LPCWSTR, ignoreUserOverride, &mut lv2 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_GLYPH_RUN` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:292:50 [INFO] [stderr] | [INFO] [stderr] 292 | fn create_glyph_run_analysis(&self, glyphRun: &DWRITE_GLYPH_RUN, pixelsPerDip: FLOAT, transform: &DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE, measuringMode: DWRITE_MEASURING_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:292:82 [INFO] [stderr] | [INFO] [stderr] 292 | fn create_glyph_run_analysis(&self, glyphRun: &DWRITE_GLYPH_RUN, pixelsPerDip: FLOAT, transform: &DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE, measuringMode: DWRITE_MEASURING_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MATRIX` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:292:101 [INFO] [stderr] | [INFO] [stderr] 292 | fn create_glyph_run_analysis(&self, glyphRun: &DWRITE_GLYPH_RUN, pixelsPerDip: FLOAT, transform: &DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE, measuringMode: DWRITE_MEASURING_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_RENDERING_MODE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:292:131 [INFO] [stderr] | [INFO] [stderr] 292 | fn create_glyph_run_analysis(&self, glyphRun: &DWRITE_GLYPH_RUN, pixelsPerDip: FLOAT, transform: &DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE, measuringMode: DWRITE_MEASURING_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MEASURING_MODE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:292:169 [INFO] [stderr] | [INFO] [stderr] 292 | fn create_glyph_run_analysis(&self, glyphRun: &DWRITE_GLYPH_RUN, pixelsPerDip: FLOAT, transform: &DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE, measuringMode: DWRITE_MEASURING_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:292:209 [INFO] [stderr] | [INFO] [stderr] 292 | fn create_glyph_run_analysis(&self, glyphRun: &DWRITE_GLYPH_RUN, pixelsPerDip: FLOAT, transform: &DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE, measuringMode: DWRITE_MEASURING_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:292:233 [INFO] [stderr] | [INFO] [stderr] 292 | fn create_glyph_run_analysis(&self, glyphRun: &DWRITE_GLYPH_RUN, pixelsPerDip: FLOAT, transform: &DWRITE_MATRIX, renderingMode: DWRITE_RENDERING_MODE, measuringMode: DWRITE_MEASURING_MODE, baselineOriginX: FLOAT, baselineOriginY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGlyphRunAnalysis` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:293:23 [INFO] [stderr] | [INFO] [stderr] 293 | let mut lv1: *mut IDWriteGlyphRunAnalysis = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGlyphRunAnalysis` [INFO] [stderr] ... [INFO] [stderr] 1034 | pub struct DWriteGlyphRunAnalysis(*mut IDWriteGlyphRunAnalysis); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteGlyphRunAnalysis` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:294:45 [INFO] [stderr] | [INFO] [stderr] 294 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFactory)).CreateGlyphRunAnalysis(glyphRun, pixelsPerDip, transform, renderingMode, measuringMode, baselineOriginX, baselineOriginY, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] ... [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:302:20 [INFO] [stderr] | [INFO] [stderr] 302 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:305:26 [INFO] [stderr] | [INFO] [stderr] 305 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:317:31 [INFO] [stderr] | [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ------------------------------^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFactory` [INFO] [stderr] | similarly named struct `DWriteFactory` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:320:15 [INFO] [stderr] | [INFO] [stderr] 320 | fn iid() -> REFGUID { &IID_IDWriteFactory } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFactory` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:320:26 [INFO] [stderr] | [INFO] [stderr] 317 | pub struct DWriteFactory(*mut IDWriteFactory); [INFO] [stderr] | ---------------------------------------------- similarly named tuple struct `DWriteFactory` defined here [INFO] [stderr] ... [INFO] [stderr] 320 | fn iid() -> REFGUID { &IID_IDWriteFactory } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFactory` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFileEnumerator` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:328:23 [INFO] [stderr] | [INFO] [stderr] 328 | let mut lv1: *mut IDWriteFontFileEnumerator = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFileEnumerator` [INFO] [stderr] ... [INFO] [stderr] 648 | pub struct DWriteFontFileEnumerator(*mut IDWriteFontFileEnumerator); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteFontFileEnumerator` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollectionLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:329:45 [INFO] [stderr] | [INFO] [stderr] 329 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontCollectionLoader)).CreateEnumeratorFromKey(factory.iptr() as *mut _ as *mut _ , collectionKey as *const _ as *const _, mem::size_of_val(collectionKey) as UINT32, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollectionLoader` [INFO] [stderr] ... [INFO] [stderr] 352 | pub struct DWriteFontCollectionLoader(*mut IDWriteFontCollectionLoader); [INFO] [stderr] | ------------------------------------------------------------------------ similarly named struct `DWriteFontCollectionLoader` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:329:210 [INFO] [stderr] | [INFO] [stderr] 329 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontCollectionLoader)).CreateEnumeratorFromKey(factory.iptr() as *mut _ as *mut _ , collectionKey as *const _ as *const _, mem::size_of_val(collectionKey) as UINT32, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:337:20 [INFO] [stderr] | [INFO] [stderr] 337 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:340:26 [INFO] [stderr] | [INFO] [stderr] 340 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollectionLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:352:44 [INFO] [stderr] | [INFO] [stderr] 352 | pub struct DWriteFontCollectionLoader(*mut IDWriteFontCollectionLoader); [INFO] [stderr] | -------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFontCollectionLoader` [INFO] [stderr] | similarly named struct `DWriteFontCollectionLoader` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:355:15 [INFO] [stderr] | [INFO] [stderr] 355 | fn iid() -> REFGUID { &IID_IDWriteFontCollectionLoader } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFontCollectionLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:355:26 [INFO] [stderr] | [INFO] [stderr] 352 | pub struct DWriteFontCollectionLoader(*mut IDWriteFontCollectionLoader); [INFO] [stderr] | ------------------------------------------------------------------------ similarly named tuple struct `DWriteFontCollectionLoader` defined here [INFO] [stderr] ... [INFO] [stderr] 355 | fn iid() -> REFGUID { &IID_IDWriteFontCollectionLoader } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFontCollectionLoader` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:362:38 [INFO] [stderr] | [INFO] [stderr] 362 | fn get_font_family_count(&self) -> UINT32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:364:45 [INFO] [stderr] | [INFO] [stderr] 364 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontCollection)).GetFontFamilyCount() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] ... [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:371:36 [INFO] [stderr] | [INFO] [stderr] 371 | fn get_font_family(&self, index: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFamily` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:372:23 [INFO] [stderr] | [INFO] [stderr] 372 | let mut lv1: *mut IDWriteFontFamily = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFamily` [INFO] [stderr] ... [INFO] [stderr] 604 | pub struct DWriteFontFamily(*mut IDWriteFontFamily); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteFontFamily` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:373:45 [INFO] [stderr] | [INFO] [stderr] 373 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontCollection)).GetFontFamily(index, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] ... [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:380:72 [INFO] [stderr] | [INFO] [stderr] 358 | pub trait TDWriteFontCollection: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 380 | fn find_family_name>(&self, familyName: T) -> HResult<(UINT32, BOOL)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:380:80 [INFO] [stderr] | [INFO] [stderr] 358 | pub trait TDWriteFontCollection: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 380 | fn find_family_name>(&self, familyName: T) -> HResult<(UINT32, BOOL)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:382:18 [INFO] [stderr] | [INFO] [stderr] 382 | let mut lv2: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:383:18 [INFO] [stderr] | [INFO] [stderr] 383 | let mut lv3: BOOL = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:384:45 [INFO] [stderr] | [INFO] [stderr] 384 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontCollection)).FindFamilyName(lv1.as_ptr() as LPCWSTR, &mut lv2 as *mut _ as *mut _, &mut lv3 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] ... [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:384:100 [INFO] [stderr] | [INFO] [stderr] 384 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontCollection)).FindFamilyName(lv1.as_ptr() as LPCWSTR, &mut lv2 as *mut _ as *mut _, &mut lv3 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:392:23 [INFO] [stderr] | [INFO] [stderr] 392 | let mut lv1: *mut IDWriteFont = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:393:45 [INFO] [stderr] | [INFO] [stderr] 393 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontCollection)).GetFontFromFontFace(fontFace.iptr() as *mut _ as *mut _ , &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] ... [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:401:20 [INFO] [stderr] | [INFO] [stderr] 401 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:404:26 [INFO] [stderr] | [INFO] [stderr] 404 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:416:38 [INFO] [stderr] | [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | -------------------------------------^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] | similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:419:15 [INFO] [stderr] | [INFO] [stderr] 419 | fn iid() -> REFGUID { &IID_IDWriteFontCollection } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:419:26 [INFO] [stderr] | [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named tuple struct `DWriteFontCollection` defined here [INFO] [stderr] ... [INFO] [stderr] 419 | fn iid() -> REFGUID { &IID_IDWriteFontCollection } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_FACE_TYPE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:426:25 [INFO] [stderr] | [INFO] [stderr] 426 | fn get_type(&self) -> DWRITE_FONT_FACE_TYPE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:428:45 [INFO] [stderr] | [INFO] [stderr] 428 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetType() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:435:26 [INFO] [stderr] | [INFO] [stderr] 435 | fn get_index(&self) -> UINT32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:437:45 [INFO] [stderr] | [INFO] [stderr] 437 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetIndex() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_SIMULATIONS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:444:32 [INFO] [stderr] | [INFO] [stderr] 444 | fn get_simulations(&self) -> DWRITE_FONT_SIMULATIONS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:446:45 [INFO] [stderr] | [INFO] [stderr] 446 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetSimulations() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:453:31 [INFO] [stderr] | [INFO] [stderr] 453 | fn is_symbol_font(&self) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:455:45 [INFO] [stderr] | [INFO] [stderr] 455 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).IsSymbolFont() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:462:28 [INFO] [stderr] | [INFO] [stderr] 462 | fn get_metrics(&self) -> DWRITE_FONT_METRICS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:463:18 [INFO] [stderr] | [INFO] [stderr] 463 | let mut lv1: DWRITE_FONT_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:464:45 [INFO] [stderr] | [INFO] [stderr] 464 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetMetrics(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT16` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:471:32 [INFO] [stderr] | [INFO] [stderr] 471 | fn get_glyph_count(&self) -> UINT16 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:473:45 [INFO] [stderr] | [INFO] [stderr] 473 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetGlyphCount() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT16` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:480:54 [INFO] [stderr] | [INFO] [stderr] 480 | fn get_design_glyph_metrics(&self, glyphIndices: &[UINT16], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:480:75 [INFO] [stderr] | [INFO] [stderr] 480 | fn get_design_glyph_metrics(&self, glyphIndices: &[UINT16], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_GLYPH_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:480:92 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 480 | fn get_design_glyph_metrics(&self, glyphIndices: &[UINT16], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_GLYPH_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:481:18 [INFO] [stderr] | [INFO] [stderr] 481 | let mut lv1: DWRITE_GLYPH_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:482:45 [INFO] [stderr] | [INFO] [stderr] 482 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetDesignGlyphMetrics(slice_as_ptr(glyphIndices), glyphIndices.len() as UINT32, &mut lv1 as *mut _ as *mut _, isSideways) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:482:135 [INFO] [stderr] | [INFO] [stderr] 482 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetDesignGlyphMetrics(slice_as_ptr(glyphIndices), glyphIndices.len() as UINT32, &mut lv1 as *mut _ as *mut _, isSideways) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:489:45 [INFO] [stderr] | [INFO] [stderr] 489 | fn get_glyph_indices(&self, codePoints: &[UINT32], glyphIndices: &mut [UINT16]) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT16` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:489:74 [INFO] [stderr] | [INFO] [stderr] 489 | fn get_glyph_indices(&self, codePoints: &[UINT32], glyphIndices: &mut [UINT16]) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:489:94 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 489 | fn get_glyph_indices(&self, codePoints: &[UINT32], glyphIndices: &mut [UINT16]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:491:45 [INFO] [stderr] | [INFO] [stderr] 491 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetGlyphIndices(slice_as_ptr(codePoints), same_length(&[Some(codePoints.len()),Some(glyphIndices.len())]).expect("Arrays must have equal sizes") as UINT32, slice_as_mut_ptr(glyphIndices)) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:491:212 [INFO] [stderr] | [INFO] [stderr] 491 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetGlyphIndices(slice_as_ptr(codePoints), same_length(&[Some(codePoints.len()),Some(glyphIndices.len())]).expect("Arrays must have equal sizes") as UINT32, slice_as_mut_ptr(glyphIndices)) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:498:67 [INFO] [stderr] | [INFO] [stderr] 498 | fn get_glyph_run_outline(&self, emSize: FLOAT, glyphIndices: &[UINT16], glyphAdvances: Option<&[FLOAT]>, glyphOffsets: Option<&[DWRITE_GLYPH_OFFSET]>, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: &T) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT16` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:498:90 [INFO] [stderr] | [INFO] [stderr] 498 | fn get_glyph_run_outline(&self, emSize: FLOAT, glyphIndices: &[UINT16], glyphAdvances: Option<&[FLOAT]>, glyphOffsets: Option<&[DWRITE_GLYPH_OFFSET]>, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: &T) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:498:123 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 498 | fn get_glyph_run_outline(&self, emSize: FLOAT, glyphIndices: &[UINT16], glyphAdvances: Option<&[FLOAT]>, glyphOffsets: Option<&[DWRITE_GLYPH_OFFSET]>, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: &T) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_GLYPH_OFFSET` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:498:155 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 498 | fn get_glyph_run_outline(&self, emSize: FLOAT, glyphIndices: &[UINT16], glyphAdvances: Option<&[FLOAT]>, glyphOffsets: Option<&[DWRITE_GLYPH_OFFSET]>, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: &T) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:498:190 [INFO] [stderr] | [INFO] [stderr] 498 | fn get_glyph_run_outline(&self, emSize: FLOAT, glyphIndices: &[UINT16], glyphAdvances: Option<&[FLOAT]>, glyphOffsets: Option<&[DWRITE_GLYPH_OFFSET]>, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: &T) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:498:211 [INFO] [stderr] | [INFO] [stderr] 498 | fn get_glyph_run_outline(&self, emSize: FLOAT, glyphIndices: &[UINT16], glyphAdvances: Option<&[FLOAT]>, glyphOffsets: Option<&[DWRITE_GLYPH_OFFSET]>, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: &T) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:498:246 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 498 | fn get_glyph_run_outline(&self, emSize: FLOAT, glyphIndices: &[UINT16], glyphAdvances: Option<&[FLOAT]>, glyphOffsets: Option<&[DWRITE_GLYPH_OFFSET]>, isSideways: BOOL, isRightToLeft: BOOL, geometrySink: &T) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:500:45 [INFO] [stderr] | [INFO] [stderr] 500 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetGlyphRunOutline(emSize, slice_as_ptr(glyphIndices), opt_arr_as_ptr(&glyphAdvances) as *const _, opt_arr_as_ptr(&glyphOffsets) as *const _, same_length(&[Some(glyphIndices.len()),glyphAdvances.as_ref().map(|a|a.len()),glyphOffsets.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT32, isSideways, isRightToLeft, geometrySink.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:500:366 [INFO] [stderr] | [INFO] [stderr] 500 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetGlyphRunOutline(emSize, slice_as_ptr(glyphIndices), opt_arr_as_ptr(&glyphAdvances) as *const _, opt_arr_as_ptr(&glyphOffsets) as *const _, same_length(&[Some(glyphIndices.len()),glyphAdvances.as_ref().map(|a|a.len()),glyphOffsets.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT32, isSideways, isRightToLeft, geometrySink.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:507:79 [INFO] [stderr] | [INFO] [stderr] 507 | fn get_recommended_rendering_mode(&self, emSize: FLOAT, pixelsPerDip: FLOAT, measuringMode: DWRITE_MEASURING_MODE, renderingParams: &T) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:507:100 [INFO] [stderr] | [INFO] [stderr] 507 | fn get_recommended_rendering_mode(&self, emSize: FLOAT, pixelsPerDip: FLOAT, measuringMode: DWRITE_MEASURING_MODE, renderingParams: &T) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MEASURING_MODE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:507:122 [INFO] [stderr] | [INFO] [stderr] 507 | fn get_recommended_rendering_mode(&self, emSize: FLOAT, pixelsPerDip: FLOAT, measuringMode: DWRITE_MEASURING_MODE, renderingParams: &T) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_RENDERING_MODE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:507:177 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 507 | fn get_recommended_rendering_mode(&self, emSize: FLOAT, pixelsPerDip: FLOAT, measuringMode: DWRITE_MEASURING_MODE, renderingParams: &T) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_RENDERING_MODE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:508:18 [INFO] [stderr] | [INFO] [stderr] 508 | let mut lv1: DWRITE_RENDERING_MODE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:509:45 [INFO] [stderr] | [INFO] [stderr] 509 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetRecommendedRenderingMode(emSize, pixelsPerDip, measuringMode, renderingParams.iptr() as *mut _ as *mut _ , &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:516:48 [INFO] [stderr] | [INFO] [stderr] 516 | fn get_gdi_compatible_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:516:69 [INFO] [stderr] | [INFO] [stderr] 516 | fn get_gdi_compatible_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MATRIX` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:516:95 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 516 | fn get_gdi_compatible_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:516:122 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 516 | fn get_gdi_compatible_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:517:18 [INFO] [stderr] | [INFO] [stderr] 517 | let mut lv1: DWRITE_FONT_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:518:45 [INFO] [stderr] | [INFO] [stderr] 518 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetGdiCompatibleMetrics(emSize, pixelsPerDip, transform.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:525:54 [INFO] [stderr] | [INFO] [stderr] 525 | fn get_gdi_compatible_glyph_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL, glyphIndices: &[UINT16], glyphMetrics: &mut [DWRITE_GLYPH_METRICS], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:525:75 [INFO] [stderr] | [INFO] [stderr] 525 | fn get_gdi_compatible_glyph_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL, glyphIndices: &[UINT16], glyphMetrics: &mut [DWRITE_GLYPH_METRICS], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MATRIX` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:525:101 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 525 | fn get_gdi_compatible_glyph_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL, glyphIndices: &[UINT16], glyphMetrics: &mut [DWRITE_GLYPH_METRICS], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:525:132 [INFO] [stderr] | [INFO] [stderr] 525 | fn get_gdi_compatible_glyph_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL, glyphIndices: &[UINT16], glyphMetrics: &mut [DWRITE_GLYPH_METRICS], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT16` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:525:154 [INFO] [stderr] | [INFO] [stderr] 525 | fn get_gdi_compatible_glyph_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL, glyphIndices: &[UINT16], glyphMetrics: &mut [DWRITE_GLYPH_METRICS], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_GLYPH_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:525:183 [INFO] [stderr] | [INFO] [stderr] 525 | fn get_gdi_compatible_glyph_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL, glyphIndices: &[UINT16], glyphMetrics: &mut [DWRITE_GLYPH_METRICS], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:525:218 [INFO] [stderr] | [INFO] [stderr] 525 | fn get_gdi_compatible_glyph_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL, glyphIndices: &[UINT16], glyphMetrics: &mut [DWRITE_GLYPH_METRICS], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:525:235 [INFO] [stderr] | [INFO] [stderr] 422 | pub trait TDWriteFontFace: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 525 | fn get_gdi_compatible_glyph_metrics(&self, emSize: FLOAT, pixelsPerDip: FLOAT, transform: Option<&DWRITE_MATRIX>, useGdiNatural: BOOL, glyphIndices: &[UINT16], glyphMetrics: &mut [DWRITE_GLYPH_METRICS], isSideways: BOOL) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:527:45 [INFO] [stderr] | [INFO] [stderr] 527 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetGdiCompatibleGlyphMetrics(emSize, pixelsPerDip, transform.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), useGdiNatural, slice_as_ptr(glyphIndices), same_length(&[Some(glyphIndices.len()),Some(glyphMetrics.len())]).expect("Arrays must have equal sizes") as UINT32, slice_as_mut_ptr(glyphMetrics), isSideways) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] ... [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:527:344 [INFO] [stderr] | [INFO] [stderr] 527 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFace)).GetGdiCompatibleGlyphMetrics(emSize, pixelsPerDip, transform.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), useGdiNatural, slice_as_ptr(glyphIndices), same_length(&[Some(glyphIndices.len()),Some(glyphMetrics.len())]).expect("Arrays must have equal sizes") as UINT32, slice_as_mut_ptr(glyphMetrics), isSideways) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:535:20 [INFO] [stderr] | [INFO] [stderr] 535 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:538:26 [INFO] [stderr] | [INFO] [stderr] 538 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:550:32 [INFO] [stderr] | [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | -------------------------------^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] | similarly named struct `DWriteFontFace` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:553:15 [INFO] [stderr] | [INFO] [stderr] 553 | fn iid() -> REFGUID { &IID_IDWriteFontFace } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:553:26 [INFO] [stderr] | [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named tuple struct `DWriteFontFace` defined here [INFO] [stderr] ... [INFO] [stderr] 553 | fn iid() -> REFGUID { &IID_IDWriteFontFace } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:561:23 [INFO] [stderr] | [INFO] [stderr] 561 | let mut lv1: *mut IDWriteLocalizedStrings = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] ... [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFamily` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:562:45 [INFO] [stderr] | [INFO] [stderr] 562 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFamily)).GetFamilyNames(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFamily` [INFO] [stderr] ... [INFO] [stderr] 604 | pub struct DWriteFontFamily(*mut IDWriteFontFamily); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteFontFamily` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:569:45 [INFO] [stderr] | [INFO] [stderr] 569 | fn get_first_matching_font(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:569:74 [INFO] [stderr] | [INFO] [stderr] 569 | fn get_first_matching_font(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:569:102 [INFO] [stderr] | [INFO] [stderr] 569 | fn get_first_matching_font(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:570:23 [INFO] [stderr] | [INFO] [stderr] 570 | let mut lv1: *mut IDWriteFont = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFamily` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:571:45 [INFO] [stderr] | [INFO] [stderr] 571 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFamily)).GetFirstMatchingFont(weight, stretch, style, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFamily` [INFO] [stderr] ... [INFO] [stderr] 604 | pub struct DWriteFontFamily(*mut IDWriteFontFamily); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteFontFamily` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:578:40 [INFO] [stderr] | [INFO] [stderr] 578 | fn get_matching_fonts(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:578:69 [INFO] [stderr] | [INFO] [stderr] 578 | fn get_matching_fonts(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:578:97 [INFO] [stderr] | [INFO] [stderr] 578 | fn get_matching_fonts(&self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontList` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:579:23 [INFO] [stderr] | [INFO] [stderr] 579 | let mut lv1: *mut IDWriteFontList = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontList` [INFO] [stderr] ... [INFO] [stderr] 781 | pub struct DWriteFontList(*mut IDWriteFontList); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontList` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFamily` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:580:45 [INFO] [stderr] | [INFO] [stderr] 580 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFamily)).GetMatchingFonts(weight, stretch, style, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFamily` [INFO] [stderr] ... [INFO] [stderr] 604 | pub struct DWriteFontFamily(*mut IDWriteFontFamily); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteFontFamily` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:588:20 [INFO] [stderr] | [INFO] [stderr] 588 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:591:26 [INFO] [stderr] | [INFO] [stderr] 591 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFamily` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:604:34 [INFO] [stderr] | [INFO] [stderr] 604 | pub struct DWriteFontFamily(*mut IDWriteFontFamily); [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFontFamily` [INFO] [stderr] | similarly named struct `DWriteFontFamily` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:607:15 [INFO] [stderr] | [INFO] [stderr] 607 | fn iid() -> REFGUID { &IID_IDWriteFontFamily } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFontFamily` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:607:26 [INFO] [stderr] | [INFO] [stderr] 604 | pub struct DWriteFontFamily(*mut IDWriteFontFamily); [INFO] [stderr] | ---------------------------------------------------- similarly named tuple struct `DWriteFontFamily` defined here [INFO] [stderr] ... [INFO] [stderr] 607 | fn iid() -> REFGUID { &IID_IDWriteFontFamily } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFontFamily` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:614:34 [INFO] [stderr] | [INFO] [stderr] 610 | pub trait TDWriteFontFileEnumerator: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 614 | fn move_next(&self) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:615:18 [INFO] [stderr] | [INFO] [stderr] 615 | let mut lv1: BOOL = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFileEnumerator` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:616:45 [INFO] [stderr] | [INFO] [stderr] 616 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFileEnumerator)).MoveNext(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFileEnumerator` [INFO] [stderr] ... [INFO] [stderr] 648 | pub struct DWriteFontFileEnumerator(*mut IDWriteFontFileEnumerator); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteFontFileEnumerator` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFile` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:624:23 [INFO] [stderr] | [INFO] [stderr] 624 | let mut lv1: *mut IDWriteFontFile = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFile` [INFO] [stderr] ... [INFO] [stderr] 728 | pub struct DWriteFontFile(*mut IDWriteFontFile); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFile` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFileEnumerator` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:625:45 [INFO] [stderr] | [INFO] [stderr] 625 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontFileEnumerator)).GetCurrentFontFile(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFileEnumerator` [INFO] [stderr] ... [INFO] [stderr] 648 | pub struct DWriteFontFileEnumerator(*mut IDWriteFontFileEnumerator); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteFontFileEnumerator` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:633:20 [INFO] [stderr] | [INFO] [stderr] 633 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:636:26 [INFO] [stderr] | [INFO] [stderr] 636 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFileEnumerator` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:648:42 [INFO] [stderr] | [INFO] [stderr] 648 | pub struct DWriteFontFileEnumerator(*mut IDWriteFontFileEnumerator); [INFO] [stderr] | -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFontFileEnumerator` [INFO] [stderr] | similarly named struct `DWriteFontFileEnumerator` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:651:15 [INFO] [stderr] | [INFO] [stderr] 651 | fn iid() -> REFGUID { &IID_IDWriteFontFileEnumerator } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFontFileEnumerator` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:651:26 [INFO] [stderr] | [INFO] [stderr] 648 | pub struct DWriteFontFileEnumerator(*mut IDWriteFontFileEnumerator); [INFO] [stderr] | -------------------------------------------------------------------- similarly named tuple struct `DWriteFontFileEnumerator` defined here [INFO] [stderr] ... [INFO] [stderr] 651 | fn iid() -> REFGUID { &IID_IDWriteFontFileEnumerator } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFontFileEnumerator` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:661:20 [INFO] [stderr] | [INFO] [stderr] 661 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:664:26 [INFO] [stderr] | [INFO] [stderr] 664 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFileLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:676:38 [INFO] [stderr] | [INFO] [stderr] 676 | pub struct DWriteFontFileLoader(*mut IDWriteFontFileLoader); [INFO] [stderr] | -------------------------------------^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFontFileLoader` [INFO] [stderr] | similarly named struct `DWriteFontFileLoader` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:679:15 [INFO] [stderr] | [INFO] [stderr] 679 | fn iid() -> REFGUID { &IID_IDWriteFontFileLoader } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFontFileLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:679:26 [INFO] [stderr] | [INFO] [stderr] 676 | pub struct DWriteFontFileLoader(*mut IDWriteFontFileLoader); [INFO] [stderr] | ------------------------------------------------------------ similarly named tuple struct `DWriteFontFileLoader` defined here [INFO] [stderr] ... [INFO] [stderr] 679 | fn iid() -> REFGUID { &IID_IDWriteFontFileLoader } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFontFileLoader` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:687:20 [INFO] [stderr] | [INFO] [stderr] 687 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:690:26 [INFO] [stderr] | [INFO] [stderr] 690 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFileStream` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:702:38 [INFO] [stderr] | [INFO] [stderr] 702 | pub struct DWriteFontFileStream(*mut IDWriteFontFileStream); [INFO] [stderr] | -------------------------------------^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFontFileStream` [INFO] [stderr] | similarly named struct `DWriteFontFileStream` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:705:15 [INFO] [stderr] | [INFO] [stderr] 705 | fn iid() -> REFGUID { &IID_IDWriteFontFileStream } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFontFileStream` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:705:26 [INFO] [stderr] | [INFO] [stderr] 702 | pub struct DWriteFontFileStream(*mut IDWriteFontFileStream); [INFO] [stderr] | ------------------------------------------------------------ similarly named tuple struct `DWriteFontFileStream` defined here [INFO] [stderr] ... [INFO] [stderr] 705 | fn iid() -> REFGUID { &IID_IDWriteFontFileStream } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFontFileStream` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:713:20 [INFO] [stderr] | [INFO] [stderr] 713 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:716:26 [INFO] [stderr] | [INFO] [stderr] 716 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFile` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:728:32 [INFO] [stderr] | [INFO] [stderr] 728 | pub struct DWriteFontFile(*mut IDWriteFontFile); [INFO] [stderr] | -------------------------------^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFontFile` [INFO] [stderr] | similarly named struct `DWriteFontFile` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:731:15 [INFO] [stderr] | [INFO] [stderr] 731 | fn iid() -> REFGUID { &IID_IDWriteFontFile } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFontFile` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:731:26 [INFO] [stderr] | [INFO] [stderr] 728 | pub struct DWriteFontFile(*mut IDWriteFontFile); [INFO] [stderr] | ------------------------------------------------ similarly named tuple struct `DWriteFontFile` defined here [INFO] [stderr] ... [INFO] [stderr] 731 | fn iid() -> REFGUID { &IID_IDWriteFontFile } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFontFile` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:739:23 [INFO] [stderr] | [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] ... [INFO] [stderr] 739 | let mut lv1: *mut IDWriteFontCollection = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontList` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:740:45 [INFO] [stderr] | [INFO] [stderr] 740 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontList)).GetFontCollection(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontList` [INFO] [stderr] ... [INFO] [stderr] 781 | pub struct DWriteFontList(*mut IDWriteFontList); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontList` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:747:31 [INFO] [stderr] | [INFO] [stderr] 747 | fn get_font_count(&self) -> UINT32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontList` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:749:45 [INFO] [stderr] | [INFO] [stderr] 749 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontList)).GetFontCount() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontList` [INFO] [stderr] ... [INFO] [stderr] 781 | pub struct DWriteFontList(*mut IDWriteFontList); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontList` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:756:29 [INFO] [stderr] | [INFO] [stderr] 756 | fn get_font(&self, index: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:757:23 [INFO] [stderr] | [INFO] [stderr] 757 | let mut lv1: *mut IDWriteFont = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontList` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:758:45 [INFO] [stderr] | [INFO] [stderr] 758 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFontList)).GetFont(index, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontList` [INFO] [stderr] ... [INFO] [stderr] 781 | pub struct DWriteFontList(*mut IDWriteFontList); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontList` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:766:20 [INFO] [stderr] | [INFO] [stderr] 766 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:769:26 [INFO] [stderr] | [INFO] [stderr] 769 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontList` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:781:32 [INFO] [stderr] | [INFO] [stderr] 781 | pub struct DWriteFontList(*mut IDWriteFontList); [INFO] [stderr] | -------------------------------^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFontList` [INFO] [stderr] | similarly named struct `DWriteFontList` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:784:15 [INFO] [stderr] | [INFO] [stderr] 784 | fn iid() -> REFGUID { &IID_IDWriteFontList } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFontList` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:784:26 [INFO] [stderr] | [INFO] [stderr] 781 | pub struct DWriteFontList(*mut IDWriteFontList); [INFO] [stderr] | ------------------------------------------------ similarly named tuple struct `DWriteFontList` defined here [INFO] [stderr] ... [INFO] [stderr] 784 | fn iid() -> REFGUID { &IID_IDWriteFontList } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFontList` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFamily` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:792:23 [INFO] [stderr] | [INFO] [stderr] 604 | pub struct DWriteFontFamily(*mut IDWriteFontFamily); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteFontFamily` defined here [INFO] [stderr] ... [INFO] [stderr] 792 | let mut lv1: *mut IDWriteFontFamily = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFamily` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:793:45 [INFO] [stderr] | [INFO] [stderr] 793 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).GetFontFamily(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:800:27 [INFO] [stderr] | [INFO] [stderr] 800 | fn get_weight(&self) -> DWRITE_FONT_WEIGHT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:802:45 [INFO] [stderr] | [INFO] [stderr] 802 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).GetWeight() }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:809:28 [INFO] [stderr] | [INFO] [stderr] 809 | fn get_stretch(&self) -> DWRITE_FONT_STRETCH { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:811:45 [INFO] [stderr] | [INFO] [stderr] 811 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).GetStretch() }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:818:26 [INFO] [stderr] | [INFO] [stderr] 818 | fn get_style(&self) -> DWRITE_FONT_STYLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:820:45 [INFO] [stderr] | [INFO] [stderr] 820 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).GetStyle() }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:827:31 [INFO] [stderr] | [INFO] [stderr] 827 | fn is_symbol_font(&self) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:829:45 [INFO] [stderr] | [INFO] [stderr] 829 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).IsSymbolFont() }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:837:23 [INFO] [stderr] | [INFO] [stderr] 837 | let mut lv1: *mut IDWriteLocalizedStrings = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] ... [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:838:45 [INFO] [stderr] | [INFO] [stderr] 838 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).GetFaceNames(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_INFORMATIONAL_STRING_ID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:845:62 [INFO] [stderr] | [INFO] [stderr] 845 | fn get_informational_strings(&self, informationalStringID: DWRITE_INFORMATIONAL_STRING_ID) -> HResult<(DWriteLocalizedStrings, BOOL)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:845:130 [INFO] [stderr] | [INFO] [stderr] 787 | pub trait TDWriteFont: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 845 | fn get_informational_strings(&self, informationalStringID: DWRITE_INFORMATIONAL_STRING_ID) -> HResult<(DWriteLocalizedStrings, BOOL)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:846:23 [INFO] [stderr] | [INFO] [stderr] 846 | let mut lv1: *mut IDWriteLocalizedStrings = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] ... [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:847:18 [INFO] [stderr] | [INFO] [stderr] 847 | let mut lv2: BOOL = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:848:45 [INFO] [stderr] | [INFO] [stderr] 848 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).GetInformationalStrings(informationalStringID, &mut lv1 as *mut *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_SIMULATIONS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:855:32 [INFO] [stderr] | [INFO] [stderr] 855 | fn get_simulations(&self) -> DWRITE_FONT_SIMULATIONS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:857:45 [INFO] [stderr] | [INFO] [stderr] 857 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).GetSimulations() }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:864:28 [INFO] [stderr] | [INFO] [stderr] 864 | fn get_metrics(&self) -> DWRITE_FONT_METRICS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:865:18 [INFO] [stderr] | [INFO] [stderr] 865 | let mut lv1: DWRITE_FONT_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:866:45 [INFO] [stderr] | [INFO] [stderr] 866 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).GetMetrics(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:873:41 [INFO] [stderr] | [INFO] [stderr] 873 | fn has_character(&self, unicodeValue: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:873:60 [INFO] [stderr] | [INFO] [stderr] 787 | pub trait TDWriteFont: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 873 | fn has_character(&self, unicodeValue: UINT32) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:874:18 [INFO] [stderr] | [INFO] [stderr] 874 | let mut lv1: BOOL = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:875:45 [INFO] [stderr] | [INFO] [stderr] 875 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).HasCharacter(unicodeValue, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:883:23 [INFO] [stderr] | [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] ... [INFO] [stderr] 883 | let mut lv1: *mut IDWriteFontFace = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:884:45 [INFO] [stderr] | [INFO] [stderr] 884 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteFont)).CreateFontFace(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] ... [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:892:20 [INFO] [stderr] | [INFO] [stderr] 892 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:895:26 [INFO] [stderr] | [INFO] [stderr] 895 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:907:28 [INFO] [stderr] | [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] | similarly named struct `DWriteFont` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:910:15 [INFO] [stderr] | [INFO] [stderr] 910 | fn iid() -> REFGUID { &IID_IDWriteFont } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:910:26 [INFO] [stderr] | [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named tuple struct `DWriteFont` defined here [INFO] [stderr] ... [INFO] [stderr] 910 | fn iid() -> REFGUID { &IID_IDWriteFont } [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteFont` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LOGFONTW` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:917:48 [INFO] [stderr] | [INFO] [stderr] 917 | fn create_font_from_logfont(&self, logFont: &LOGFONTW) -> HResult { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFont` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:918:23 [INFO] [stderr] | [INFO] [stderr] 907 | pub struct DWriteFont(*mut IDWriteFont); [INFO] [stderr] | ---------------------------------------- similarly named struct `DWriteFont` defined here [INFO] [stderr] ... [INFO] [stderr] 918 | let mut lv1: *mut IDWriteFont = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFont` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGdiInterop` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:919:45 [INFO] [stderr] | [INFO] [stderr] 919 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGdiInterop)).CreateFontFromLOGFONT(logFont, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGdiInterop` [INFO] [stderr] ... [INFO] [stderr] 979 | pub struct DWriteGdiInterop(*mut IDWriteGdiInterop); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteGdiInterop` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LOGFONTW` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:926:75 [INFO] [stderr] | [INFO] [stderr] 913 | pub trait TDWriteGdiInterop: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 926 | fn convert_font_to_logfont(&self, font: &T) -> HResult<(LOGFONTW, BOOL)> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:926:85 [INFO] [stderr] | [INFO] [stderr] 913 | pub trait TDWriteGdiInterop: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 926 | fn convert_font_to_logfont(&self, font: &T) -> HResult<(LOGFONTW, BOOL)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LOGFONTW` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:927:18 [INFO] [stderr] | [INFO] [stderr] 927 | let mut lv1: LOGFONTW = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:928:18 [INFO] [stderr] | [INFO] [stderr] 928 | let mut lv2: BOOL = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGdiInterop` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:929:45 [INFO] [stderr] | [INFO] [stderr] 929 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGdiInterop)).ConvertFontToLOGFONT(font.iptr() as *mut _ as *mut _ , &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGdiInterop` [INFO] [stderr] ... [INFO] [stderr] 979 | pub struct DWriteGdiInterop(*mut IDWriteGdiInterop); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteGdiInterop` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LOGFONTW` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:936:83 [INFO] [stderr] | [INFO] [stderr] 913 | pub trait TDWriteGdiInterop: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 936 | fn convert_font_face_to_logfont(&self, font: &T) -> HResult { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LOGFONTW` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:937:18 [INFO] [stderr] | [INFO] [stderr] 937 | let mut lv1: LOGFONTW = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGdiInterop` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:938:45 [INFO] [stderr] | [INFO] [stderr] 938 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGdiInterop)).ConvertFontFaceToLOGFONT(font.iptr() as *mut _ as *mut _ , &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGdiInterop` [INFO] [stderr] ... [INFO] [stderr] 979 | pub struct DWriteGdiInterop(*mut IDWriteGdiInterop); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteGdiInterop` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:945:44 [INFO] [stderr] | [INFO] [stderr] 945 | fn create_font_face_from_hdc(&self, hdc: HDC) -> HResult { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontFace` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:946:23 [INFO] [stderr] | [INFO] [stderr] 550 | pub struct DWriteFontFace(*mut IDWriteFontFace); [INFO] [stderr] | ------------------------------------------------ similarly named struct `DWriteFontFace` defined here [INFO] [stderr] ... [INFO] [stderr] 946 | let mut lv1: *mut IDWriteFontFace = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontFace` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGdiInterop` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:947:45 [INFO] [stderr] | [INFO] [stderr] 947 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGdiInterop)).CreateFontFaceFromHdc(hdc, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGdiInterop` [INFO] [stderr] ... [INFO] [stderr] 979 | pub struct DWriteGdiInterop(*mut IDWriteGdiInterop); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteGdiInterop` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:954:53 [INFO] [stderr] | [INFO] [stderr] 913 | pub trait TDWriteGdiInterop: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 954 | fn create_bitmap_render_target(&self, hdc: Option, width: UINT32, height: UINT32) -> HResult { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:954:66 [INFO] [stderr] | [INFO] [stderr] 954 | fn create_bitmap_render_target(&self, hdc: Option, width: UINT32, height: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:954:82 [INFO] [stderr] | [INFO] [stderr] 954 | fn create_bitmap_render_target(&self, hdc: Option, width: UINT32, height: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteBitmapRenderTarget` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:955:23 [INFO] [stderr] | [INFO] [stderr] 97 | pub struct DWriteBitmapRenderTarget(*mut IDWriteBitmapRenderTarget); [INFO] [stderr] | -------------------------------------------------------------------- similarly named struct `DWriteBitmapRenderTarget` defined here [INFO] [stderr] ... [INFO] [stderr] 955 | let mut lv1: *mut IDWriteBitmapRenderTarget = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteBitmapRenderTarget` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGdiInterop` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:956:45 [INFO] [stderr] | [INFO] [stderr] 956 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGdiInterop)).CreateBitmapRenderTarget(match hdc{Some(v)=>v, _=>ptr::null_mut() as HDC}, width, height, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGdiInterop` [INFO] [stderr] ... [INFO] [stderr] 979 | pub struct DWriteGdiInterop(*mut IDWriteGdiInterop); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteGdiInterop` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:956:134 [INFO] [stderr] | [INFO] [stderr] 956 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGdiInterop)).CreateBitmapRenderTarget(match hdc{Some(v)=>v, _=>ptr::null_mut() as HDC}, width, height, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:964:20 [INFO] [stderr] | [INFO] [stderr] 964 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:967:26 [INFO] [stderr] | [INFO] [stderr] 967 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGdiInterop` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:979:34 [INFO] [stderr] | [INFO] [stderr] 979 | pub struct DWriteGdiInterop(*mut IDWriteGdiInterop); [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteGdiInterop` [INFO] [stderr] | similarly named struct `DWriteGdiInterop` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:982:15 [INFO] [stderr] | [INFO] [stderr] 982 | fn iid() -> REFGUID { &IID_IDWriteGdiInterop } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteGdiInterop` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:982:26 [INFO] [stderr] | [INFO] [stderr] 979 | pub struct DWriteGdiInterop(*mut IDWriteGdiInterop); [INFO] [stderr] | ---------------------------------------------------- similarly named tuple struct `DWriteGdiInterop` defined here [INFO] [stderr] ... [INFO] [stderr] 982 | fn iid() -> REFGUID { &IID_IDWriteGdiInterop } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteGdiInterop` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXTURE_TYPE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:989:51 [INFO] [stderr] | [INFO] [stderr] 989 | fn get_alpha_texture_bounds(&self, textureType: DWRITE_TEXTURE_TYPE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:989:83 [INFO] [stderr] | [INFO] [stderr] 985 | pub trait TDWriteGlyphRunAnalysis: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 989 | fn get_alpha_texture_bounds(&self, textureType: DWRITE_TEXTURE_TYPE) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:990:18 [INFO] [stderr] | [INFO] [stderr] 990 | let mut lv1: RECT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGlyphRunAnalysis` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:991:45 [INFO] [stderr] | [INFO] [stderr] 991 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGlyphRunAnalysis)).GetAlphaTextureBounds(textureType, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGlyphRunAnalysis` [INFO] [stderr] ... [INFO] [stderr] 1034 | pub struct DWriteGlyphRunAnalysis(*mut IDWriteGlyphRunAnalysis); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteGlyphRunAnalysis` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXTURE_TYPE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:998:47 [INFO] [stderr] | [INFO] [stderr] 998 | fn create_alpha_texture(&self, textureType: DWRITE_TEXTURE_TYPE, textureBounds: &RECT, alphaValues: &mut [BYTE]) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:998:84 [INFO] [stderr] | [INFO] [stderr] 998 | fn create_alpha_texture(&self, textureType: DWRITE_TEXTURE_TYPE, textureBounds: &RECT, alphaValues: &mut [BYTE]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:998:109 [INFO] [stderr] | [INFO] [stderr] 998 | fn create_alpha_texture(&self, textureType: DWRITE_TEXTURE_TYPE, textureBounds: &RECT, alphaValues: &mut [BYTE]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:998:127 [INFO] [stderr] | [INFO] [stderr] 985 | pub trait TDWriteGlyphRunAnalysis: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 998 | fn create_alpha_texture(&self, textureType: DWRITE_TEXTURE_TYPE, textureBounds: &RECT, alphaValues: &mut [BYTE]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGlyphRunAnalysis` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1000:45 [INFO] [stderr] | [INFO] [stderr] 1000 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGlyphRunAnalysis)).CreateAlphaTexture(textureType, textureBounds, slice_as_mut_ptr(alphaValues), alphaValues.len() as UINT32) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGlyphRunAnalysis` [INFO] [stderr] ... [INFO] [stderr] 1034 | pub struct DWriteGlyphRunAnalysis(*mut IDWriteGlyphRunAnalysis); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteGlyphRunAnalysis` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1000:170 [INFO] [stderr] | [INFO] [stderr] 1000 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGlyphRunAnalysis)).CreateAlphaTexture(textureType, textureBounds, slice_as_mut_ptr(alphaValues), alphaValues.len() as UINT32) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1007:96 [INFO] [stderr] | [INFO] [stderr] 985 | pub trait TDWriteGlyphRunAnalysis: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1007 | fn get_alpha_blend_params(&self, renderingParams: &T) -> HResult<(FLOAT, FLOAT, FLOAT)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1007:103 [INFO] [stderr] | [INFO] [stderr] 985 | pub trait TDWriteGlyphRunAnalysis: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1007 | fn get_alpha_blend_params(&self, renderingParams: &T) -> HResult<(FLOAT, FLOAT, FLOAT)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1007:110 [INFO] [stderr] | [INFO] [stderr] 985 | pub trait TDWriteGlyphRunAnalysis: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1007 | fn get_alpha_blend_params(&self, renderingParams: &T) -> HResult<(FLOAT, FLOAT, FLOAT)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1008:18 [INFO] [stderr] | [INFO] [stderr] 1008 | let mut lv1: FLOAT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1009:18 [INFO] [stderr] | [INFO] [stderr] 1009 | let mut lv2: FLOAT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1010:18 [INFO] [stderr] | [INFO] [stderr] 1010 | let mut lv3: FLOAT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGlyphRunAnalysis` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1011:45 [INFO] [stderr] | [INFO] [stderr] 1011 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteGlyphRunAnalysis)).GetAlphaBlendParams(renderingParams.iptr() as *mut _ as *mut _ , &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _, &mut lv3 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteGlyphRunAnalysis` [INFO] [stderr] ... [INFO] [stderr] 1034 | pub struct DWriteGlyphRunAnalysis(*mut IDWriteGlyphRunAnalysis); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteGlyphRunAnalysis` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1019:20 [INFO] [stderr] | [INFO] [stderr] 1019 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1022:26 [INFO] [stderr] | [INFO] [stderr] 1022 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteGlyphRunAnalysis` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1034:40 [INFO] [stderr] | [INFO] [stderr] 1034 | pub struct DWriteGlyphRunAnalysis(*mut IDWriteGlyphRunAnalysis); [INFO] [stderr] | ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteGlyphRunAnalysis` [INFO] [stderr] | similarly named struct `DWriteGlyphRunAnalysis` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1037:15 [INFO] [stderr] | [INFO] [stderr] 1037 | fn iid() -> REFGUID { &IID_IDWriteGlyphRunAnalysis } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteGlyphRunAnalysis` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1037:26 [INFO] [stderr] | [INFO] [stderr] 1034 | pub struct DWriteGlyphRunAnalysis(*mut IDWriteGlyphRunAnalysis); [INFO] [stderr] | ---------------------------------------------------------------- similarly named tuple struct `DWriteGlyphRunAnalysis` defined here [INFO] [stderr] ... [INFO] [stderr] 1037 | fn iid() -> REFGUID { &IID_IDWriteGlyphRunAnalysis } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteGlyphRunAnalysis` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1045:116 [INFO] [stderr] | [INFO] [stderr] 1045 | fn draw(&self, clientDrawingContext: &mut [T], renderer: &T1, originX: FLOAT, originY: FLOAT, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1045:132 [INFO] [stderr] | [INFO] [stderr] 1045 | fn draw(&self, clientDrawingContext: &mut [T], renderer: &T1, originX: FLOAT, originY: FLOAT, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1045:151 [INFO] [stderr] | [INFO] [stderr] 1045 | fn draw(&self, clientDrawingContext: &mut [T], renderer: &T1, originX: FLOAT, originY: FLOAT, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1045:172 [INFO] [stderr] | [INFO] [stderr] 1045 | fn draw(&self, clientDrawingContext: &mut [T], renderer: &T1, originX: FLOAT, originY: FLOAT, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1045:215 [INFO] [stderr] | [INFO] [stderr] 1040 | pub trait TDWriteInlineObject: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1045 | fn draw(&self, clientDrawingContext: &mut [T], renderer: &T1, originX: FLOAT, originY: FLOAT, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteInlineObject` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1047:45 [INFO] [stderr] | [INFO] [stderr] 1047 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteInlineObject)).Draw(clientDrawingContext.as_mut_ptr() as *mut _, renderer.iptr() as *mut _ as *mut _ , originX, originY, isSideways, isRightToLeft, clientDrawingEffect.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteInlineObject` [INFO] [stderr] ... [INFO] [stderr] 1098 | pub struct DWriteInlineObject(*mut IDWriteInlineObject); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteInlineObject` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_INLINE_OBJECT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1054:36 [INFO] [stderr] | [INFO] [stderr] 1040 | pub trait TDWriteInlineObject: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1054 | fn get_metrics(&self) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_INLINE_OBJECT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1055:18 [INFO] [stderr] | [INFO] [stderr] 1055 | let mut lv1: DWRITE_INLINE_OBJECT_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteInlineObject` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1056:45 [INFO] [stderr] | [INFO] [stderr] 1056 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteInlineObject)).GetMetrics(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteInlineObject` [INFO] [stderr] ... [INFO] [stderr] 1098 | pub struct DWriteInlineObject(*mut IDWriteInlineObject); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteInlineObject` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_OVERHANG_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1063:45 [INFO] [stderr] | [INFO] [stderr] 1040 | pub trait TDWriteInlineObject: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1063 | fn get_overhang_metrics(&self) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_OVERHANG_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1064:18 [INFO] [stderr] | [INFO] [stderr] 1064 | let mut lv1: DWRITE_OVERHANG_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteInlineObject` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1065:45 [INFO] [stderr] | [INFO] [stderr] 1065 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteInlineObject)).GetOverhangMetrics(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteInlineObject` [INFO] [stderr] ... [INFO] [stderr] 1098 | pub struct DWriteInlineObject(*mut IDWriteInlineObject); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteInlineObject` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_BREAK_CONDITION` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1072:46 [INFO] [stderr] | [INFO] [stderr] 1040 | pub trait TDWriteInlineObject: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1072 | fn get_break_conditions(&self) -> HResult<(DWRITE_BREAK_CONDITION, DWRITE_BREAK_CONDITION)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_BREAK_CONDITION` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1072:70 [INFO] [stderr] | [INFO] [stderr] 1040 | pub trait TDWriteInlineObject: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1072 | fn get_break_conditions(&self) -> HResult<(DWRITE_BREAK_CONDITION, DWRITE_BREAK_CONDITION)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_BREAK_CONDITION` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1073:18 [INFO] [stderr] | [INFO] [stderr] 1073 | let mut lv1: DWRITE_BREAK_CONDITION = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_BREAK_CONDITION` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1074:18 [INFO] [stderr] | [INFO] [stderr] 1074 | let mut lv2: DWRITE_BREAK_CONDITION = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteInlineObject` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1075:45 [INFO] [stderr] | [INFO] [stderr] 1075 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteInlineObject)).GetBreakConditions(&mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteInlineObject` [INFO] [stderr] ... [INFO] [stderr] 1098 | pub struct DWriteInlineObject(*mut IDWriteInlineObject); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteInlineObject` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1083:20 [INFO] [stderr] | [INFO] [stderr] 1083 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1086:26 [INFO] [stderr] | [INFO] [stderr] 1086 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteInlineObject` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1098:36 [INFO] [stderr] | [INFO] [stderr] 1098 | pub struct DWriteInlineObject(*mut IDWriteInlineObject); [INFO] [stderr] | -----------------------------------^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteInlineObject` [INFO] [stderr] | similarly named struct `DWriteInlineObject` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1101:15 [INFO] [stderr] | [INFO] [stderr] 1101 | fn iid() -> REFGUID { &IID_IDWriteInlineObject } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteInlineObject` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1101:26 [INFO] [stderr] | [INFO] [stderr] 1098 | pub struct DWriteInlineObject(*mut IDWriteInlineObject); [INFO] [stderr] | -------------------------------------------------------- similarly named tuple struct `DWriteInlineObject` defined here [INFO] [stderr] ... [INFO] [stderr] 1101 | fn iid() -> REFGUID { &IID_IDWriteInlineObject } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteInlineObject` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1108:83 [INFO] [stderr] | [INFO] [stderr] 1104 | pub trait TDWriteLocalFontFileLoader: TDWriteFontFileLoader { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1108 | fn get_file_path_length_from_key(&self, fontFileReferenceKey: &T) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1109:18 [INFO] [stderr] | [INFO] [stderr] 1109 | let mut lv1: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalFontFileLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1110:45 [INFO] [stderr] | [INFO] [stderr] 1110 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalFontFileLoader)).GetFilePathLengthFromKey(fontFileReferenceKey as *const _ as *const _, mem::size_of_val(fontFileReferenceKey) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalFontFileLoader` [INFO] [stderr] ... [INFO] [stderr] 1152 | pub struct DWriteLocalFontFileLoader(*mut IDWriteLocalFontFileLoader); [INFO] [stderr] | ---------------------------------------------------------------------- similarly named struct `DWriteLocalFontFileLoader` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1110:187 [INFO] [stderr] | [INFO] [stderr] 1110 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalFontFileLoader)).GetFilePathLengthFromKey(fontFileReferenceKey as *const _ as *const _, mem::size_of_val(fontFileReferenceKey) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1117:81 [INFO] [stderr] | [INFO] [stderr] 1117 | fn get_file_path_from_key(&self, fontFileReferenceKey: &T, filePath: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1117:100 [INFO] [stderr] | [INFO] [stderr] 1104 | pub trait TDWriteLocalFontFileLoader: TDWriteFontFileLoader { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1117 | fn get_file_path_from_key(&self, fontFileReferenceKey: &T, filePath: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalFontFileLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1119:45 [INFO] [stderr] | [INFO] [stderr] 1119 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalFontFileLoader)).GetFilePathFromKey(fontFileReferenceKey as *const _ as *const _, mem::size_of_val(fontFileReferenceKey) as UINT32, slice_as_mut_ptr(filePath), filePath.len() as UINT32) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalFontFileLoader` [INFO] [stderr] ... [INFO] [stderr] 1152 | pub struct DWriteLocalFontFileLoader(*mut IDWriteLocalFontFileLoader); [INFO] [stderr] | ---------------------------------------------------------------------- similarly named struct `DWriteLocalFontFileLoader` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1119:181 [INFO] [stderr] | [INFO] [stderr] 1119 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalFontFileLoader)).GetFilePathFromKey(fontFileReferenceKey as *const _ as *const _, mem::size_of_val(fontFileReferenceKey) as UINT32, slice_as_mut_ptr(filePath), filePath.len() as UINT32) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1119:235 [INFO] [stderr] | [INFO] [stderr] 1119 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalFontFileLoader)).GetFilePathFromKey(fontFileReferenceKey as *const _ as *const _, mem::size_of_val(fontFileReferenceKey) as UINT32, slice_as_mut_ptr(filePath), filePath.len() as UINT32) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FILETIME` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1126:82 [INFO] [stderr] | [INFO] [stderr] 1104 | pub trait TDWriteLocalFontFileLoader: TDWriteFontFileLoader { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1126 | fn get_last_write_time_from_key(&self, fontFileReferenceKey: &T) -> HResult { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FILETIME` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1127:18 [INFO] [stderr] | [INFO] [stderr] 1127 | let mut lv1: FILETIME = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalFontFileLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1128:45 [INFO] [stderr] | [INFO] [stderr] 1128 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalFontFileLoader)).GetLastWriteTimeFromKey(fontFileReferenceKey as *const _ as *const _, mem::size_of_val(fontFileReferenceKey) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalFontFileLoader` [INFO] [stderr] ... [INFO] [stderr] 1152 | pub struct DWriteLocalFontFileLoader(*mut IDWriteLocalFontFileLoader); [INFO] [stderr] | ---------------------------------------------------------------------- similarly named struct `DWriteLocalFontFileLoader` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1128:186 [INFO] [stderr] | [INFO] [stderr] 1128 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalFontFileLoader)).GetLastWriteTimeFromKey(fontFileReferenceKey as *const _ as *const _, mem::size_of_val(fontFileReferenceKey) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1136:20 [INFO] [stderr] | [INFO] [stderr] 1136 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1139:26 [INFO] [stderr] | [INFO] [stderr] 1139 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalFontFileLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1152:43 [INFO] [stderr] | [INFO] [stderr] 1152 | pub struct DWriteLocalFontFileLoader(*mut IDWriteLocalFontFileLoader); [INFO] [stderr] | ------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteLocalFontFileLoader` [INFO] [stderr] | similarly named struct `DWriteLocalFontFileLoader` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1155:15 [INFO] [stderr] | [INFO] [stderr] 1155 | fn iid() -> REFGUID { &IID_IDWriteLocalFontFileLoader } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteLocalFontFileLoader` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1155:26 [INFO] [stderr] | [INFO] [stderr] 1152 | pub struct DWriteLocalFontFileLoader(*mut IDWriteLocalFontFileLoader); [INFO] [stderr] | ---------------------------------------------------------------------- similarly named tuple struct `DWriteLocalFontFileLoader` defined here [INFO] [stderr] ... [INFO] [stderr] 1155 | fn iid() -> REFGUID { &IID_IDWriteLocalFontFileLoader } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteLocalFontFileLoader` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1162:26 [INFO] [stderr] | [INFO] [stderr] 1162 | fn get_count(&self) -> UINT32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1164:45 [INFO] [stderr] | [INFO] [stderr] 1164 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalizedStrings)).GetCount() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] ... [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1171:72 [INFO] [stderr] | [INFO] [stderr] 1158 | pub trait TDWriteLocalizedStrings: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1171 | fn find_locale_name>(&self, localeName: T) -> HResult<(UINT32, BOOL)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1171:80 [INFO] [stderr] | [INFO] [stderr] 1158 | pub trait TDWriteLocalizedStrings: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1171 | fn find_locale_name>(&self, localeName: T) -> HResult<(UINT32, BOOL)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1173:18 [INFO] [stderr] | [INFO] [stderr] 1173 | let mut lv2: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1174:18 [INFO] [stderr] | [INFO] [stderr] 1174 | let mut lv3: BOOL = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1175:45 [INFO] [stderr] | [INFO] [stderr] 1175 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalizedStrings)).FindLocaleName(lv1.as_ptr() as LPCWSTR, &mut lv2 as *mut _ as *mut _, &mut lv3 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] ... [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1175:102 [INFO] [stderr] | [INFO] [stderr] 1175 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalizedStrings)).FindLocaleName(lv1.as_ptr() as LPCWSTR, &mut lv2 as *mut _ as *mut _, &mut lv3 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1182:43 [INFO] [stderr] | [INFO] [stderr] 1182 | fn get_locale_name_length(&self, index: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1182:62 [INFO] [stderr] | [INFO] [stderr] 1158 | pub trait TDWriteLocalizedStrings: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1182 | fn get_locale_name_length(&self, index: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1183:18 [INFO] [stderr] | [INFO] [stderr] 1183 | let mut lv1: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1184:45 [INFO] [stderr] | [INFO] [stderr] 1184 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalizedStrings)).GetLocaleNameLength(index, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] ... [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1191:36 [INFO] [stderr] | [INFO] [stderr] 1191 | fn get_locale_name(&self, index: UINT32, localeName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1191:62 [INFO] [stderr] | [INFO] [stderr] 1191 | fn get_locale_name(&self, index: UINT32, localeName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1191:81 [INFO] [stderr] | [INFO] [stderr] 1158 | pub trait TDWriteLocalizedStrings: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1191 | fn get_locale_name(&self, index: UINT32, localeName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1193:45 [INFO] [stderr] | [INFO] [stderr] 1193 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalizedStrings)).GetLocaleName(index, slice_as_mut_ptr(localeName), localeName.len() as UINT32) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] ... [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1193:142 [INFO] [stderr] | [INFO] [stderr] 1193 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalizedStrings)).GetLocaleName(index, slice_as_mut_ptr(localeName), localeName.len() as UINT32) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1200:38 [INFO] [stderr] | [INFO] [stderr] 1200 | fn get_string_length(&self, index: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1200:57 [INFO] [stderr] | [INFO] [stderr] 1158 | pub trait TDWriteLocalizedStrings: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1200 | fn get_string_length(&self, index: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1201:18 [INFO] [stderr] | [INFO] [stderr] 1201 | let mut lv1: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1202:45 [INFO] [stderr] | [INFO] [stderr] 1202 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalizedStrings)).GetStringLength(index, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] ... [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1209:31 [INFO] [stderr] | [INFO] [stderr] 1209 | fn get_string(&self, index: UINT32, stringBuffer: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1209:59 [INFO] [stderr] | [INFO] [stderr] 1209 | fn get_string(&self, index: UINT32, stringBuffer: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1209:78 [INFO] [stderr] | [INFO] [stderr] 1158 | pub trait TDWriteLocalizedStrings: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1209 | fn get_string(&self, index: UINT32, stringBuffer: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1211:45 [INFO] [stderr] | [INFO] [stderr] 1211 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalizedStrings)).GetString(index, slice_as_mut_ptr(stringBuffer), stringBuffer.len() as UINT32) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] ... [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1211:142 [INFO] [stderr] | [INFO] [stderr] 1211 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteLocalizedStrings)).GetString(index, slice_as_mut_ptr(stringBuffer), stringBuffer.len() as UINT32) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1219:20 [INFO] [stderr] | [INFO] [stderr] 1219 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1222:26 [INFO] [stderr] | [INFO] [stderr] 1222 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1234:40 [INFO] [stderr] | [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] | similarly named struct `DWriteLocalizedStrings` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1237:15 [INFO] [stderr] | [INFO] [stderr] 1237 | fn iid() -> REFGUID { &IID_IDWriteLocalizedStrings } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteLocalizedStrings` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1237:26 [INFO] [stderr] | [INFO] [stderr] 1234 | pub struct DWriteLocalizedStrings(*mut IDWriteLocalizedStrings); [INFO] [stderr] | ---------------------------------------------------------------- similarly named tuple struct `DWriteLocalizedStrings` defined here [INFO] [stderr] ... [INFO] [stderr] 1237 | fn iid() -> REFGUID { &IID_IDWriteLocalizedStrings } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteLocalizedStrings` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1245:20 [INFO] [stderr] | [INFO] [stderr] 1245 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1248:26 [INFO] [stderr] | [INFO] [stderr] 1248 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteNumberSubstitution` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1260:42 [INFO] [stderr] | [INFO] [stderr] 1260 | pub struct DWriteNumberSubstitution(*mut IDWriteNumberSubstitution); [INFO] [stderr] | -----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteNumberSubstitution` [INFO] [stderr] | similarly named struct `DWriteNumberSubstitution` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1263:15 [INFO] [stderr] | [INFO] [stderr] 1263 | fn iid() -> REFGUID { &IID_IDWriteNumberSubstitution } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteNumberSubstitution` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1263:26 [INFO] [stderr] | [INFO] [stderr] 1260 | pub struct DWriteNumberSubstitution(*mut IDWriteNumberSubstitution); [INFO] [stderr] | -------------------------------------------------------------------- similarly named tuple struct `DWriteNumberSubstitution` defined here [INFO] [stderr] ... [INFO] [stderr] 1263 | fn iid() -> REFGUID { &IID_IDWriteNumberSubstitution } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteNumberSubstitution` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1270:93 [INFO] [stderr] | [INFO] [stderr] 1266 | pub trait TDWritePixelSnapping: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1270 | unsafe fn is_pixel_snapping_disabled(&self, clientDrawingContext: &mut [T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1271:18 [INFO] [stderr] | [INFO] [stderr] 1271 | let mut lv1: BOOL = {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWritePixelSnapping` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1272:39 [INFO] [stderr] | [INFO] [stderr] 1272 | let _hr= { (*(self.iptr() as *mut IDWritePixelSnapping)).IsPixelSnappingDisabled(clientDrawingContext.as_mut_ptr() as *mut _, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWritePixelSnapping` [INFO] [stderr] ... [INFO] [stderr] 1313 | pub struct DWritePixelSnapping(*mut IDWritePixelSnapping); [INFO] [stderr] | ---------------------------------------------------------- similarly named struct `DWritePixelSnapping` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MATRIX` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1279:88 [INFO] [stderr] | [INFO] [stderr] 1266 | pub trait TDWritePixelSnapping: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1279 | unsafe fn get_current_transform(&self, clientDrawingContext: &mut [T]) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MATRIX` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1280:18 [INFO] [stderr] | [INFO] [stderr] 1280 | let mut lv1: DWRITE_MATRIX = {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWritePixelSnapping` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1281:39 [INFO] [stderr] | [INFO] [stderr] 1281 | let _hr= { (*(self.iptr() as *mut IDWritePixelSnapping)).GetCurrentTransform(clientDrawingContext.as_mut_ptr() as *mut _, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWritePixelSnapping` [INFO] [stderr] ... [INFO] [stderr] 1313 | pub struct DWritePixelSnapping(*mut IDWritePixelSnapping); [INFO] [stderr] | ---------------------------------------------------------- similarly named struct `DWritePixelSnapping` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1288:85 [INFO] [stderr] | [INFO] [stderr] 1266 | pub trait TDWritePixelSnapping: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1288 | unsafe fn get_pixels_per_dip(&self, clientDrawingContext: &mut [T]) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1289:18 [INFO] [stderr] | [INFO] [stderr] 1289 | let mut lv1: FLOAT = {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWritePixelSnapping` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1290:39 [INFO] [stderr] | [INFO] [stderr] 1290 | let _hr= { (*(self.iptr() as *mut IDWritePixelSnapping)).GetPixelsPerDip(clientDrawingContext.as_mut_ptr() as *mut _, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWritePixelSnapping` [INFO] [stderr] ... [INFO] [stderr] 1313 | pub struct DWritePixelSnapping(*mut IDWritePixelSnapping); [INFO] [stderr] | ---------------------------------------------------------- similarly named struct `DWritePixelSnapping` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1298:20 [INFO] [stderr] | [INFO] [stderr] 1298 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1301:26 [INFO] [stderr] | [INFO] [stderr] 1301 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWritePixelSnapping` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1313:37 [INFO] [stderr] | [INFO] [stderr] 1313 | pub struct DWritePixelSnapping(*mut IDWritePixelSnapping); [INFO] [stderr] | ------------------------------------^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWritePixelSnapping` [INFO] [stderr] | similarly named struct `DWritePixelSnapping` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1316:15 [INFO] [stderr] | [INFO] [stderr] 1316 | fn iid() -> REFGUID { &IID_IDWritePixelSnapping } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWritePixelSnapping` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1316:26 [INFO] [stderr] | [INFO] [stderr] 1313 | pub struct DWritePixelSnapping(*mut IDWritePixelSnapping); [INFO] [stderr] | ---------------------------------------------------------- similarly named tuple struct `DWritePixelSnapping` defined here [INFO] [stderr] ... [INFO] [stderr] 1316 | fn iid() -> REFGUID { &IID_IDWritePixelSnapping } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWritePixelSnapping` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1323:26 [INFO] [stderr] | [INFO] [stderr] 1323 | fn get_gamma(&self) -> FLOAT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1325:45 [INFO] [stderr] | [INFO] [stderr] 1325 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteRenderingParams)).GetGamma() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] ... [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | -------------------------------------------------------------- similarly named struct `DWriteRenderingParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1332:38 [INFO] [stderr] | [INFO] [stderr] 1332 | fn get_enhanced_contrast(&self) -> FLOAT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1334:45 [INFO] [stderr] | [INFO] [stderr] 1334 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteRenderingParams)).GetEnhancedContrast() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] ... [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | -------------------------------------------------------------- similarly named struct `DWriteRenderingParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1341:37 [INFO] [stderr] | [INFO] [stderr] 1341 | fn get_clear_type_level(&self) -> FLOAT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1343:45 [INFO] [stderr] | [INFO] [stderr] 1343 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteRenderingParams)).GetClearTypeLevel() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] ... [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | -------------------------------------------------------------- similarly named struct `DWriteRenderingParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_PIXEL_GEOMETRY` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1350:35 [INFO] [stderr] | [INFO] [stderr] 1350 | fn get_pixel_geometry(&self) -> DWRITE_PIXEL_GEOMETRY { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1352:45 [INFO] [stderr] | [INFO] [stderr] 1352 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteRenderingParams)).GetPixelGeometry() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] ... [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | -------------------------------------------------------------- similarly named struct `DWriteRenderingParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_RENDERING_MODE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1359:35 [INFO] [stderr] | [INFO] [stderr] 1359 | fn get_rendering_mode(&self) -> DWRITE_RENDERING_MODE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1361:45 [INFO] [stderr] | [INFO] [stderr] 1361 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteRenderingParams)).GetRenderingMode() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] ... [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | -------------------------------------------------------------- similarly named struct `DWriteRenderingParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1369:20 [INFO] [stderr] | [INFO] [stderr] 1369 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1372:26 [INFO] [stderr] | [INFO] [stderr] 1372 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1384:39 [INFO] [stderr] | [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | --------------------------------------^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] | similarly named struct `DWriteRenderingParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1387:15 [INFO] [stderr] | [INFO] [stderr] 1387 | fn iid() -> REFGUID { &IID_IDWriteRenderingParams } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteRenderingParams` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1387:26 [INFO] [stderr] | [INFO] [stderr] 1384 | pub struct DWriteRenderingParams(*mut IDWriteRenderingParams); [INFO] [stderr] | -------------------------------------------------------------- similarly named tuple struct `DWriteRenderingParams` defined here [INFO] [stderr] ... [INFO] [stderr] 1387 | fn iid() -> REFGUID { &IID_IDWriteRenderingParams } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteRenderingParams` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalysisSource` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1394:49 [INFO] [stderr] | [INFO] [stderr] 1394 | fn analyze_script(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1394:90 [INFO] [stderr] | [INFO] [stderr] 1394 | fn analyze_script(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1394:110 [INFO] [stderr] | [INFO] [stderr] 1394 | fn analyze_script(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalysisSink` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1394:137 [INFO] [stderr] | [INFO] [stderr] 1394 | fn analyze_script(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1394:173 [INFO] [stderr] | [INFO] [stderr] 1390 | pub trait TDWriteTextAnalyzer: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1394 | fn analyze_script(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalyzer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1396:45 [INFO] [stderr] | [INFO] [stderr] 1396 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextAnalyzer)).AnalyzeScript(analysisSource, textPosition, textLength, analysisSink) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextAnalyzer` [INFO] [stderr] ... [INFO] [stderr] 1452 | pub struct DWriteTextAnalyzer(*mut IDWriteTextAnalyzer); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteTextAnalyzer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalysisSource` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1403:47 [INFO] [stderr] | [INFO] [stderr] 1403 | fn analyze_bidi(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1403:88 [INFO] [stderr] | [INFO] [stderr] 1403 | fn analyze_bidi(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1403:108 [INFO] [stderr] | [INFO] [stderr] 1403 | fn analyze_bidi(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalysisSink` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1403:135 [INFO] [stderr] | [INFO] [stderr] 1403 | fn analyze_bidi(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1403:171 [INFO] [stderr] | [INFO] [stderr] 1390 | pub trait TDWriteTextAnalyzer: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1403 | fn analyze_bidi(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalyzer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1405:45 [INFO] [stderr] | [INFO] [stderr] 1405 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextAnalyzer)).AnalyzeBidi(analysisSource, textPosition, textLength, analysisSink) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextAnalyzer` [INFO] [stderr] ... [INFO] [stderr] 1452 | pub struct DWriteTextAnalyzer(*mut IDWriteTextAnalyzer); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteTextAnalyzer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalysisSource` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1412:62 [INFO] [stderr] | [INFO] [stderr] 1412 | fn analyze_number_substitution(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1412:103 [INFO] [stderr] | [INFO] [stderr] 1412 | fn analyze_number_substitution(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1412:123 [INFO] [stderr] | [INFO] [stderr] 1412 | fn analyze_number_substitution(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalysisSink` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1412:150 [INFO] [stderr] | [INFO] [stderr] 1412 | fn analyze_number_substitution(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1412:186 [INFO] [stderr] | [INFO] [stderr] 1390 | pub trait TDWriteTextAnalyzer: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1412 | fn analyze_number_substitution(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalyzer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1414:45 [INFO] [stderr] | [INFO] [stderr] 1414 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextAnalyzer)).AnalyzeNumberSubstitution(analysisSource, textPosition, textLength, analysisSink) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextAnalyzer` [INFO] [stderr] ... [INFO] [stderr] 1452 | pub struct DWriteTextAnalyzer(*mut IDWriteTextAnalyzer); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteTextAnalyzer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalysisSource` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1421:59 [INFO] [stderr] | [INFO] [stderr] 1421 | fn analyze_line_breakpoints(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1421:100 [INFO] [stderr] | [INFO] [stderr] 1421 | fn analyze_line_breakpoints(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1421:120 [INFO] [stderr] | [INFO] [stderr] 1421 | fn analyze_line_breakpoints(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalysisSink` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1421:147 [INFO] [stderr] | [INFO] [stderr] 1421 | fn analyze_line_breakpoints(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1421:183 [INFO] [stderr] | [INFO] [stderr] 1390 | pub trait TDWriteTextAnalyzer: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1421 | fn analyze_line_breakpoints(&self, analysisSource: &mut IDWriteTextAnalysisSource, textPosition: UINT32, textLength: UINT32, analysisSink: &mut IDWriteTextAnalysisSink) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalyzer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1423:45 [INFO] [stderr] | [INFO] [stderr] 1423 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextAnalyzer)).AnalyzeLineBreakpoints(analysisSource, textPosition, textLength, analysisSink) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextAnalyzer` [INFO] [stderr] ... [INFO] [stderr] 1452 | pub struct DWriteTextAnalyzer(*mut IDWriteTextAnalyzer); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteTextAnalyzer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1437:20 [INFO] [stderr] | [INFO] [stderr] 1437 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1440:26 [INFO] [stderr] | [INFO] [stderr] 1440 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextAnalyzer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1452:36 [INFO] [stderr] | [INFO] [stderr] 1452 | pub struct DWriteTextAnalyzer(*mut IDWriteTextAnalyzer); [INFO] [stderr] | -----------------------------------^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteTextAnalyzer` [INFO] [stderr] | similarly named struct `DWriteTextAnalyzer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1455:15 [INFO] [stderr] | [INFO] [stderr] 1455 | fn iid() -> REFGUID { &IID_IDWriteTextAnalyzer } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteTextAnalyzer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1455:26 [INFO] [stderr] | [INFO] [stderr] 1452 | pub struct DWriteTextAnalyzer(*mut IDWriteTextAnalyzer); [INFO] [stderr] | -------------------------------------------------------- similarly named tuple struct `DWriteTextAnalyzer` defined here [INFO] [stderr] ... [INFO] [stderr] 1455 | fn iid() -> REFGUID { &IID_IDWriteTextAnalyzer } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteTextAnalyzer` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_ALIGNMENT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1462:47 [INFO] [stderr] | [INFO] [stderr] 1462 | fn set_text_alignment(&self, textAlignment: DWRITE_TEXT_ALIGNMENT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1462:81 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1462 | fn set_text_alignment(&self, textAlignment: DWRITE_TEXT_ALIGNMENT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1464:45 [INFO] [stderr] | [INFO] [stderr] 1464 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).SetTextAlignment(textAlignment) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_PARAGRAPH_ALIGNMENT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1471:57 [INFO] [stderr] | [INFO] [stderr] 1471 | fn set_paragraph_alignment(&self, paragraphAlignment: DWRITE_PARAGRAPH_ALIGNMENT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1471:96 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1471 | fn set_paragraph_alignment(&self, paragraphAlignment: DWRITE_PARAGRAPH_ALIGNMENT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1473:45 [INFO] [stderr] | [INFO] [stderr] 1473 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).SetParagraphAlignment(paragraphAlignment) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_WORD_WRAPPING` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1480:45 [INFO] [stderr] | [INFO] [stderr] 1480 | fn set_word_wrapping(&self, wordWrapping: DWRITE_WORD_WRAPPING) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1480:78 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1480 | fn set_word_wrapping(&self, wordWrapping: DWRITE_WORD_WRAPPING) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1482:45 [INFO] [stderr] | [INFO] [stderr] 1482 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).SetWordWrapping(wordWrapping) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_READING_DIRECTION` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1489:53 [INFO] [stderr] | [INFO] [stderr] 1489 | fn set_reading_direction(&self, readingDirection: DWRITE_READING_DIRECTION) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1489:90 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1489 | fn set_reading_direction(&self, readingDirection: DWRITE_READING_DIRECTION) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1491:45 [INFO] [stderr] | [INFO] [stderr] 1491 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).SetReadingDirection(readingDirection) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FLOW_DIRECTION` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1498:47 [INFO] [stderr] | [INFO] [stderr] 1498 | fn set_flow_direction(&self, flowDirection: DWRITE_FLOW_DIRECTION) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1498:81 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1498 | fn set_flow_direction(&self, flowDirection: DWRITE_FLOW_DIRECTION) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1500:45 [INFO] [stderr] | [INFO] [stderr] 1500 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).SetFlowDirection(flowDirection) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1507:58 [INFO] [stderr] | [INFO] [stderr] 1507 | fn set_incremental_tab_stop(&self, incrementalTabStop: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1507:76 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1507 | fn set_incremental_tab_stop(&self, incrementalTabStop: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1509:45 [INFO] [stderr] | [INFO] [stderr] 1509 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).SetIncrementalTabStop(incrementalTabStop) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TRIMMING` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1516:68 [INFO] [stderr] | [INFO] [stderr] 1516 | fn set_trimming(&self, trimmingOptions: &DWRITE_TRIMMING, trimmingSign: &T) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1516:114 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1516 | fn set_trimming(&self, trimmingOptions: &DWRITE_TRIMMING, trimmingSign: &T) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1518:45 [INFO] [stderr] | [INFO] [stderr] 1518 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).SetTrimming(trimmingOptions, trimmingSign.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_LINE_SPACING_METHOD` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1525:49 [INFO] [stderr] | [INFO] [stderr] 1525 | fn set_line_spacing(&self, lineSpacingMethod: DWRITE_LINE_SPACING_METHOD, lineSpacing: FLOAT, baseline: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1525:90 [INFO] [stderr] | [INFO] [stderr] 1525 | fn set_line_spacing(&self, lineSpacingMethod: DWRITE_LINE_SPACING_METHOD, lineSpacing: FLOAT, baseline: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1525:107 [INFO] [stderr] | [INFO] [stderr] 1525 | fn set_line_spacing(&self, lineSpacingMethod: DWRITE_LINE_SPACING_METHOD, lineSpacing: FLOAT, baseline: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1525:125 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1525 | fn set_line_spacing(&self, lineSpacingMethod: DWRITE_LINE_SPACING_METHOD, lineSpacing: FLOAT, baseline: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1527:45 [INFO] [stderr] | [INFO] [stderr] 1527 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).SetLineSpacing(lineSpacingMethod, lineSpacing, baseline) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_ALIGNMENT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1534:35 [INFO] [stderr] | [INFO] [stderr] 1534 | fn get_text_alignment(&self) -> DWRITE_TEXT_ALIGNMENT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1536:45 [INFO] [stderr] | [INFO] [stderr] 1536 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetTextAlignment() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_PARAGRAPH_ALIGNMENT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1543:40 [INFO] [stderr] | [INFO] [stderr] 1543 | fn get_paragraph_alignment(&self) -> DWRITE_PARAGRAPH_ALIGNMENT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1545:45 [INFO] [stderr] | [INFO] [stderr] 1545 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetParagraphAlignment() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_WORD_WRAPPING` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1552:34 [INFO] [stderr] | [INFO] [stderr] 1552 | fn get_word_wrapping(&self) -> DWRITE_WORD_WRAPPING { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1554:45 [INFO] [stderr] | [INFO] [stderr] 1554 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetWordWrapping() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_READING_DIRECTION` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1561:38 [INFO] [stderr] | [INFO] [stderr] 1561 | fn get_reading_direction(&self) -> DWRITE_READING_DIRECTION { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1563:45 [INFO] [stderr] | [INFO] [stderr] 1563 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetReadingDirection() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FLOW_DIRECTION` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1570:35 [INFO] [stderr] | [INFO] [stderr] 1570 | fn get_flow_direction(&self) -> DWRITE_FLOW_DIRECTION { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1572:45 [INFO] [stderr] | [INFO] [stderr] 1572 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetFlowDirection() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1579:41 [INFO] [stderr] | [INFO] [stderr] 1579 | fn get_incremental_tab_stop(&self) -> FLOAT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1581:45 [INFO] [stderr] | [INFO] [stderr] 1581 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetIncrementalTabStop() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TRIMMING` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1588:48 [INFO] [stderr] | [INFO] [stderr] 1588 | fn get_trimming(&self, trimmingOptions: &mut DWRITE_TRIMMING) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteInlineObject` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1589:23 [INFO] [stderr] | [INFO] [stderr] 1098 | pub struct DWriteInlineObject(*mut IDWriteInlineObject); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteInlineObject` defined here [INFO] [stderr] ... [INFO] [stderr] 1589 | let mut lv1: *mut IDWriteInlineObject = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteInlineObject` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1590:45 [INFO] [stderr] | [INFO] [stderr] 1590 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetTrimming(trimmingOptions, &mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_LINE_SPACING_METHOD` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1597:42 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1597 | fn get_line_spacing(&self) -> HResult<(DWRITE_LINE_SPACING_METHOD, FLOAT, FLOAT)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1597:70 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1597 | fn get_line_spacing(&self) -> HResult<(DWRITE_LINE_SPACING_METHOD, FLOAT, FLOAT)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1597:77 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1597 | fn get_line_spacing(&self) -> HResult<(DWRITE_LINE_SPACING_METHOD, FLOAT, FLOAT)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_LINE_SPACING_METHOD` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1598:18 [INFO] [stderr] | [INFO] [stderr] 1598 | let mut lv1: DWRITE_LINE_SPACING_METHOD = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1599:18 [INFO] [stderr] | [INFO] [stderr] 1599 | let mut lv2: FLOAT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1600:18 [INFO] [stderr] | [INFO] [stderr] 1600 | let mut lv3: FLOAT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1601:45 [INFO] [stderr] | [INFO] [stderr] 1601 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetLineSpacing(&mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _, &mut lv3 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1609:23 [INFO] [stderr] | [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] ... [INFO] [stderr] 1609 | let mut lv1: *mut IDWriteFontCollection = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1610:45 [INFO] [stderr] | [INFO] [stderr] 1610 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetFontCollection(&mut lv1 as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1617:44 [INFO] [stderr] | [INFO] [stderr] 1617 | fn get_font_family_name_length(&self) -> UINT32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1619:45 [INFO] [stderr] | [INFO] [stderr] 1619 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetFontFamilyNameLength() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1626:56 [INFO] [stderr] | [INFO] [stderr] 1626 | fn get_font_family_name(&self, fontFamilyName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1626:75 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1626 | fn get_font_family_name(&self, fontFamilyName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1628:45 [INFO] [stderr] | [INFO] [stderr] 1628 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetFontFamilyName(slice_as_mut_ptr(fontFamilyName), fontFamilyName.len() as UINT32) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1628:141 [INFO] [stderr] | [INFO] [stderr] 1628 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetFontFamilyName(slice_as_mut_ptr(fontFamilyName), fontFamilyName.len() as UINT32) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1635:32 [INFO] [stderr] | [INFO] [stderr] 1635 | fn get_font_weight(&self) -> DWRITE_FONT_WEIGHT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1637:45 [INFO] [stderr] | [INFO] [stderr] 1637 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetFontWeight() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1644:31 [INFO] [stderr] | [INFO] [stderr] 1644 | fn get_font_style(&self) -> DWRITE_FONT_STYLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1646:45 [INFO] [stderr] | [INFO] [stderr] 1646 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetFontStyle() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1653:33 [INFO] [stderr] | [INFO] [stderr] 1653 | fn get_font_stretch(&self) -> DWRITE_FONT_STRETCH { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1655:45 [INFO] [stderr] | [INFO] [stderr] 1655 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetFontStretch() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1662:30 [INFO] [stderr] | [INFO] [stderr] 1662 | fn get_font_size(&self) -> FLOAT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1664:45 [INFO] [stderr] | [INFO] [stderr] 1664 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetFontSize() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1671:39 [INFO] [stderr] | [INFO] [stderr] 1671 | fn get_locale_name_length(&self) -> UINT32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1673:45 [INFO] [stderr] | [INFO] [stderr] 1673 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetLocaleNameLength() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1680:47 [INFO] [stderr] | [INFO] [stderr] 1680 | fn get_locale_name(&self, localeName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1680:66 [INFO] [stderr] | [INFO] [stderr] 1458 | pub trait TDWriteTextFormat: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1680 | fn get_locale_name(&self, localeName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1682:45 [INFO] [stderr] | [INFO] [stderr] 1682 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetLocaleName(slice_as_mut_ptr(localeName), localeName.len() as UINT32) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] ... [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1682:129 [INFO] [stderr] | [INFO] [stderr] 1682 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextFormat)).GetLocaleName(slice_as_mut_ptr(localeName), localeName.len() as UINT32) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1690:20 [INFO] [stderr] | [INFO] [stderr] 1690 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1693:26 [INFO] [stderr] | [INFO] [stderr] 1693 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1705:34 [INFO] [stderr] | [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] | similarly named struct `DWriteTextFormat` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1708:15 [INFO] [stderr] | [INFO] [stderr] 1708 | fn iid() -> REFGUID { &IID_IDWriteTextFormat } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteTextFormat` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1708:26 [INFO] [stderr] | [INFO] [stderr] 1705 | pub struct DWriteTextFormat(*mut IDWriteTextFormat); [INFO] [stderr] | ---------------------------------------------------- similarly named tuple struct `DWriteTextFormat` defined here [INFO] [stderr] ... [INFO] [stderr] 1708 | fn iid() -> REFGUID { &IID_IDWriteTextFormat } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteTextFormat` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1715:37 [INFO] [stderr] | [INFO] [stderr] 1715 | fn set_max_width(&self, maxWidth: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1715:55 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1715 | fn set_max_width(&self, maxWidth: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1717:45 [INFO] [stderr] | [INFO] [stderr] 1717 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetMaxWidth(maxWidth) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1724:39 [INFO] [stderr] | [INFO] [stderr] 1724 | fn set_max_height(&self, maxHeight: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1724:57 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1724 | fn set_max_height(&self, maxHeight: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1726:45 [INFO] [stderr] | [INFO] [stderr] 1726 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetMaxHeight(maxHeight) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1733:90 [INFO] [stderr] | [INFO] [stderr] 1733 | fn set_font_collection(&self, fontCollection: &T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1733:120 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1733 | fn set_font_collection(&self, fontCollection: &T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1735:45 [INFO] [stderr] | [INFO] [stderr] 1735 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetFontCollection(fontCollection.iptr() as *mut _ as *mut _ , textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1742:79 [INFO] [stderr] | [INFO] [stderr] 1742 | fn set_font_family_name>(&self, fontFamilyName: T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1742:109 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1742 | fn set_font_family_name>(&self, fontFamilyName: T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1744:45 [INFO] [stderr] | [INFO] [stderr] 1744 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetFontFamilyName(lv1.as_ptr() as LPCWSTR, textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1744:99 [INFO] [stderr] | [INFO] [stderr] 1744 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetFontFamilyName(lv1.as_ptr() as LPCWSTR, textRange) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1751:41 [INFO] [stderr] | [INFO] [stderr] 1751 | fn set_font_weight(&self, fontWeight: DWRITE_FONT_WEIGHT, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1751:72 [INFO] [stderr] | [INFO] [stderr] 1751 | fn set_font_weight(&self, fontWeight: DWRITE_FONT_WEIGHT, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1751:102 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1751 | fn set_font_weight(&self, fontWeight: DWRITE_FONT_WEIGHT, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1753:45 [INFO] [stderr] | [INFO] [stderr] 1753 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetFontWeight(fontWeight, textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1760:39 [INFO] [stderr] | [INFO] [stderr] 1760 | fn set_font_style(&self, fontStyle: DWRITE_FONT_STYLE, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1760:69 [INFO] [stderr] | [INFO] [stderr] 1760 | fn set_font_style(&self, fontStyle: DWRITE_FONT_STYLE, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1760:99 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1760 | fn set_font_style(&self, fontStyle: DWRITE_FONT_STYLE, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1762:45 [INFO] [stderr] | [INFO] [stderr] 1762 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetFontStyle(fontStyle, textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1769:43 [INFO] [stderr] | [INFO] [stderr] 1769 | fn set_font_stretch(&self, fontStretch: DWRITE_FONT_STRETCH, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1769:75 [INFO] [stderr] | [INFO] [stderr] 1769 | fn set_font_stretch(&self, fontStretch: DWRITE_FONT_STRETCH, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1769:105 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1769 | fn set_font_stretch(&self, fontStretch: DWRITE_FONT_STRETCH, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1771:45 [INFO] [stderr] | [INFO] [stderr] 1771 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetFontStretch(fontStretch, textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1778:37 [INFO] [stderr] | [INFO] [stderr] 1778 | fn set_font_size(&self, fontSize: FLOAT, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1778:55 [INFO] [stderr] | [INFO] [stderr] 1778 | fn set_font_size(&self, fontSize: FLOAT, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1778:85 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1778 | fn set_font_size(&self, fontSize: FLOAT, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1780:45 [INFO] [stderr] | [INFO] [stderr] 1780 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetFontSize(fontSize, textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1787:41 [INFO] [stderr] | [INFO] [stderr] 1787 | fn set_underline(&self, hasUnderline: BOOL, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1787:58 [INFO] [stderr] | [INFO] [stderr] 1787 | fn set_underline(&self, hasUnderline: BOOL, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1787:88 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1787 | fn set_underline(&self, hasUnderline: BOOL, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1789:45 [INFO] [stderr] | [INFO] [stderr] 1789 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetUnderline(hasUnderline, textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1796:49 [INFO] [stderr] | [INFO] [stderr] 1796 | fn set_strikethrough(&self, hasStrikethrough: BOOL, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1796:66 [INFO] [stderr] | [INFO] [stderr] 1796 | fn set_strikethrough(&self, hasStrikethrough: BOOL, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1796:96 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1796 | fn set_strikethrough(&self, hasStrikethrough: BOOL, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1798:45 [INFO] [stderr] | [INFO] [stderr] 1798 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetStrikethrough(hasStrikethrough, textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1805:75 [INFO] [stderr] | [INFO] [stderr] 1805 | fn set_drawing_effect(&self, drawingEffect: &T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1805:105 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1805 | fn set_drawing_effect(&self, drawingEffect: &T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1807:45 [INFO] [stderr] | [INFO] [stderr] 1807 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetDrawingEffect(drawingEffect.iptr() as *mut _ as *mut _ , textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1814:84 [INFO] [stderr] | [INFO] [stderr] 1814 | fn set_inline_object(&self, inlineObject: &T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1814:114 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1814 | fn set_inline_object(&self, inlineObject: &T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1816:45 [INFO] [stderr] | [INFO] [stderr] 1816 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetInlineObject(inlineObject.iptr() as *mut _ as *mut _ , textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1823:77 [INFO] [stderr] | [INFO] [stderr] 1823 | fn set_typography(&self, typography: &T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1823:107 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1823 | fn set_typography(&self, typography: &T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1825:45 [INFO] [stderr] | [INFO] [stderr] 1825 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetTypography(typography.iptr() as *mut _ as *mut _ , textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1832:70 [INFO] [stderr] | [INFO] [stderr] 1832 | fn set_locale_name>(&self, localeName: T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1832:100 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1832 | fn set_locale_name>(&self, localeName: T, textRange: DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1834:45 [INFO] [stderr] | [INFO] [stderr] 1834 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetLocaleName(lv1.as_ptr() as LPCWSTR, textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1834:95 [INFO] [stderr] | [INFO] [stderr] 1834 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).SetLocaleName(lv1.as_ptr() as LPCWSTR, textRange) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1841:30 [INFO] [stderr] | [INFO] [stderr] 1841 | fn get_max_width(&self) -> FLOAT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1843:45 [INFO] [stderr] | [INFO] [stderr] 1843 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetMaxWidth() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1850:31 [INFO] [stderr] | [INFO] [stderr] 1850 | fn get_max_height(&self) -> FLOAT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1852:45 [INFO] [stderr] | [INFO] [stderr] 1852 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetMaxHeight() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1859:53 [INFO] [stderr] | [INFO] [stderr] 1859 | fn get_font_collection_tl(&self, currentPosition: UINT32) -> HResult<(DWriteFontCollection, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1859:95 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1859 | fn get_font_collection_tl(&self, currentPosition: UINT32) -> HResult<(DWriteFontCollection, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1860:23 [INFO] [stderr] | [INFO] [stderr] 416 | pub struct DWriteFontCollection(*mut IDWriteFontCollection); [INFO] [stderr] | ------------------------------------------------------------ similarly named struct `DWriteFontCollection` defined here [INFO] [stderr] ... [INFO] [stderr] 1860 | let mut lv1: *mut IDWriteFontCollection = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteFontCollection` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1861:18 [INFO] [stderr] | [INFO] [stderr] 1861 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1862:45 [INFO] [stderr] | [INFO] [stderr] 1862 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetFontCollection(currentPosition, &mut lv1 as *mut *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1869:61 [INFO] [stderr] | [INFO] [stderr] 1869 | fn get_font_family_name_length_tl(&self, currentPosition: UINT32) -> HResult<(UINT32, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1869:81 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1869 | fn get_font_family_name_length_tl(&self, currentPosition: UINT32) -> HResult<(UINT32, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1869:89 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1869 | fn get_font_family_name_length_tl(&self, currentPosition: UINT32) -> HResult<(UINT32, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1870:18 [INFO] [stderr] | [INFO] [stderr] 1870 | let mut lv1: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1871:18 [INFO] [stderr] | [INFO] [stderr] 1871 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1872:45 [INFO] [stderr] | [INFO] [stderr] 1872 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetFontFamilyNameLength(currentPosition, &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1879:54 [INFO] [stderr] | [INFO] [stderr] 1879 | fn get_font_family_name_tl(&self, currentPosition: UINT32, fontFamilyName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1879:84 [INFO] [stderr] | [INFO] [stderr] 1879 | fn get_font_family_name_tl(&self, currentPosition: UINT32, fontFamilyName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1879:103 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1879 | fn get_font_family_name_tl(&self, currentPosition: UINT32, fontFamilyName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1880:18 [INFO] [stderr] | [INFO] [stderr] 1880 | let mut lv1: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1881:45 [INFO] [stderr] | [INFO] [stderr] 1881 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetFontFamilyName(currentPosition, slice_as_mut_ptr(fontFamilyName), fontFamilyName.len() as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1881:158 [INFO] [stderr] | [INFO] [stderr] 1881 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetFontFamilyName(currentPosition, slice_as_mut_ptr(fontFamilyName), fontFamilyName.len() as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1888:49 [INFO] [stderr] | [INFO] [stderr] 1888 | fn get_font_weight_tl(&self, currentPosition: UINT32) -> HResult<(DWRITE_FONT_WEIGHT, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1888:69 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1888 | fn get_font_weight_tl(&self, currentPosition: UINT32) -> HResult<(DWRITE_FONT_WEIGHT, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1888:89 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1888 | fn get_font_weight_tl(&self, currentPosition: UINT32) -> HResult<(DWRITE_FONT_WEIGHT, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1889:18 [INFO] [stderr] | [INFO] [stderr] 1889 | let mut lv1: DWRITE_FONT_WEIGHT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1890:18 [INFO] [stderr] | [INFO] [stderr] 1890 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1891:45 [INFO] [stderr] | [INFO] [stderr] 1891 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetFontWeight(currentPosition, &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1898:48 [INFO] [stderr] | [INFO] [stderr] 1898 | fn get_font_style_tl(&self, currentPosition: UINT32) -> HResult<(DWRITE_FONT_STYLE, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1898:68 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1898 | fn get_font_style_tl(&self, currentPosition: UINT32) -> HResult<(DWRITE_FONT_STYLE, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1898:87 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1898 | fn get_font_style_tl(&self, currentPosition: UINT32) -> HResult<(DWRITE_FONT_STYLE, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1899:18 [INFO] [stderr] | [INFO] [stderr] 1899 | let mut lv1: DWRITE_FONT_STYLE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1900:18 [INFO] [stderr] | [INFO] [stderr] 1900 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1901:45 [INFO] [stderr] | [INFO] [stderr] 1901 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetFontStyle(currentPosition, &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1908:50 [INFO] [stderr] | [INFO] [stderr] 1908 | fn get_font_stretch_tl(&self, currentPosition: UINT32) -> HResult<(DWRITE_FONT_STRETCH, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1908:70 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1908 | fn get_font_stretch_tl(&self, currentPosition: UINT32) -> HResult<(DWRITE_FONT_STRETCH, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1908:91 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1908 | fn get_font_stretch_tl(&self, currentPosition: UINT32) -> HResult<(DWRITE_FONT_STRETCH, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1909:18 [INFO] [stderr] | [INFO] [stderr] 1909 | let mut lv1: DWRITE_FONT_STRETCH = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1910:18 [INFO] [stderr] | [INFO] [stderr] 1910 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1911:45 [INFO] [stderr] | [INFO] [stderr] 1911 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetFontStretch(currentPosition, &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1918:47 [INFO] [stderr] | [INFO] [stderr] 1918 | fn get_font_size_tl(&self, currentPosition: UINT32) -> HResult<(FLOAT, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1918:67 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1918 | fn get_font_size_tl(&self, currentPosition: UINT32) -> HResult<(FLOAT, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1918:74 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1918 | fn get_font_size_tl(&self, currentPosition: UINT32) -> HResult<(FLOAT, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1919:18 [INFO] [stderr] | [INFO] [stderr] 1919 | let mut lv1: FLOAT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1920:18 [INFO] [stderr] | [INFO] [stderr] 1920 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1921:45 [INFO] [stderr] | [INFO] [stderr] 1921 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetFontSize(currentPosition, &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1928:44 [INFO] [stderr] | [INFO] [stderr] 1928 | fn get_underline(&self, currentPosition: UINT32, hasUnderline: &mut BOOL, textRange: &mut DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1928:71 [INFO] [stderr] | [INFO] [stderr] 1928 | fn get_underline(&self, currentPosition: UINT32, hasUnderline: &mut BOOL, textRange: &mut DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1928:93 [INFO] [stderr] | [INFO] [stderr] 1928 | fn get_underline(&self, currentPosition: UINT32, hasUnderline: &mut BOOL, textRange: &mut DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1928:123 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1928 | fn get_underline(&self, currentPosition: UINT32, hasUnderline: &mut BOOL, textRange: &mut DWRITE_TEXT_RANGE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1930:45 [INFO] [stderr] | [INFO] [stderr] 1930 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetUnderline(currentPosition, hasUnderline, textRange) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1937:48 [INFO] [stderr] | [INFO] [stderr] 1937 | fn get_strikethrough(&self, currentPosition: UINT32) -> HResult<(BOOL, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1937:68 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1937 | fn get_strikethrough(&self, currentPosition: UINT32) -> HResult<(BOOL, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1937:74 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1937 | fn get_strikethrough(&self, currentPosition: UINT32) -> HResult<(BOOL, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1938:18 [INFO] [stderr] | [INFO] [stderr] 1938 | let mut lv1: BOOL = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1939:18 [INFO] [stderr] | [INFO] [stderr] 1939 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1940:45 [INFO] [stderr] | [INFO] [stderr] 1940 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetStrikethrough(currentPosition, &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1947:49 [INFO] [stderr] | [INFO] [stderr] 1947 | fn get_drawing_effect(&self, currentPosition: UINT32) -> HResult<(Unknown, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1947:78 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1947 | fn get_drawing_effect(&self, currentPosition: UINT32) -> HResult<(Unknown, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1948:23 [INFO] [stderr] | [INFO] [stderr] 1948 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1949:18 [INFO] [stderr] | [INFO] [stderr] 1949 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1950:45 [INFO] [stderr] | [INFO] [stderr] 1950 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetDrawingEffect(currentPosition, &mut lv1 as *mut *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1957:48 [INFO] [stderr] | [INFO] [stderr] 1957 | fn get_inline_object(&self, currentPosition: UINT32) -> HResult<(DWriteInlineObject, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1957:88 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1957 | fn get_inline_object(&self, currentPosition: UINT32) -> HResult<(DWriteInlineObject, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteInlineObject` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1958:23 [INFO] [stderr] | [INFO] [stderr] 1098 | pub struct DWriteInlineObject(*mut IDWriteInlineObject); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteInlineObject` defined here [INFO] [stderr] ... [INFO] [stderr] 1958 | let mut lv1: *mut IDWriteInlineObject = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteInlineObject` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1959:18 [INFO] [stderr] | [INFO] [stderr] 1959 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1960:45 [INFO] [stderr] | [INFO] [stderr] 1960 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetInlineObject(currentPosition, &mut lv1 as *mut *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1967:45 [INFO] [stderr] | [INFO] [stderr] 1967 | fn get_typography(&self, currentPosition: UINT32) -> HResult<(DWriteTypography, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1967:83 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1967 | fn get_typography(&self, currentPosition: UINT32) -> HResult<(DWriteTypography, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1968:23 [INFO] [stderr] | [INFO] [stderr] 1968 | let mut lv1: *mut IDWriteTypography = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTypography` [INFO] [stderr] ... [INFO] [stderr] 2214 | pub struct DWriteTypography(*mut IDWriteTypography); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTypography` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1969:18 [INFO] [stderr] | [INFO] [stderr] 1969 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1970:45 [INFO] [stderr] | [INFO] [stderr] 1970 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetTypography(currentPosition, &mut lv1 as *mut *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1977:56 [INFO] [stderr] | [INFO] [stderr] 1977 | fn get_locale_name_length_tl(&self, currentPosition: UINT32) -> HResult<(UINT32, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1977:76 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1977 | fn get_locale_name_length_tl(&self, currentPosition: UINT32) -> HResult<(UINT32, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1977:84 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1977 | fn get_locale_name_length_tl(&self, currentPosition: UINT32) -> HResult<(UINT32, DWRITE_TEXT_RANGE)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1978:18 [INFO] [stderr] | [INFO] [stderr] 1978 | let mut lv1: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1979:18 [INFO] [stderr] | [INFO] [stderr] 1979 | let mut lv2: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1980:45 [INFO] [stderr] | [INFO] [stderr] 1980 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetLocaleNameLength(currentPosition, &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1987:49 [INFO] [stderr] | [INFO] [stderr] 1987 | fn get_locale_name_tl(&self, currentPosition: UINT32, localeName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1987:75 [INFO] [stderr] | [INFO] [stderr] 1987 | fn get_locale_name_tl(&self, currentPosition: UINT32, localeName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1987:94 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1987 | fn get_locale_name_tl(&self, currentPosition: UINT32, localeName: &mut [WCHAR]) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_RANGE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1988:18 [INFO] [stderr] | [INFO] [stderr] 1988 | let mut lv1: DWRITE_TEXT_RANGE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1989:45 [INFO] [stderr] | [INFO] [stderr] 1989 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetLocaleName(currentPosition, slice_as_mut_ptr(localeName), localeName.len() as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1989:146 [INFO] [stderr] | [INFO] [stderr] 1989 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetLocaleName(currentPosition, slice_as_mut_ptr(localeName), localeName.len() as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1996:109 [INFO] [stderr] | [INFO] [stderr] 1996 | unsafe fn draw(&self, clientDrawingContext: &mut [T], renderer: &T1, originX: FLOAT, originY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1996:125 [INFO] [stderr] | [INFO] [stderr] 1996 | unsafe fn draw(&self, clientDrawingContext: &mut [T], renderer: &T1, originX: FLOAT, originY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1996:143 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 1996 | unsafe fn draw(&self, clientDrawingContext: &mut [T], renderer: &T1, originX: FLOAT, originY: FLOAT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:1998:39 [INFO] [stderr] | [INFO] [stderr] 1998 | let _hr= { (*(self.iptr() as *mut IDWriteTextLayout)).Draw(clientDrawingContext.as_mut_ptr() as *mut _, renderer.iptr() as *mut _ as *mut _ , originX, originY) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_LINE_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2005:56 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2005 | fn get_line_metrics(&self, lineMetrics: Option<&mut [DWRITE_LINE_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2005:90 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2005 | fn get_line_metrics(&self, lineMetrics: Option<&mut [DWRITE_LINE_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2006:18 [INFO] [stderr] | [INFO] [stderr] 2006 | let mut lv1: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2007:45 [INFO] [stderr] | [INFO] [stderr] 2007 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetLineMetrics(opt_arr_as_mut_ptr(&lineMetrics) as *mut _, lineMetrics.as_ref().map(|a|a.len()).unwrap_or(0) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2007:177 [INFO] [stderr] | [INFO] [stderr] 2007 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetLineMetrics(opt_arr_as_mut_ptr(&lineMetrics) as *mut _, lineMetrics.as_ref().map(|a|a.len()).unwrap_or(0) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2014:36 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2014 | fn get_metrics(&self) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_TEXT_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2015:18 [INFO] [stderr] | [INFO] [stderr] 2015 | let mut lv1: DWRITE_TEXT_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2016:45 [INFO] [stderr] | [INFO] [stderr] 2016 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetMetrics(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_OVERHANG_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2023:45 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2023 | fn get_overhang_metrics(&self) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_OVERHANG_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2024:18 [INFO] [stderr] | [INFO] [stderr] 2024 | let mut lv1: DWRITE_OVERHANG_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2025:45 [INFO] [stderr] | [INFO] [stderr] 2025 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetOverhangMetrics(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_CLUSTER_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2032:62 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2032 | fn get_cluster_metrics(&self, clusterMetrics: Option<&mut [DWRITE_CLUSTER_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2032:99 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2032 | fn get_cluster_metrics(&self, clusterMetrics: Option<&mut [DWRITE_CLUSTER_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2033:18 [INFO] [stderr] | [INFO] [stderr] 2033 | let mut lv1: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2034:45 [INFO] [stderr] | [INFO] [stderr] 2034 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetClusterMetrics(opt_arr_as_mut_ptr(&clusterMetrics) as *mut _, clusterMetrics.as_ref().map(|a|a.len()).unwrap_or(0) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2034:186 [INFO] [stderr] | [INFO] [stderr] 2034 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).GetClusterMetrics(opt_arr_as_mut_ptr(&clusterMetrics) as *mut _, clusterMetrics.as_ref().map(|a|a.len()).unwrap_or(0) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2041:44 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2041 | fn determine_min_width(&self) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2042:18 [INFO] [stderr] | [INFO] [stderr] 2042 | let mut lv1: FLOAT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2043:45 [INFO] [stderr] | [INFO] [stderr] 2043 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).DetermineMinWidth(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2050:36 [INFO] [stderr] | [INFO] [stderr] 2050 | fn hit_test_point(&self, pointX: FLOAT, pointY: FLOAT) -> HResult<(BOOL, BOOL, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2050:51 [INFO] [stderr] | [INFO] [stderr] 2050 | fn hit_test_point(&self, pointX: FLOAT, pointY: FLOAT) -> HResult<(BOOL, BOOL, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2050:70 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2050 | fn hit_test_point(&self, pointX: FLOAT, pointY: FLOAT) -> HResult<(BOOL, BOOL, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2050:76 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2050 | fn hit_test_point(&self, pointX: FLOAT, pointY: FLOAT) -> HResult<(BOOL, BOOL, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_HIT_TEST_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2050:82 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2050 | fn hit_test_point(&self, pointX: FLOAT, pointY: FLOAT) -> HResult<(BOOL, BOOL, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2051:18 [INFO] [stderr] | [INFO] [stderr] 2051 | let mut lv1: BOOL = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2052:18 [INFO] [stderr] | [INFO] [stderr] 2052 | let mut lv2: BOOL = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_HIT_TEST_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2053:18 [INFO] [stderr] | [INFO] [stderr] 2053 | let mut lv3: DWRITE_HIT_TEST_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2054:45 [INFO] [stderr] | [INFO] [stderr] 2054 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).HitTestPoint(pointX, pointY, &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _, &mut lv3 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2061:50 [INFO] [stderr] | [INFO] [stderr] 2061 | fn hit_test_text_position(&self, textPosition: UINT32, isTrailingHit: BOOL) -> HResult<(FLOAT, FLOAT, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2061:73 [INFO] [stderr] | [INFO] [stderr] 2061 | fn hit_test_text_position(&self, textPosition: UINT32, isTrailingHit: BOOL) -> HResult<(FLOAT, FLOAT, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2061:91 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2061 | fn hit_test_text_position(&self, textPosition: UINT32, isTrailingHit: BOOL) -> HResult<(FLOAT, FLOAT, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2061:98 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2061 | fn hit_test_text_position(&self, textPosition: UINT32, isTrailingHit: BOOL) -> HResult<(FLOAT, FLOAT, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_HIT_TEST_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2061:105 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2061 | fn hit_test_text_position(&self, textPosition: UINT32, isTrailingHit: BOOL) -> HResult<(FLOAT, FLOAT, DWRITE_HIT_TEST_METRICS)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2062:18 [INFO] [stderr] | [INFO] [stderr] 2062 | let mut lv1: FLOAT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2063:18 [INFO] [stderr] | [INFO] [stderr] 2063 | let mut lv2: FLOAT = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_HIT_TEST_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2064:18 [INFO] [stderr] | [INFO] [stderr] 2064 | let mut lv3: DWRITE_HIT_TEST_METRICS = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2065:45 [INFO] [stderr] | [INFO] [stderr] 2065 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).HitTestTextPosition(textPosition, isTrailingHit, &mut lv1 as *mut _ as *mut _, &mut lv2 as *mut _ as *mut _, &mut lv3 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2072:47 [INFO] [stderr] | [INFO] [stderr] 2072 | fn hit_test_text_range(&self, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: Option<&mut [DWRITE_HIT_TEST_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2072:67 [INFO] [stderr] | [INFO] [stderr] 2072 | fn hit_test_text_range(&self, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: Option<&mut [DWRITE_HIT_TEST_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2072:84 [INFO] [stderr] | [INFO] [stderr] 2072 | fn hit_test_text_range(&self, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: Option<&mut [DWRITE_HIT_TEST_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2072:100 [INFO] [stderr] | [INFO] [stderr] 2072 | fn hit_test_text_range(&self, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: Option<&mut [DWRITE_HIT_TEST_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_HIT_TEST_METRICS` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2072:136 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2072 | fn hit_test_text_range(&self, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: Option<&mut [DWRITE_HIT_TEST_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2072:174 [INFO] [stderr] | [INFO] [stderr] 1711 | pub trait TDWriteTextLayout: TDWriteTextFormat { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2072 | fn hit_test_text_range(&self, textPosition: UINT32, textLength: UINT32, originX: FLOAT, originY: FLOAT, hitTestMetrics: Option<&mut [DWRITE_HIT_TEST_METRICS]>) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2073:18 [INFO] [stderr] | [INFO] [stderr] 2073 | let mut lv1: UINT32 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2074:45 [INFO] [stderr] | [INFO] [stderr] 2074 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).HitTestTextRange(textPosition, textLength, originX, originY, opt_arr_as_mut_ptr(&hitTestMetrics) as *mut _, hitTestMetrics.as_ref().map(|a|a.len()).unwrap_or(0) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] ... [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2074:229 [INFO] [stderr] | [INFO] [stderr] 2074 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTextLayout)).HitTestTextRange(textPosition, textLength, originX, originY, opt_arr_as_mut_ptr(&hitTestMetrics) as *mut _, hitTestMetrics.as_ref().map(|a|a.len()).unwrap_or(0) as UINT32, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2082:20 [INFO] [stderr] | [INFO] [stderr] 2082 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2085:26 [INFO] [stderr] | [INFO] [stderr] 2085 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2098:34 [INFO] [stderr] | [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] | similarly named struct `DWriteTextLayout` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2101:15 [INFO] [stderr] | [INFO] [stderr] 2101 | fn iid() -> REFGUID { &IID_IDWriteTextLayout } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteTextLayout` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2101:26 [INFO] [stderr] | [INFO] [stderr] 2098 | pub struct DWriteTextLayout(*mut IDWriteTextLayout); [INFO] [stderr] | ---------------------------------------------------- similarly named tuple struct `DWriteTextLayout` defined here [INFO] [stderr] ... [INFO] [stderr] 2101 | fn iid() -> REFGUID { &IID_IDWriteTextLayout } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteTextLayout` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2108:101 [INFO] [stderr] | [INFO] [stderr] 2108 | unsafe fn draw_glyph_run(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, glyphRunDescription: &DWRITE_GLYPH_RUN_DESCRIPTION, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2108:125 [INFO] [stderr] | [INFO] [stderr] 2108 | unsafe fn draw_glyph_run(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, glyphRunDescription: &DWRITE_GLYPH_RUN_DESCRIPTION, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_MEASURING_MODE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2108:147 [INFO] [stderr] | [INFO] [stderr] 2108 | unsafe fn draw_glyph_run(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, glyphRunDescription: &DWRITE_GLYPH_RUN_DESCRIPTION, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_GLYPH_RUN` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2108:181 [INFO] [stderr] | [INFO] [stderr] 2108 | unsafe fn draw_glyph_run(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, glyphRunDescription: &DWRITE_GLYPH_RUN_DESCRIPTION, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_GLYPH_RUN_DESCRIPTION` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2108:221 [INFO] [stderr] | [INFO] [stderr] 2108 | unsafe fn draw_glyph_run(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, glyphRunDescription: &DWRITE_GLYPH_RUN_DESCRIPTION, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2108:288 [INFO] [stderr] | [INFO] [stderr] 2104 | pub trait TDWriteTextRenderer: TDWritePixelSnapping { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2108 | unsafe fn draw_glyph_run(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, measuringMode: DWRITE_MEASURING_MODE, glyphRun: &DWRITE_GLYPH_RUN, glyphRunDescription: &DWRITE_GLYPH_RUN_DESCRIPTION, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextRenderer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2110:39 [INFO] [stderr] | [INFO] [stderr] 2110 | let _hr= { (*(self.iptr() as *mut IDWriteTextRenderer)).DrawGlyphRun(clientDrawingContext.as_mut_ptr() as *mut _, baselineOriginX, baselineOriginY, measuringMode, glyphRun, glyphRunDescription, clientDrawingEffect.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextRenderer` [INFO] [stderr] ... [INFO] [stderr] 2161 | pub struct DWriteTextRenderer(*mut IDWriteTextRenderer); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteTextRenderer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2117:101 [INFO] [stderr] | [INFO] [stderr] 2117 | unsafe fn draw_underline(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, underline: &DWRITE_UNDERLINE, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2117:125 [INFO] [stderr] | [INFO] [stderr] 2117 | unsafe fn draw_underline(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, underline: &DWRITE_UNDERLINE, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_UNDERLINE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2117:144 [INFO] [stderr] | [INFO] [stderr] 2117 | unsafe fn draw_underline(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, underline: &DWRITE_UNDERLINE, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2117:199 [INFO] [stderr] | [INFO] [stderr] 2104 | pub trait TDWriteTextRenderer: TDWritePixelSnapping { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2117 | unsafe fn draw_underline(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, underline: &DWRITE_UNDERLINE, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextRenderer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2119:39 [INFO] [stderr] | [INFO] [stderr] 2119 | let _hr= { (*(self.iptr() as *mut IDWriteTextRenderer)).DrawUnderline(clientDrawingContext.as_mut_ptr() as *mut _, baselineOriginX, baselineOriginY, underline, clientDrawingEffect.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextRenderer` [INFO] [stderr] ... [INFO] [stderr] 2161 | pub struct DWriteTextRenderer(*mut IDWriteTextRenderer); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteTextRenderer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2126:105 [INFO] [stderr] | [INFO] [stderr] 2126 | unsafe fn draw_strikethrough(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, strikethrough: &DWRITE_STRIKETHROUGH, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2126:129 [INFO] [stderr] | [INFO] [stderr] 2126 | unsafe fn draw_strikethrough(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, strikethrough: &DWRITE_STRIKETHROUGH, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_STRIKETHROUGH` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2126:152 [INFO] [stderr] | [INFO] [stderr] 2126 | unsafe fn draw_strikethrough(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, strikethrough: &DWRITE_STRIKETHROUGH, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2126:211 [INFO] [stderr] | [INFO] [stderr] 2104 | pub trait TDWriteTextRenderer: TDWritePixelSnapping { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2126 | unsafe fn draw_strikethrough(&self, clientDrawingContext: &mut [T], baselineOriginX: FLOAT, baselineOriginY: FLOAT, strikethrough: &DWRITE_STRIKETHROUGH, clientDrawingEffect: &T1) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextRenderer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2128:39 [INFO] [stderr] | [INFO] [stderr] 2128 | let _hr= { (*(self.iptr() as *mut IDWriteTextRenderer)).DrawStrikethrough(clientDrawingContext.as_mut_ptr() as *mut _, baselineOriginX, baselineOriginY, strikethrough, clientDrawingEffect.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextRenderer` [INFO] [stderr] ... [INFO] [stderr] 2161 | pub struct DWriteTextRenderer(*mut IDWriteTextRenderer); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteTextRenderer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2135:122 [INFO] [stderr] | [INFO] [stderr] 2135 | unsafe fn draw_inline_object(&self, clientDrawingContext: &mut [T], originX: FLOAT, originY: FLOAT, inlineObject: &T1, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2135:138 [INFO] [stderr] | [INFO] [stderr] 2135 | unsafe fn draw_inline_object(&self, clientDrawingContext: &mut [T], originX: FLOAT, originY: FLOAT, inlineObject: &T1, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2135:176 [INFO] [stderr] | [INFO] [stderr] 2135 | unsafe fn draw_inline_object(&self, clientDrawingContext: &mut [T], originX: FLOAT, originY: FLOAT, inlineObject: &T1, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2135:197 [INFO] [stderr] | [INFO] [stderr] 2135 | unsafe fn draw_inline_object(&self, clientDrawingContext: &mut [T], originX: FLOAT, originY: FLOAT, inlineObject: &T1, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2135:240 [INFO] [stderr] | [INFO] [stderr] 2104 | pub trait TDWriteTextRenderer: TDWritePixelSnapping { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2135 | unsafe fn draw_inline_object(&self, clientDrawingContext: &mut [T], originX: FLOAT, originY: FLOAT, inlineObject: &T1, isSideways: BOOL, isRightToLeft: BOOL, clientDrawingEffect: &T2) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextRenderer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2137:39 [INFO] [stderr] | [INFO] [stderr] 2137 | let _hr= { (*(self.iptr() as *mut IDWriteTextRenderer)).DrawInlineObject(clientDrawingContext.as_mut_ptr() as *mut _, originX, originY, inlineObject.iptr() as *mut _ as *mut _ , isSideways, isRightToLeft, clientDrawingEffect.iptr() as *mut _ as *mut _ ) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTextRenderer` [INFO] [stderr] ... [INFO] [stderr] 2161 | pub struct DWriteTextRenderer(*mut IDWriteTextRenderer); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `DWriteTextRenderer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2145:20 [INFO] [stderr] | [INFO] [stderr] 2145 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2148:26 [INFO] [stderr] | [INFO] [stderr] 2148 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTextRenderer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2161:36 [INFO] [stderr] | [INFO] [stderr] 2161 | pub struct DWriteTextRenderer(*mut IDWriteTextRenderer); [INFO] [stderr] | -----------------------------------^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteTextRenderer` [INFO] [stderr] | similarly named struct `DWriteTextRenderer` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2164:15 [INFO] [stderr] | [INFO] [stderr] 2164 | fn iid() -> REFGUID { &IID_IDWriteTextRenderer } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteTextRenderer` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2164:26 [INFO] [stderr] | [INFO] [stderr] 2161 | pub struct DWriteTextRenderer(*mut IDWriteTextRenderer); [INFO] [stderr] | -------------------------------------------------------- similarly named tuple struct `DWriteTextRenderer` defined here [INFO] [stderr] ... [INFO] [stderr] 2164 | fn iid() -> REFGUID { &IID_IDWriteTextRenderer } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteTextRenderer` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_FEATURE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2171:43 [INFO] [stderr] | [INFO] [stderr] 2171 | fn add_font_feature(&self, fontFeature: DWRITE_FONT_FEATURE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2171:75 [INFO] [stderr] | [INFO] [stderr] 2167 | pub trait TDWriteTypography: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2171 | fn add_font_feature(&self, fontFeature: DWRITE_FONT_FEATURE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2173:45 [INFO] [stderr] | [INFO] [stderr] 2173 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTypography)).AddFontFeature(fontFeature) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTypography` [INFO] [stderr] ... [INFO] [stderr] 2214 | pub struct DWriteTypography(*mut IDWriteTypography); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTypography` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2180:39 [INFO] [stderr] | [INFO] [stderr] 2180 | fn get_font_feature_count(&self) -> UINT32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2182:45 [INFO] [stderr] | [INFO] [stderr] 2182 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTypography)).GetFontFeatureCount() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTypography` [INFO] [stderr] ... [INFO] [stderr] 2214 | pub struct DWriteTypography(*mut IDWriteTypography); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTypography` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2189:48 [INFO] [stderr] | [INFO] [stderr] 2189 | fn get_font_feature(&self, fontFeatureIndex: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_FEATURE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2189:67 [INFO] [stderr] | [INFO] [stderr] 2167 | pub trait TDWriteTypography: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 2189 | fn get_font_feature(&self, fontFeatureIndex: UINT32) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWRITE_FONT_FEATURE` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2190:18 [INFO] [stderr] | [INFO] [stderr] 2190 | let mut lv1: DWRITE_FONT_FEATURE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2191:45 [INFO] [stderr] | [INFO] [stderr] 2191 | let _hr=unsafe { (*(self.iptr() as *mut IDWriteTypography)).GetFontFeature(fontFeatureIndex, &mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DWriteTypography` [INFO] [stderr] ... [INFO] [stderr] 2214 | pub struct DWriteTypography(*mut IDWriteTypography); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `DWriteTypography` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2199:20 [INFO] [stderr] | [INFO] [stderr] 2199 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2202:26 [INFO] [stderr] | [INFO] [stderr] 2202 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IDWriteTypography` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2214:34 [INFO] [stderr] | [INFO] [stderr] 2214 | pub struct DWriteTypography(*mut IDWriteTypography); [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `DWriteTypography` [INFO] [stderr] | similarly named struct `DWriteTypography` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2217:15 [INFO] [stderr] | [INFO] [stderr] 2217 | fn iid() -> REFGUID { &IID_IDWriteTypography } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_IDWriteTypography` in this scope [INFO] [stderr] --> src/dwrite_safe.rs:2217:26 [INFO] [stderr] | [INFO] [stderr] 2214 | pub struct DWriteTypography(*mut IDWriteTypography); [INFO] [stderr] | ---------------------------------------------------- similarly named tuple struct `DWriteTypography` defined here [INFO] [stderr] ... [INFO] [stderr] 2217 | fn iid() -> REFGUID { &IID_IDWriteTypography } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DWriteTypography` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_BLEND_DESC` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | fn get_desc(&self) -> D3D11_BLEND_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_BLEND_DESC` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 10 | let mut lv1: D3D11_BLEND_DESC = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11BlendState` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:11:45 [INFO] [stderr] | [INFO] [stderr] 11 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11BlendState)).GetDesc(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11BlendState` [INFO] [stderr] ... [INFO] [stderr] 35 | pub struct D3D11BlendState(*mut ID3D11BlendState); [INFO] [stderr] | -------------------------------------------------- similarly named struct `D3D11BlendState` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11BlendState` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:35:33 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct D3D11BlendState(*mut ID3D11BlendState); [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D11BlendState` [INFO] [stderr] | similarly named struct `D3D11BlendState` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | fn iid() -> REFGUID { &IID_ID3D11BlendState } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D11BlendState` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:38:26 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct D3D11BlendState(*mut ID3D11BlendState); [INFO] [stderr] | -------------------------------------------------- similarly named tuple struct `D3D11BlendState` defined here [INFO] [stderr] ... [INFO] [stderr] 38 | fn iid() -> REFGUID { &IID_ID3D11BlendState } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D11BlendState` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:48:40 [INFO] [stderr] | [INFO] [stderr] 48 | fn get_private_data(&self, guid: &GUID, data_size: &mut UINT, data: &mut [T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:48:62 [INFO] [stderr] | [INFO] [stderr] 48 | fn get_private_data(&self, guid: &GUID, data_size: &mut UINT, data: &mut [T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:48:95 [INFO] [stderr] | [INFO] [stderr] 41 | pub trait TD3D11DeviceChild: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 48 | fn get_private_data(&self, guid: &GUID, data_size: &mut UINT, data: &mut [T]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceChild` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:50:45 [INFO] [stderr] | [INFO] [stderr] 50 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceChild)).GetPrivateData(guid, data_size, data.as_mut_ptr() as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceChild` [INFO] [stderr] ... [INFO] [stderr] 92 | pub struct D3D11DeviceChild(*mut ID3D11DeviceChild); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `D3D11DeviceChild` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:58:40 [INFO] [stderr] | [INFO] [stderr] 58 | fn set_private_data(&self, guid: &GUID, data_size: UINT, data: &[T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:58:57 [INFO] [stderr] | [INFO] [stderr] 58 | fn set_private_data(&self, guid: &GUID, data_size: UINT, data: &[T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:58:86 [INFO] [stderr] | [INFO] [stderr] 41 | pub trait TD3D11DeviceChild: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 58 | fn set_private_data(&self, guid: &GUID, data_size: UINT, data: &[T]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceChild` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:60:45 [INFO] [stderr] | [INFO] [stderr] 60 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceChild)).SetPrivateData(guid, data_size, data.as_ptr() as *const _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceChild` [INFO] [stderr] ... [INFO] [stderr] 92 | pub struct D3D11DeviceChild(*mut ID3D11DeviceChild); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `D3D11DeviceChild` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:67:47 [INFO] [stderr] | [INFO] [stderr] 67 | fn set_private_data_interface(&self, guid: &GUID, data: &IUnknown) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:67:60 [INFO] [stderr] | [INFO] [stderr] 67 | fn set_private_data_interface(&self, guid: &GUID, data: &IUnknown) -> HResult { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:67:81 [INFO] [stderr] | [INFO] [stderr] 41 | pub trait TD3D11DeviceChild: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 67 | fn set_private_data_interface(&self, guid: &GUID, data: &IUnknown) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceChild` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:69:45 [INFO] [stderr] | [INFO] [stderr] 69 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceChild)).SetPrivateDataInterface(guid, data) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceChild` [INFO] [stderr] ... [INFO] [stderr] 92 | pub struct D3D11DeviceChild(*mut ID3D11DeviceChild); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `D3D11DeviceChild` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:77:20 [INFO] [stderr] | [INFO] [stderr] 77 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:80:26 [INFO] [stderr] | [INFO] [stderr] 80 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceChild` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:92:34 [INFO] [stderr] | [INFO] [stderr] 92 | pub struct D3D11DeviceChild(*mut ID3D11DeviceChild); [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D11DeviceChild` [INFO] [stderr] | similarly named struct `D3D11DeviceChild` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:95:15 [INFO] [stderr] | [INFO] [stderr] 95 | fn iid() -> REFGUID { &IID_ID3D11DeviceChild } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D11DeviceChild` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:95:26 [INFO] [stderr] | [INFO] [stderr] 92 | pub struct D3D11DeviceChild(*mut ID3D11DeviceChild); [INFO] [stderr] | ---------------------------------------------------- similarly named tuple struct `D3D11DeviceChild` defined here [INFO] [stderr] ... [INFO] [stderr] 95 | fn iid() -> REFGUID { &IID_ID3D11DeviceChild } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D11DeviceChild` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:112:39 [INFO] [stderr] | [INFO] [stderr] 112 | fn draw_indexed(&self, index_count: UINT, start_index_location: UINT, base_vertex_location: INT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:112:67 [INFO] [stderr] | [INFO] [stderr] 112 | fn draw_indexed(&self, index_count: UINT, start_index_location: UINT, base_vertex_location: INT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:112:95 [INFO] [stderr] | [INFO] [stderr] 112 | fn draw_indexed(&self, index_count: UINT, start_index_location: UINT, base_vertex_location: INT) -> () { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:114:45 [INFO] [stderr] | [INFO] [stderr] 114 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).DrawIndexed(index_count, start_index_location, base_vertex_location) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:121:32 [INFO] [stderr] | [INFO] [stderr] 121 | fn draw(&self, vertex_count: UINT, start_vertex_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:121:61 [INFO] [stderr] | [INFO] [stderr] 121 | fn draw(&self, vertex_count: UINT, start_vertex_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:123:45 [INFO] [stderr] | [INFO] [stderr] 123 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).Draw(vertex_count, start_vertex_location) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:130:32 [INFO] [stderr] | [INFO] [stderr] 130 | fn map(&self, resource: &mut ID3D11Resource, subresource: UINT, map_type: D3D11_MAP, map_flags: UINT, mapped_resource: &mut D3D11_MAPPED_SUBRESOURCE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:130:61 [INFO] [stderr] | [INFO] [stderr] 130 | fn map(&self, resource: &mut ID3D11Resource, subresource: UINT, map_type: D3D11_MAP, map_flags: UINT, mapped_resource: &mut D3D11_MAPPED_SUBRESOURCE) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_MAP` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:130:77 [INFO] [stderr] | [INFO] [stderr] 130 | fn map(&self, resource: &mut ID3D11Resource, subresource: UINT, map_type: D3D11_MAP, map_flags: UINT, mapped_resource: &mut D3D11_MAPPED_SUBRESOURCE) -> HResult { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:130:99 [INFO] [stderr] | [INFO] [stderr] 130 | fn map(&self, resource: &mut ID3D11Resource, subresource: UINT, map_type: D3D11_MAP, map_flags: UINT, mapped_resource: &mut D3D11_MAPPED_SUBRESOURCE) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_MAPPED_SUBRESOURCE` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:130:127 [INFO] [stderr] | [INFO] [stderr] 130 | fn map(&self, resource: &mut ID3D11Resource, subresource: UINT, map_type: D3D11_MAP, map_flags: UINT, mapped_resource: &mut D3D11_MAPPED_SUBRESOURCE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:130:164 [INFO] [stderr] | [INFO] [stderr] 98 | pub trait TD3D11DeviceContext: TD3D11DeviceChild { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 130 | fn map(&self, resource: &mut ID3D11Resource, subresource: UINT, map_type: D3D11_MAP, map_flags: UINT, mapped_resource: &mut D3D11_MAPPED_SUBRESOURCE) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:132:45 [INFO] [stderr] | [INFO] [stderr] 132 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).Map(resource, subresource, map_type, map_flags, mapped_resource) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:139:34 [INFO] [stderr] | [INFO] [stderr] 139 | fn unmap(&self, resource: &mut ID3D11Resource, subresource: UINT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:139:63 [INFO] [stderr] | [INFO] [stderr] 139 | fn unmap(&self, resource: &mut ID3D11Resource, subresource: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:141:45 [INFO] [stderr] | [INFO] [stderr] 141 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).Unmap(resource, subresource) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11InputLayout` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:150:52 [INFO] [stderr] | [INFO] [stderr] 150 | fn ia_set_input_layout(&self, input_layout: &mut ID3D11InputLayout) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:152:45 [INFO] [stderr] | [INFO] [stderr] 152 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).IASetInputLayout(input_layout) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Buffer` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:161:52 [INFO] [stderr] | [INFO] [stderr] 161 | fn ia_set_index_buffer(&self, index_buffer: &mut ID3D11Buffer, format: DXGI_FORMAT, offset: UINT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:161:74 [INFO] [stderr] | [INFO] [stderr] 161 | fn ia_set_index_buffer(&self, index_buffer: &mut ID3D11Buffer, format: DXGI_FORMAT, offset: UINT) -> () { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:161:95 [INFO] [stderr] | [INFO] [stderr] 161 | fn ia_set_index_buffer(&self, index_buffer: &mut ID3D11Buffer, format: DXGI_FORMAT, offset: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:163:45 [INFO] [stderr] | [INFO] [stderr] 163 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).IASetIndexBuffer(index_buffer, format, offset) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:170:62 [INFO] [stderr] | [INFO] [stderr] 170 | fn draw_indexed_instanced(&self, index_count_per_instance: UINT, instance_count: UINT, start_index_location: UINT, base_vertex_location: INT, start_instance_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:170:84 [INFO] [stderr] | [INFO] [stderr] 170 | fn draw_indexed_instanced(&self, index_count_per_instance: UINT, instance_count: UINT, start_index_location: UINT, base_vertex_location: INT, start_instance_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:170:112 [INFO] [stderr] | [INFO] [stderr] 170 | fn draw_indexed_instanced(&self, index_count_per_instance: UINT, instance_count: UINT, start_index_location: UINT, base_vertex_location: INT, start_instance_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:170:140 [INFO] [stderr] | [INFO] [stderr] 170 | fn draw_indexed_instanced(&self, index_count_per_instance: UINT, instance_count: UINT, start_index_location: UINT, base_vertex_location: INT, start_instance_location: UINT) -> () { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:170:170 [INFO] [stderr] | [INFO] [stderr] 170 | fn draw_indexed_instanced(&self, index_count_per_instance: UINT, instance_count: UINT, start_index_location: UINT, base_vertex_location: INT, start_instance_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:172:45 [INFO] [stderr] | [INFO] [stderr] 172 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).DrawIndexedInstanced(index_count_per_instance, instance_count, start_index_location, base_vertex_location, start_instance_location) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:179:55 [INFO] [stderr] | [INFO] [stderr] 179 | fn draw_instanced(&self, vertex_count_per_instance: UINT, instance_count: UINT, start_vertex_location: UINT, start_instance_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:179:77 [INFO] [stderr] | [INFO] [stderr] 179 | fn draw_instanced(&self, vertex_count_per_instance: UINT, instance_count: UINT, start_vertex_location: UINT, start_instance_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:179:106 [INFO] [stderr] | [INFO] [stderr] 179 | fn draw_instanced(&self, vertex_count_per_instance: UINT, instance_count: UINT, start_vertex_location: UINT, start_instance_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:179:137 [INFO] [stderr] | [INFO] [stderr] 179 | fn draw_instanced(&self, vertex_count_per_instance: UINT, instance_count: UINT, start_vertex_location: UINT, start_instance_location: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:181:45 [INFO] [stderr] | [INFO] [stderr] 181 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).DrawInstanced(vertex_count_per_instance, instance_count, start_vertex_location, start_instance_location) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_PRIMITIVE_TOPOLOGY` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:192:49 [INFO] [stderr] | [INFO] [stderr] 192 | fn ia_set_primitive_topology(&self, topology: D3D11_PRIMITIVE_TOPOLOGY) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:194:45 [INFO] [stderr] | [INFO] [stderr] 194 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).IASetPrimitiveTopology(topology) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Asynchronous` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:205:31 [INFO] [stderr] | [INFO] [stderr] 205 | fn begin(&self, async: &mut ID3D11Asynchronous) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:207:45 [INFO] [stderr] | [INFO] [stderr] 207 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).Begin(async) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Asynchronous` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:214:29 [INFO] [stderr] | [INFO] [stderr] 214 | fn end(&self, async: &mut ID3D11Asynchronous) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:216:45 [INFO] [stderr] | [INFO] [stderr] 216 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).End(async) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Asynchronous` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:224:37 [INFO] [stderr] | [INFO] [stderr] 224 | fn get_data(&self, async: &mut ID3D11Asynchronous, data: &mut [T], data_size: UINT, get_data_flags: UINT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:224:84 [INFO] [stderr] | [INFO] [stderr] 224 | fn get_data(&self, async: &mut ID3D11Asynchronous, data: &mut [T], data_size: UINT, get_data_flags: UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:224:106 [INFO] [stderr] | [INFO] [stderr] 224 | fn get_data(&self, async: &mut ID3D11Asynchronous, data: &mut [T], data_size: UINT, get_data_flags: UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:224:123 [INFO] [stderr] | [INFO] [stderr] 98 | pub trait TD3D11DeviceContext: TD3D11DeviceChild { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 224 | fn get_data(&self, async: &mut ID3D11Asynchronous, data: &mut [T], data_size: UINT, get_data_flags: UINT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:226:45 [INFO] [stderr] | [INFO] [stderr] 226 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).GetData(async, data.as_mut_ptr() as *mut _, data_size, get_data_flags) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Predicate` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:233:45 [INFO] [stderr] | [INFO] [stderr] 233 | fn set_predication(&self, predicate: &mut ID3D11Predicate, predicate_value: BOOL) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:233:79 [INFO] [stderr] | [INFO] [stderr] 233 | fn set_predication(&self, predicate: &mut ID3D11Predicate, predicate_value: BOOL) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:235:45 [INFO] [stderr] | [INFO] [stderr] 235 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).SetPredication(predicate, predicate_value) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:251:94 [INFO] [stderr] | [INFO] [stderr] 98 | pub trait TD3D11DeviceContext: TD3D11DeviceChild { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 251 | fn om_set_blend_state(&self, blend_state: Option<&D3D11BlendState>, blend_factor: Option<&[FLOAT;4]>, sample_mask: UINT) -> () { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:251:118 [INFO] [stderr] | [INFO] [stderr] 251 | fn om_set_blend_state(&self, blend_state: Option<&D3D11BlendState>, blend_factor: Option<&[FLOAT;4]>, sample_mask: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:253:45 [INFO] [stderr] | [INFO] [stderr] 253 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).OMSetBlendState(blend_state.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, blend_factor.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), sample_mask) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DepthStencilState` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:260:66 [INFO] [stderr] | [INFO] [stderr] 260 | fn om_set_depth_stencil_state(&self, depth_stencil_state: &mut ID3D11DepthStencilState, stencil_ref: UINT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:260:104 [INFO] [stderr] | [INFO] [stderr] 260 | fn om_set_depth_stencil_state(&self, depth_stencil_state: &mut ID3D11DepthStencilState, stencil_ref: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:262:45 [INFO] [stderr] | [INFO] [stderr] 262 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).OMSetDepthStencilState(depth_stencil_state, stencil_ref) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:273:45 [INFO] [stderr] | [INFO] [stderr] 273 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).DrawAuto() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Buffer` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:280:67 [INFO] [stderr] | [INFO] [stderr] 280 | fn draw_indexed_instanced_indirect(&self, buffer_for_args: &mut ID3D11Buffer, aligned_byte_offset_for_args: UINT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:280:111 [INFO] [stderr] | [INFO] [stderr] 280 | fn draw_indexed_instanced_indirect(&self, buffer_for_args: &mut ID3D11Buffer, aligned_byte_offset_for_args: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:282:45 [INFO] [stderr] | [INFO] [stderr] 282 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).DrawIndexedInstancedIndirect(buffer_for_args, aligned_byte_offset_for_args) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Buffer` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:289:59 [INFO] [stderr] | [INFO] [stderr] 289 | fn draw_instanced_indirect(&self, buffer_for_args: &mut ID3D11Buffer, aligned_byte_offset_for_args: UINT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:289:103 [INFO] [stderr] | [INFO] [stderr] 289 | fn draw_instanced_indirect(&self, buffer_for_args: &mut ID3D11Buffer, aligned_byte_offset_for_args: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:291:45 [INFO] [stderr] | [INFO] [stderr] 291 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).DrawInstancedIndirect(buffer_for_args, aligned_byte_offset_for_args) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:298:44 [INFO] [stderr] | [INFO] [stderr] 298 | fn dispatch(&self, thread_group_count_x: UINT, thread_group_count_y: UINT, thread_group_count_z: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:298:72 [INFO] [stderr] | [INFO] [stderr] 298 | fn dispatch(&self, thread_group_count_x: UINT, thread_group_count_y: UINT, thread_group_count_z: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:298:100 [INFO] [stderr] | [INFO] [stderr] 298 | fn dispatch(&self, thread_group_count_x: UINT, thread_group_count_y: UINT, thread_group_count_z: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:300:45 [INFO] [stderr] | [INFO] [stderr] 300 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).Dispatch(thread_group_count_x, thread_group_count_y, thread_group_count_z) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Buffer` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:307:53 [INFO] [stderr] | [INFO] [stderr] 307 | fn dispatch_indirect(&self, buffer_for_args: &mut ID3D11Buffer, aligned_byte_offset_for_args: UINT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:307:97 [INFO] [stderr] | [INFO] [stderr] 307 | fn dispatch_indirect(&self, buffer_for_args: &mut ID3D11Buffer, aligned_byte_offset_for_args: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:309:45 [INFO] [stderr] | [INFO] [stderr] 309 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).DispatchIndirect(buffer_for_args, aligned_byte_offset_for_args) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11RasterizerState` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:316:49 [INFO] [stderr] | [INFO] [stderr] 316 | fn rs_set_state(&self, rasterizer_state: &mut ID3D11RasterizerState) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:318:45 [INFO] [stderr] | [INFO] [stderr] 318 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).RSSetState(rasterizer_state) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:325:45 [INFO] [stderr] | [INFO] [stderr] 325 | fn rs_set_viewports(&self, num_viewports: UINT, viewports: &D3D11_VIEWPORT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_VIEWPORT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:325:63 [INFO] [stderr] | [INFO] [stderr] 325 | fn rs_set_viewports(&self, num_viewports: UINT, viewports: &D3D11_VIEWPORT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:327:45 [INFO] [stderr] | [INFO] [stderr] 327 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).RSSetViewports(num_viewports, viewports) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:334:45 [INFO] [stderr] | [INFO] [stderr] 334 | fn rs_set_scissor_rects(&self, num_rects: UINT, rects: &D3D11_RECT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_RECT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:334:59 [INFO] [stderr] | [INFO] [stderr] 334 | fn rs_set_scissor_rects(&self, num_rects: UINT, rects: &D3D11_RECT) -> () { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:336:45 [INFO] [stderr] | [INFO] [stderr] 336 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).RSSetScissorRects(num_rects, rects) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:343:56 [INFO] [stderr] | [INFO] [stderr] 343 | fn copy_subresource_region(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_x: UINT, dst_y: UINT, dst_z: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, src_box: &D3D11_BOX) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:343:89 [INFO] [stderr] | [INFO] [stderr] 343 | fn copy_subresource_region(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_x: UINT, dst_y: UINT, dst_z: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, src_box: &D3D11_BOX) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:343:102 [INFO] [stderr] | [INFO] [stderr] 343 | fn copy_subresource_region(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_x: UINT, dst_y: UINT, dst_z: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, src_box: &D3D11_BOX) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:343:115 [INFO] [stderr] | [INFO] [stderr] 343 | fn copy_subresource_region(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_x: UINT, dst_y: UINT, dst_z: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, src_box: &D3D11_BOX) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:343:128 [INFO] [stderr] | [INFO] [stderr] 343 | fn copy_subresource_region(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_x: UINT, dst_y: UINT, dst_z: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, src_box: &D3D11_BOX) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:343:153 [INFO] [stderr] | [INFO] [stderr] 343 | fn copy_subresource_region(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_x: UINT, dst_y: UINT, dst_z: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, src_box: &D3D11_BOX) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:343:186 [INFO] [stderr] | [INFO] [stderr] 343 | fn copy_subresource_region(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_x: UINT, dst_y: UINT, dst_z: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, src_box: &D3D11_BOX) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_BOX` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:343:202 [INFO] [stderr] | [INFO] [stderr] 343 | fn copy_subresource_region(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_x: UINT, dst_y: UINT, dst_z: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, src_box: &D3D11_BOX) -> () { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:345:45 [INFO] [stderr] | [INFO] [stderr] 345 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).CopySubresourceRegion(dst_resource, dst_subresource, dst_x, dst_y, dst_z, src_resource, src_subresource, src_box) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:352:46 [INFO] [stderr] | [INFO] [stderr] 352 | fn copy_resource(&self, dst_resource: &mut ID3D11Resource, src_resource: &mut ID3D11Resource) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:352:81 [INFO] [stderr] | [INFO] [stderr] 352 | fn copy_resource(&self, dst_resource: &mut ID3D11Resource, src_resource: &mut ID3D11Resource) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:354:45 [INFO] [stderr] | [INFO] [stderr] 354 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).CopyResource(dst_resource, src_resource) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:362:54 [INFO] [stderr] | [INFO] [stderr] 362 | fn update_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_box: &D3D11_BOX, src_data: &[T], src_row_pitch: UINT, src_depth_pitch: UINT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:362:87 [INFO] [stderr] | [INFO] [stderr] 362 | fn update_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_box: &D3D11_BOX, src_data: &[T], src_row_pitch: UINT, src_depth_pitch: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_BOX` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:362:103 [INFO] [stderr] | [INFO] [stderr] 362 | fn update_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_box: &D3D11_BOX, src_data: &[T], src_row_pitch: UINT, src_depth_pitch: UINT) -> () { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:362:145 [INFO] [stderr] | [INFO] [stderr] 362 | fn update_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_box: &D3D11_BOX, src_data: &[T], src_row_pitch: UINT, src_depth_pitch: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:362:168 [INFO] [stderr] | [INFO] [stderr] 362 | fn update_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, dst_box: &D3D11_BOX, src_data: &[T], src_row_pitch: UINT, src_depth_pitch: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:364:45 [INFO] [stderr] | [INFO] [stderr] 364 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).UpdateSubresource(dst_resource, dst_subresource, dst_box, src_data.as_ptr() as *const _, src_row_pitch, src_depth_pitch) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Buffer` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:371:51 [INFO] [stderr] | [INFO] [stderr] 371 | fn copy_structure_count(&self, dst_buffer: &mut ID3D11Buffer, dst_aligned_byte_offset: UINT, src_view: &mut ID3D11UnorderedAccessView) -> () { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:371:90 [INFO] [stderr] | [INFO] [stderr] 371 | fn copy_structure_count(&self, dst_buffer: &mut ID3D11Buffer, dst_aligned_byte_offset: UINT, src_view: &mut ID3D11UnorderedAccessView) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11UnorderedAccessView` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:371:111 [INFO] [stderr] | [INFO] [stderr] 371 | fn copy_structure_count(&self, dst_buffer: &mut ID3D11Buffer, dst_aligned_byte_offset: UINT, src_view: &mut ID3D11UnorderedAccessView) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:373:45 [INFO] [stderr] | [INFO] [stderr] 373 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).CopyStructureCount(dst_buffer, dst_aligned_byte_offset, src_view) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:380:63 [INFO] [stderr] | [INFO] [stderr] 380 | fn clear_render_target_view(&self, render_target_view: &mut ID3D11RenderTargetView, color_r_g_b_a: &[FLOAT;4]) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:380:104 [INFO] [stderr] | [INFO] [stderr] 380 | fn clear_render_target_view(&self, render_target_view: &mut ID3D11RenderTargetView, color_r_g_b_a: &[FLOAT;4]) -> () { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:382:45 [INFO] [stderr] | [INFO] [stderr] 382 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).ClearRenderTargetView(render_target_view, color_r_g_b_a) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11UnorderedAccessView` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:389:74 [INFO] [stderr] | [INFO] [stderr] 389 | fn clear_unordered_access_view_uint(&self, unordered_access_view: &mut ID3D11UnorderedAccessView, values: &[UINT;4]) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:389:111 [INFO] [stderr] | [INFO] [stderr] 389 | fn clear_unordered_access_view_uint(&self, unordered_access_view: &mut ID3D11UnorderedAccessView, values: &[UINT;4]) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:391:45 [INFO] [stderr] | [INFO] [stderr] 391 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).ClearUnorderedAccessViewUint(unordered_access_view, values) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11UnorderedAccessView` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:398:75 [INFO] [stderr] | [INFO] [stderr] 398 | fn clear_unordered_access_view_float(&self, unordered_access_view: &mut ID3D11UnorderedAccessView, values: &[FLOAT;4]) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:398:112 [INFO] [stderr] | [INFO] [stderr] 398 | fn clear_unordered_access_view_float(&self, unordered_access_view: &mut ID3D11UnorderedAccessView, values: &[FLOAT;4]) -> () { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:400:45 [INFO] [stderr] | [INFO] [stderr] 400 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).ClearUnorderedAccessViewFloat(unordered_access_view, values) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:407:63 [INFO] [stderr] | [INFO] [stderr] 407 | fn clear_depth_stencil_view(&self, depth_stencil_view: &mut ID3D11DepthStencilView, clear_flags: UINT, depth: FLOAT, stencil: UINT8) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:407:100 [INFO] [stderr] | [INFO] [stderr] 407 | fn clear_depth_stencil_view(&self, depth_stencil_view: &mut ID3D11DepthStencilView, clear_flags: UINT, depth: FLOAT, stencil: UINT8) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:407:113 [INFO] [stderr] | [INFO] [stderr] 407 | fn clear_depth_stencil_view(&self, depth_stencil_view: &mut ID3D11DepthStencilView, clear_flags: UINT, depth: FLOAT, stencil: UINT8) -> () { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT8` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:407:129 [INFO] [stderr] | [INFO] [stderr] 407 | fn clear_depth_stencil_view(&self, depth_stencil_view: &mut ID3D11DepthStencilView, clear_flags: UINT, depth: FLOAT, stencil: UINT8) -> () { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:409:45 [INFO] [stderr] | [INFO] [stderr] 409 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).ClearDepthStencilView(depth_stencil_view, clear_flags, depth, stencil) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11ShaderResourceView` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:416:54 [INFO] [stderr] | [INFO] [stderr] 416 | fn generate_mips(&self, shader_resource_view: &mut ID3D11ShaderResourceView) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:418:45 [INFO] [stderr] | [INFO] [stderr] 418 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).GenerateMips(shader_resource_view) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:425:51 [INFO] [stderr] | [INFO] [stderr] 425 | fn set_resource_min_l_o_d(&self, resource: &mut ID3D11Resource, min_l_o_d: FLOAT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:425:78 [INFO] [stderr] | [INFO] [stderr] 425 | fn set_resource_min_l_o_d(&self, resource: &mut ID3D11Resource, min_l_o_d: FLOAT) -> () { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:427:45 [INFO] [stderr] | [INFO] [stderr] 427 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).SetResourceMinLOD(resource, min_l_o_d) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:434:51 [INFO] [stderr] | [INFO] [stderr] 434 | fn get_resource_min_l_o_d(&self, resource: &mut ID3D11Resource) -> FLOAT { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:434:70 [INFO] [stderr] | [INFO] [stderr] 434 | fn get_resource_min_l_o_d(&self, resource: &mut ID3D11Resource) -> FLOAT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:436:45 [INFO] [stderr] | [INFO] [stderr] 436 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).GetResourceMinLOD(resource) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:443:52 [INFO] [stderr] | [INFO] [stderr] 443 | fn resolve_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, format: DXGI_FORMAT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:443:85 [INFO] [stderr] | [INFO] [stderr] 443 | fn resolve_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, format: DXGI_FORMAT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:443:110 [INFO] [stderr] | [INFO] [stderr] 443 | fn resolve_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, format: DXGI_FORMAT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:443:143 [INFO] [stderr] | [INFO] [stderr] 443 | fn resolve_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, format: DXGI_FORMAT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:443:157 [INFO] [stderr] | [INFO] [stderr] 443 | fn resolve_subresource(&self, dst_resource: &mut ID3D11Resource, dst_subresource: UINT, src_resource: &mut ID3D11Resource, src_subresource: UINT, format: DXGI_FORMAT) -> () { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:445:45 [INFO] [stderr] | [INFO] [stderr] 445 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).ResolveSubresource(dst_resource, dst_subresource, src_resource, src_subresource, format) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11CommandList` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:452:53 [INFO] [stderr] | [INFO] [stderr] 452 | fn execute_command_list(&self, command_list: &mut ID3D11CommandList, restore_context_state: BOOL) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:452:95 [INFO] [stderr] | [INFO] [stderr] 452 | fn execute_command_list(&self, command_list: &mut ID3D11CommandList, restore_context_state: BOOL) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:454:45 [INFO] [stderr] | [INFO] [stderr] 454 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).ExecuteCommandList(command_list, restore_context_state) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_PRIMITIVE_TOPOLOGY` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:512:55 [INFO] [stderr] | [INFO] [stderr] 512 | fn i_a_get_primitive_topology(&self, topology: &mut D3D11_PRIMITIVE_TOPOLOGY) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:514:45 [INFO] [stderr] | [INFO] [stderr] 514 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).IAGetPrimitiveTopology(topology) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FLOAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:538:60 [INFO] [stderr] | [INFO] [stderr] 98 | pub trait TD3D11DeviceContext: TD3D11DeviceChild { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 538 | fn o_m_get_blend_state(&self, blend_factor: Option<&mut [FLOAT;4]>, sample_mask: Option<&mut UINT>) -> D3D11BlendState { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:538:96 [INFO] [stderr] | [INFO] [stderr] 98 | pub trait TD3D11DeviceContext: TD3D11DeviceChild { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 538 | fn o_m_get_blend_state(&self, blend_factor: Option<&mut [FLOAT;4]>, sample_mask: Option<&mut UINT>) -> D3D11BlendState { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11BlendState` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:539:23 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct D3D11BlendState(*mut ID3D11BlendState); [INFO] [stderr] | -------------------------------------------------- similarly named struct `D3D11BlendState` defined here [INFO] [stderr] ... [INFO] [stderr] 539 | let mut lv1: *mut ID3D11BlendState = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11BlendState` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:540:45 [INFO] [stderr] | [INFO] [stderr] 540 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).OMGetBlendState(&mut lv1 as *mut *mut _, opt_as_mut_ptr(&blend_factor), opt_as_mut_ptr(&sample_mask)) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:553:51 [INFO] [stderr] | [INFO] [stderr] 553 | fn r_s_get_viewports(&self, num_viewports: &mut UINT, viewports: &mut D3D11_VIEWPORT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_VIEWPORT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:553:73 [INFO] [stderr] | [INFO] [stderr] 553 | fn r_s_get_viewports(&self, num_viewports: &mut UINT, viewports: &mut D3D11_VIEWPORT) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:555:45 [INFO] [stderr] | [INFO] [stderr] 555 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).RSGetViewports(num_viewports, viewports) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:562:51 [INFO] [stderr] | [INFO] [stderr] 562 | fn r_s_get_scissor_rects(&self, num_rects: &mut UINT, rects: &mut D3D11_RECT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_RECT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:562:69 [INFO] [stderr] | [INFO] [stderr] 562 | fn r_s_get_scissor_rects(&self, num_rects: &mut UINT, rects: &mut D3D11_RECT) -> () { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:564:45 [INFO] [stderr] | [INFO] [stderr] 564 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).RSGetScissorRects(num_rects, rects) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:602:45 [INFO] [stderr] | [INFO] [stderr] 602 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).ClearState() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:611:45 [INFO] [stderr] | [INFO] [stderr] 611 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).Flush() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_DEVICE_CONTEXT_TYPE` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:618:25 [INFO] [stderr] | [INFO] [stderr] 618 | fn get_type(&self) -> D3D11_DEVICE_CONTEXT_TYPE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:620:45 [INFO] [stderr] | [INFO] [stderr] 620 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).GetType() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:627:34 [INFO] [stderr] | [INFO] [stderr] 627 | fn get_context_flags(&self) -> UINT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:629:45 [INFO] [stderr] | [INFO] [stderr] 629 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11DeviceContext)).GetContextFlags() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] ... [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:639:20 [INFO] [stderr] | [INFO] [stderr] 639 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:642:26 [INFO] [stderr] | [INFO] [stderr] 642 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:655:36 [INFO] [stderr] | [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -----------------------------------^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] | similarly named struct `D3D11DeviceContext` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:658:15 [INFO] [stderr] | [INFO] [stderr] 658 | fn iid() -> REFGUID { &IID_ID3D11DeviceContext } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D11DeviceContext` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:658:26 [INFO] [stderr] | [INFO] [stderr] 655 | pub struct D3D11DeviceContext(*mut ID3D11DeviceContext); [INFO] [stderr] | -------------------------------------------------------- similarly named tuple struct `D3D11DeviceContext` defined here [INFO] [stderr] ... [INFO] [stderr] 658 | fn iid() -> REFGUID { &IID_ID3D11DeviceContext } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D11DeviceContext` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:717:42 [INFO] [stderr] | [INFO] [stderr] 717 | fn check_format_support(&self, format: DXGI_FORMAT, format_support: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:717:76 [INFO] [stderr] | [INFO] [stderr] 717 | fn check_format_support(&self, format: DXGI_FORMAT, format_support: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:717:93 [INFO] [stderr] | [INFO] [stderr] 661 | pub trait TD3D11Device: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 717 | fn check_format_support(&self, format: DXGI_FORMAT, format_support: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:719:45 [INFO] [stderr] | [INFO] [stderr] 719 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).CheckFormatSupport(format, format_support) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:726:54 [INFO] [stderr] | [INFO] [stderr] 726 | fn check_multisample_quality_levels(&self, format: DXGI_FORMAT, sample_count: UINT, num_quality_levels: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:726:81 [INFO] [stderr] | [INFO] [stderr] 726 | fn check_multisample_quality_levels(&self, format: DXGI_FORMAT, sample_count: UINT, num_quality_levels: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:726:112 [INFO] [stderr] | [INFO] [stderr] 726 | fn check_multisample_quality_levels(&self, format: DXGI_FORMAT, sample_count: UINT, num_quality_levels: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:726:129 [INFO] [stderr] | [INFO] [stderr] 661 | pub trait TD3D11Device: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 726 | fn check_multisample_quality_levels(&self, format: DXGI_FORMAT, sample_count: UINT, num_quality_levels: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:728:45 [INFO] [stderr] | [INFO] [stderr] 728 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).CheckMultisampleQualityLevels(format, sample_count, num_quality_levels) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_COUNTER_INFO` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:735:51 [INFO] [stderr] | [INFO] [stderr] 735 | fn check_counter_info(&self, counter_info: &mut D3D11_COUNTER_INFO) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:737:45 [INFO] [stderr] | [INFO] [stderr] 737 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).CheckCounterInfo(counter_info) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_COUNTER_DESC` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:34 [INFO] [stderr] | [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_COUNTER_TYPE` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:66 [INFO] [stderr] | [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:108 [INFO] [stderr] | [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:122 [INFO] [stderr] | [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:147 [INFO] [stderr] | [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:162 [INFO] [stderr] | [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:188 [INFO] [stderr] | [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:209 [INFO] [stderr] | [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:241 [INFO] [stderr] | [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:744:258 [INFO] [stderr] | [INFO] [stderr] 661 | pub trait TD3D11Device: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 744 | fn check_counter(&self, desc: &D3D11_COUNTER_DESC, type_: &mut D3D11_COUNTER_TYPE, active_counters: &mut UINT, szName: LPSTR, name_length: &mut UINT, szUnits: LPSTR, units_length: &mut UINT, szDescription: LPSTR, description_length: &mut UINT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:746:45 [INFO] [stderr] | [INFO] [stderr] 746 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).CheckCounter(desc, type_, active_counters, szName, name_length, szUnits, units_length, szDescription, description_length) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_FEATURE` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:754:47 [INFO] [stderr] | [INFO] [stderr] 754 | fn check_feature_support(&self, feature: D3D11_FEATURE, feature_support_data: &mut [T], feature_support_data_size: UINT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:754:121 [INFO] [stderr] | [INFO] [stderr] 754 | fn check_feature_support(&self, feature: D3D11_FEATURE, feature_support_data: &mut [T], feature_support_data_size: UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:754:138 [INFO] [stderr] | [INFO] [stderr] 661 | pub trait TD3D11Device: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 754 | fn check_feature_support(&self, feature: D3D11_FEATURE, feature_support_data: &mut [T], feature_support_data_size: UINT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:756:45 [INFO] [stderr] | [INFO] [stderr] 756 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).CheckFeatureSupport(feature, feature_support_data.as_mut_ptr() as *mut _, feature_support_data_size) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:764:40 [INFO] [stderr] | [INFO] [stderr] 764 | fn get_private_data(&self, guid: &GUID, data_size: &mut UINT, data: &mut [T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:764:62 [INFO] [stderr] | [INFO] [stderr] 764 | fn get_private_data(&self, guid: &GUID, data_size: &mut UINT, data: &mut [T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:764:95 [INFO] [stderr] | [INFO] [stderr] 661 | pub trait TD3D11Device: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 764 | fn get_private_data(&self, guid: &GUID, data_size: &mut UINT, data: &mut [T]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:766:45 [INFO] [stderr] | [INFO] [stderr] 766 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).GetPrivateData(guid, data_size, data.as_mut_ptr() as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:774:40 [INFO] [stderr] | [INFO] [stderr] 774 | fn set_private_data(&self, guid: &GUID, data_size: UINT, data: &[T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:774:57 [INFO] [stderr] | [INFO] [stderr] 774 | fn set_private_data(&self, guid: &GUID, data_size: UINT, data: &[T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:774:86 [INFO] [stderr] | [INFO] [stderr] 661 | pub trait TD3D11Device: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 774 | fn set_private_data(&self, guid: &GUID, data_size: UINT, data: &[T]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:776:45 [INFO] [stderr] | [INFO] [stderr] 776 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).SetPrivateData(guid, data_size, data.as_ptr() as *const _) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:783:47 [INFO] [stderr] | [INFO] [stderr] 783 | fn set_private_data_interface(&self, guid: &GUID, data: &IUnknown) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:783:60 [INFO] [stderr] | [INFO] [stderr] 783 | fn set_private_data_interface(&self, guid: &GUID, data: &IUnknown) -> HResult { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:783:81 [INFO] [stderr] | [INFO] [stderr] 661 | pub trait TD3D11Device: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 783 | fn set_private_data_interface(&self, guid: &GUID, data: &IUnknown) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:785:45 [INFO] [stderr] | [INFO] [stderr] 785 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).SetPrivateDataInterface(guid, data) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:792:34 [INFO] [stderr] | [INFO] [stderr] 792 | fn get_feature_level(&self) -> D3D_FEATURE_LEVEL { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:794:45 [INFO] [stderr] | [INFO] [stderr] 794 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).GetFeatureLevel() }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:801:35 [INFO] [stderr] | [INFO] [stderr] 801 | fn get_creation_flags(&self) -> UINT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:803:45 [INFO] [stderr] | [INFO] [stderr] 803 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).GetCreationFlags() }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:810:50 [INFO] [stderr] | [INFO] [stderr] 661 | pub trait TD3D11Device: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 810 | fn get_device_removed_reason(&self) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:812:45 [INFO] [stderr] | [INFO] [stderr] 812 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).GetDeviceRemovedReason() }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:821:45 [INFO] [stderr] | [INFO] [stderr] 821 | fn set_exception_mode(&self, raise_flags: UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:821:62 [INFO] [stderr] | [INFO] [stderr] 661 | pub trait TD3D11Device: TUnknown { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 821 | fn set_exception_mode(&self, raise_flags: UINT) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:823:45 [INFO] [stderr] | [INFO] [stderr] 823 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).SetExceptionMode(raise_flags) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:830:35 [INFO] [stderr] | [INFO] [stderr] 830 | fn get_exception_mode(&self) -> UINT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:832:45 [INFO] [stderr] | [INFO] [stderr] 832 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Device)).GetExceptionMode() }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] ... [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:840:20 [INFO] [stderr] | [INFO] [stderr] 840 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:843:26 [INFO] [stderr] | [INFO] [stderr] 843 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:855:29 [INFO] [stderr] | [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ----------------------------^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D11Device` [INFO] [stderr] | similarly named struct `D3D11Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:858:15 [INFO] [stderr] | [INFO] [stderr] 858 | fn iid() -> REFGUID { &IID_ID3D11Device } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D11Device` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:858:26 [INFO] [stderr] | [INFO] [stderr] 855 | pub struct D3D11Device(*mut ID3D11Device); [INFO] [stderr] | ------------------------------------------ similarly named tuple struct `D3D11Device` defined here [INFO] [stderr] ... [INFO] [stderr] 858 | fn iid() -> REFGUID { &IID_ID3D11Device } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D11Device` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D11_RESOURCE_DIMENSION` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:865:47 [INFO] [stderr] | [INFO] [stderr] 865 | fn get_type(&self, resource_dimension: &mut D3D11_RESOURCE_DIMENSION) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:867:45 [INFO] [stderr] | [INFO] [stderr] 867 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Resource)).GetType(resource_dimension) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:874:54 [INFO] [stderr] | [INFO] [stderr] 874 | fn set_eviction_priority(&self, eviction_priority: UINT) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:876:45 [INFO] [stderr] | [INFO] [stderr] 876 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Resource)).SetEvictionPriority(eviction_priority) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:883:38 [INFO] [stderr] | [INFO] [stderr] 883 | fn get_eviction_priority(&self) -> UINT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:885:45 [INFO] [stderr] | [INFO] [stderr] 885 | let _hr=unsafe { (*(self.iptr() as *mut ID3D11Resource)).GetEvictionPriority() }; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] ... [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:893:20 [INFO] [stderr] | [INFO] [stderr] 893 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:896:26 [INFO] [stderr] | [INFO] [stderr] 896 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:909:31 [INFO] [stderr] | [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ------------------------------^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D11Resource` [INFO] [stderr] | similarly named struct `D3D11Resource` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:912:15 [INFO] [stderr] | [INFO] [stderr] 912 | fn iid() -> REFGUID { &IID_ID3D11Resource } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D11Resource` in this scope [INFO] [stderr] --> src/d3d11_safe.rs:912:26 [INFO] [stderr] | [INFO] [stderr] 909 | pub struct D3D11Resource(*mut ID3D11Resource); [INFO] [stderr] | ---------------------------------------------- similarly named tuple struct `D3D11Resource` defined here [INFO] [stderr] ... [INFO] [stderr] 912 | fn iid() -> REFGUID { &IID_ID3D11Resource } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D11Resource` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | pub cpu_timestamp : UINT64, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | pub gpu_timestamp : UINT64, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait TD3D12CommandAllocator: TD3D12Pageable { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 15 | fn reset(&self) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:17:45 [INFO] [stderr] | [INFO] [stderr] 17 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandAllocator)).Reset() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandAllocator` [INFO] [stderr] ... [INFO] [stderr] 43 | pub struct D3D12CommandAllocator(*mut ID3D12CommandAllocator); [INFO] [stderr] | -------------------------------------------------------------- similarly named struct `D3D12CommandAllocator` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:43:39 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct D3D12CommandAllocator(*mut ID3D12CommandAllocator); [INFO] [stderr] | --------------------------------------^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D12CommandAllocator` [INFO] [stderr] | similarly named struct `D3D12CommandAllocator` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | fn iid() -> REFGUID { &IID_ID3D12CommandAllocator } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12CommandAllocator` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:48:26 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct D3D12CommandAllocator(*mut ID3D12CommandAllocator); [INFO] [stderr] | -------------------------------------------------------------- similarly named tuple struct `D3D12CommandAllocator` defined here [INFO] [stderr] ... [INFO] [stderr] 48 | fn iid() -> REFGUID { &IID_ID3D12CommandAllocator } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D12CommandAllocator` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_COMMAND_LIST_TYPE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:55:25 [INFO] [stderr] | [INFO] [stderr] 55 | fn get_type(&self) -> D3D12_COMMAND_LIST_TYPE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandList` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:57:45 [INFO] [stderr] | [INFO] [stderr] 57 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandList)).GetType() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandList` [INFO] [stderr] ... [INFO] [stderr] 82 | pub struct D3D12CommandList(*mut ID3D12CommandList); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `D3D12CommandList` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:65:20 [INFO] [stderr] | [INFO] [stderr] 65 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandList` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:82:34 [INFO] [stderr] | [INFO] [stderr] 82 | pub struct D3D12CommandList(*mut ID3D12CommandList); [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D12CommandList` [INFO] [stderr] | similarly named struct `D3D12CommandList` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:85:15 [INFO] [stderr] | [INFO] [stderr] 85 | fn iid() -> REFGUID { &IID_ID3D12CommandList } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12CommandList` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:85:26 [INFO] [stderr] | [INFO] [stderr] 82 | pub struct D3D12CommandList(*mut ID3D12CommandList); [INFO] [stderr] | ---------------------------------------------------- similarly named tuple struct `D3D12CommandList` defined here [INFO] [stderr] ... [INFO] [stderr] 85 | fn iid() -> REFGUID { &IID_ID3D12CommandList } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D12CommandList` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_TILED_RESOURCE_COORDINATE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:92:111 [INFO] [stderr] | [INFO] [stderr] 88 | pub trait TD3D12CommandQueue: TD3D12Pageable { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 92 | fn update_tile_mappings(&self, resource: &T, resource_region_start_coordinates: Option<&[D3D12_TILED_RESOURCE_COORDINATE]>, resource_region_sizes: Option<&[D3D12_TILE_REGION_SIZE]>, heap: Option<&D3D12Heap>, range_flags: Option<&[D3D12_TILE_RANGE_FLAGS]>, heap_range_start_offsets: Option<&[UINT]>, range_tile_counts: Option<&[UINT]>, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_TILE_REGION_SIZE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:92:178 [INFO] [stderr] | [INFO] [stderr] 88 | pub trait TD3D12CommandQueue: TD3D12Pageable { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 92 | fn update_tile_mappings(&self, resource: &T, resource_region_start_coordinates: Option<&[D3D12_TILED_RESOURCE_COORDINATE]>, resource_region_sizes: Option<&[D3D12_TILE_REGION_SIZE]>, heap: Option<&D3D12Heap>, range_flags: Option<&[D3D12_TILE_RANGE_FLAGS]>, heap_range_start_offsets: Option<&[UINT]>, range_tile_counts: Option<&[UINT]>, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_TILE_RANGE_FLAGS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:92:252 [INFO] [stderr] | [INFO] [stderr] 88 | pub trait TD3D12CommandQueue: TD3D12Pageable { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 92 | fn update_tile_mappings(&self, resource: &T, resource_region_start_coordinates: Option<&[D3D12_TILED_RESOURCE_COORDINATE]>, resource_region_sizes: Option<&[D3D12_TILE_REGION_SIZE]>, heap: Option<&D3D12Heap>, range_flags: Option<&[D3D12_TILE_RANGE_FLAGS]>, heap_range_start_offsets: Option<&[UINT]>, range_tile_counts: Option<&[UINT]>, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:92:313 [INFO] [stderr] | [INFO] [stderr] 88 | pub trait TD3D12CommandQueue: TD3D12Pageable { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 92 | fn update_tile_mappings(&self, resource: &T, resource_region_start_coordinates: Option<&[D3D12_TILED_RESOURCE_COORDINATE]>, resource_region_sizes: Option<&[D3D12_TILE_REGION_SIZE]>, heap: Option<&D3D12Heap>, range_flags: Option<&[D3D12_TILE_RANGE_FLAGS]>, heap_range_start_offsets: Option<&[UINT]>, range_tile_counts: Option<&[UINT]>, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:92:349 [INFO] [stderr] | [INFO] [stderr] 88 | pub trait TD3D12CommandQueue: TD3D12Pageable { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 92 | fn update_tile_mappings(&self, resource: &T, resource_region_start_coordinates: Option<&[D3D12_TILED_RESOURCE_COORDINATE]>, resource_region_sizes: Option<&[D3D12_TILE_REGION_SIZE]>, heap: Option<&D3D12Heap>, range_flags: Option<&[D3D12_TILE_RANGE_FLAGS]>, heap_range_start_offsets: Option<&[UINT]>, range_tile_counts: Option<&[UINT]>, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_TILE_MAPPING_FLAGS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:92:364 [INFO] [stderr] | [INFO] [stderr] 92 | fn update_tile_mappings(&self, resource: &T, resource_region_start_coordinates: Option<&[D3D12_TILED_RESOURCE_COORDINATE]>, resource_region_sizes: Option<&[D3D12_TILE_REGION_SIZE]>, heap: Option<&D3D12Heap>, range_flags: Option<&[D3D12_TILE_RANGE_FLAGS]>, heap_range_start_offsets: Option<&[UINT]>, range_tile_counts: Option<&[UINT]>, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:94:45 [INFO] [stderr] | [INFO] [stderr] 94 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).UpdateTileMappings(resource.iptr() as *mut _ as *mut _ , same_length(&[resource_region_start_coordinates.as_ref().map(|a|a.len()),resource_region_sizes.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, opt_arr_as_ptr(&resource_region_start_coordinates) as *const _, opt_arr_as_ptr(&resource_region_sizes) as *const _, heap.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, same_length(&[range_flags.as_ref().map(|a|a.len()),heap_range_start_offsets.as_ref().map(|a|a.len()),range_tile_counts.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, opt_arr_as_ptr(&range_flags) as *const _, opt_arr_as_ptr(&heap_range_start_offsets) as *const _, opt_arr_as_ptr(&range_tile_counts) as *const _, flags) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] ... [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ------------------------------------------------------ similarly named struct `D3D12CommandQueue` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:94:288 [INFO] [stderr] | [INFO] [stderr] 94 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).UpdateTileMappings(resource.iptr() as *mut _ as *mut _ , same_length(&[resource_region_start_coordinates.as_ref().map(|a|a.len()),resource_region_sizes.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, opt_arr_as_ptr(&resource_region_start_coordinates) as *const _, opt_arr_as_ptr(&resource_region_sizes) as *const _, heap.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, same_length(&[range_flags.as_ref().map(|a|a.len()),heap_range_start_offsets.as_ref().map(|a|a.len()),range_tile_counts.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, opt_arr_as_ptr(&range_flags) as *const _, opt_arr_as_ptr(&heap_range_start_offsets) as *const _, opt_arr_as_ptr(&range_tile_counts) as *const _, flags) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:94:669 [INFO] [stderr] | [INFO] [stderr] 94 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).UpdateTileMappings(resource.iptr() as *mut _ as *mut _ , same_length(&[resource_region_start_coordinates.as_ref().map(|a|a.len()),resource_region_sizes.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, opt_arr_as_ptr(&resource_region_start_coordinates) as *const _, opt_arr_as_ptr(&resource_region_sizes) as *const _, heap.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, same_length(&[range_flags.as_ref().map(|a|a.len()),heap_range_start_offsets.as_ref().map(|a|a.len()),range_tile_counts.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, opt_arr_as_ptr(&range_flags) as *const _, opt_arr_as_ptr(&heap_range_start_offsets) as *const _, opt_arr_as_ptr(&range_tile_counts) as *const _, flags) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_TILED_RESOURCE_COORDINATE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:101:119 [INFO] [stderr] | [INFO] [stderr] 101 | fn copy_tile_mappings(&self, dst_resource: &T, dst_region_start_coordinate: &D3D12_TILED_RESOURCE_COORDINATE, src_resource: &T1, src_region_start_coordinate: &D3D12_TILED_RESOURCE_COORDINATE, region_size: &D3D12_TILE_REGION_SIZE, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_TILED_RESOURCE_COORDINATE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:101:201 [INFO] [stderr] | [INFO] [stderr] 101 | fn copy_tile_mappings(&self, dst_resource: &T, dst_region_start_coordinate: &D3D12_TILED_RESOURCE_COORDINATE, src_resource: &T1, src_region_start_coordinate: &D3D12_TILED_RESOURCE_COORDINATE, region_size: &D3D12_TILE_REGION_SIZE, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_TILE_REGION_SIZE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:101:248 [INFO] [stderr] | [INFO] [stderr] 101 | fn copy_tile_mappings(&self, dst_resource: &T, dst_region_start_coordinate: &D3D12_TILED_RESOURCE_COORDINATE, src_resource: &T1, src_region_start_coordinate: &D3D12_TILED_RESOURCE_COORDINATE, region_size: &D3D12_TILE_REGION_SIZE, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_TILE_MAPPING_FLAGS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:101:279 [INFO] [stderr] | [INFO] [stderr] 101 | fn copy_tile_mappings(&self, dst_resource: &T, dst_region_start_coordinate: &D3D12_TILED_RESOURCE_COORDINATE, src_resource: &T1, src_region_start_coordinate: &D3D12_TILED_RESOURCE_COORDINATE, region_size: &D3D12_TILE_REGION_SIZE, flags: D3D12_TILE_MAPPING_FLAGS) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:103:45 [INFO] [stderr] | [INFO] [stderr] 103 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).CopyTileMappings(dst_resource.iptr() as *mut _ as *mut _ , dst_region_start_coordinate, src_resource.iptr() as *mut _ as *mut _ , src_region_start_coordinate, region_size, flags) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] ... [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ------------------------------------------------------ similarly named struct `D3D12CommandQueue` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:111:27 [INFO] [stderr] | [INFO] [stderr] 111 | let mut lv1: Vec<*mut IUnknown> = command_lists.iter().map(|o|o.iptr()).collect(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 111 | let mut lv1: Vec<*mut TUnknown> = command_lists.iter().map(|o|o.iptr()).collect(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 88 | pub trait TD3D12CommandQueue: TD3D12Pageable { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:112:45 [INFO] [stderr] | [INFO] [stderr] 112 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).ExecuteCommandLists(command_lists.len() as UINT, lv1.as_mut_ptr() as *mut *mut _ as *mut *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] ... [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ------------------------------------------------------ similarly named struct `D3D12CommandQueue` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:112:109 [INFO] [stderr] | [INFO] [stderr] 112 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).ExecuteCommandLists(command_lists.len() as UINT, lv1.as_mut_ptr() as *mut *mut _ as *mut *mut _) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:119:54 [INFO] [stderr] | [INFO] [stderr] 119 | fn signal(&self, fence: &T, value: UINT64) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:119:73 [INFO] [stderr] | [INFO] [stderr] 88 | pub trait TD3D12CommandQueue: TD3D12Pageable { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 119 | fn signal(&self, fence: &T, value: UINT64) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:121:45 [INFO] [stderr] | [INFO] [stderr] 121 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).Signal(fence.iptr() as *mut _ as *mut _ , value) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] ... [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ------------------------------------------------------ similarly named struct `D3D12CommandQueue` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:128:52 [INFO] [stderr] | [INFO] [stderr] 128 | fn wait(&self, fence: &T, value: UINT64) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:128:71 [INFO] [stderr] | [INFO] [stderr] 88 | pub trait TD3D12CommandQueue: TD3D12Pageable { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 128 | fn wait(&self, fence: &T, value: UINT64) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:130:45 [INFO] [stderr] | [INFO] [stderr] 130 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).Wait(fence.iptr() as *mut _ as *mut _ , value) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] ... [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ------------------------------------------------------ similarly named struct `D3D12CommandQueue` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:137:48 [INFO] [stderr] | [INFO] [stderr] 88 | pub trait TD3D12CommandQueue: TD3D12Pageable { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 137 | fn get_timestamp_frequency(&self) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:138:18 [INFO] [stderr] | [INFO] [stderr] 138 | let mut lv1: UINT64 = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:139:45 [INFO] [stderr] | [INFO] [stderr] 139 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).GetTimestampFrequency(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] ... [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ------------------------------------------------------ similarly named struct `D3D12CommandQueue` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:148:45 [INFO] [stderr] | [INFO] [stderr] 148 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).GetClockCalibration(&mut (lv1.gpu_timestamp) as *mut _ as *mut _, &mut (lv1.cpu_timestamp) as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] ... [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ------------------------------------------------------ similarly named struct `D3D12CommandQueue` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_COMMAND_QUEUE_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:155:25 [INFO] [stderr] | [INFO] [stderr] 155 | fn get_desc(&self) -> D3D12_COMMAND_QUEUE_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_COMMAND_QUEUE_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:156:18 [INFO] [stderr] | [INFO] [stderr] 156 | let mut lv1: D3D12_COMMAND_QUEUE_DESC = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:157:45 [INFO] [stderr] | [INFO] [stderr] 157 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12CommandQueue)).GetDesc(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] ... [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ------------------------------------------------------ similarly named struct `D3D12CommandQueue` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:165:20 [INFO] [stderr] | [INFO] [stderr] 165 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:168:26 [INFO] [stderr] | [INFO] [stderr] 168 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:183:35 [INFO] [stderr] | [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ----------------------------------^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] | similarly named struct `D3D12CommandQueue` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:186:15 [INFO] [stderr] | [INFO] [stderr] 186 | fn iid() -> REFGUID { &IID_ID3D12CommandQueue } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12CommandQueue` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:186:26 [INFO] [stderr] | [INFO] [stderr] 183 | pub struct D3D12CommandQueue(*mut ID3D12CommandQueue); [INFO] [stderr] | ------------------------------------------------------ similarly named tuple struct `D3D12CommandQueue` defined here [INFO] [stderr] ... [INFO] [stderr] 186 | fn iid() -> REFGUID { &IID_ID3D12CommandQueue } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D12CommandQueue` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:194:20 [INFO] [stderr] | [INFO] [stderr] 194 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:197:26 [INFO] [stderr] | [INFO] [stderr] 197 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12CommandSignature` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:212:39 [INFO] [stderr] | [INFO] [stderr] 212 | pub struct D3D12CommandSignature(*mut ID3D12CommandSignature); [INFO] [stderr] | --------------------------------------^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D12CommandSignature` [INFO] [stderr] | similarly named struct `D3D12CommandSignature` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:215:15 [INFO] [stderr] | [INFO] [stderr] 215 | fn iid() -> REFGUID { &IID_ID3D12CommandSignature } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12CommandSignature` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:215:26 [INFO] [stderr] | [INFO] [stderr] 212 | pub struct D3D12CommandSignature(*mut ID3D12CommandSignature); [INFO] [stderr] | -------------------------------------------------------------- similarly named tuple struct `D3D12CommandSignature` defined here [INFO] [stderr] ... [INFO] [stderr] 215 | fn iid() -> REFGUID { &IID_ID3D12CommandSignature } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D12CommandSignature` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:222:25 [INFO] [stderr] | [INFO] [stderr] 222 | fn get_desc(&self) -> D3D12_DESCRIPTOR_HEAP_DESC { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:223:18 [INFO] [stderr] | [INFO] [stderr] 223 | let mut lv1: D3D12_DESCRIPTOR_HEAP_DESC = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:224:45 [INFO] [stderr] | [INFO] [stderr] 224 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12DescriptorHeap)).GetDesc(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12DescriptorHeap` [INFO] [stderr] ... [INFO] [stderr] 268 | pub struct D3D12DescriptorHeap(*mut ID3D12DescriptorHeap); [INFO] [stderr] | ---------------------------------------------------------- similarly named struct `D3D12DescriptorHeap` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:231:57 [INFO] [stderr] | [INFO] [stderr] 231 | fn get_cpu_descriptor_handle_for_heap_start(&self) -> D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:232:18 [INFO] [stderr] | [INFO] [stderr] 232 | let mut lv1: D3D12_CPU_DESCRIPTOR_HANDLE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:233:45 [INFO] [stderr] | [INFO] [stderr] 233 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12DescriptorHeap)).GetCPUDescriptorHandleForHeapStart(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12DescriptorHeap` [INFO] [stderr] ... [INFO] [stderr] 268 | pub struct D3D12DescriptorHeap(*mut ID3D12DescriptorHeap); [INFO] [stderr] | ---------------------------------------------------------- similarly named struct `D3D12DescriptorHeap` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:240:57 [INFO] [stderr] | [INFO] [stderr] 240 | fn get_gpu_descriptor_handle_for_heap_start(&self) -> D3D12_GPU_DESCRIPTOR_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:241:18 [INFO] [stderr] | [INFO] [stderr] 241 | let mut lv1: D3D12_GPU_DESCRIPTOR_HANDLE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:242:45 [INFO] [stderr] | [INFO] [stderr] 242 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12DescriptorHeap)).GetGPUDescriptorHandleForHeapStart(&mut lv1 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12DescriptorHeap` [INFO] [stderr] ... [INFO] [stderr] 268 | pub struct D3D12DescriptorHeap(*mut ID3D12DescriptorHeap); [INFO] [stderr] | ---------------------------------------------------------- similarly named struct `D3D12DescriptorHeap` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:250:20 [INFO] [stderr] | [INFO] [stderr] 250 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:253:26 [INFO] [stderr] | [INFO] [stderr] 253 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:268:37 [INFO] [stderr] | [INFO] [stderr] 268 | pub struct D3D12DescriptorHeap(*mut ID3D12DescriptorHeap); [INFO] [stderr] | ------------------------------------^^^^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D12DescriptorHeap` [INFO] [stderr] | similarly named struct `D3D12DescriptorHeap` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:272:15 [INFO] [stderr] | [INFO] [stderr] 272 | fn iid() -> REFGUID { &IID_ID3D12DescriptorHeap } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12DescriptorHeap` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:272:26 [INFO] [stderr] | [INFO] [stderr] 268 | pub struct D3D12DescriptorHeap(*mut ID3D12DescriptorHeap); [INFO] [stderr] | ---------------------------------------------------------- similarly named tuple struct `D3D12DescriptorHeap` defined here [INFO] [stderr] ... [INFO] [stderr] 272 | fn iid() -> REFGUID { &IID_ID3D12DescriptorHeap } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D12DescriptorHeap` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:280:23 [INFO] [stderr] | [INFO] [stderr] 280 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DeviceChild` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:281:45 [INFO] [stderr] | [INFO] [stderr] 281 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12DeviceChild)).GetDevice(T::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12DeviceChild` [INFO] [stderr] ... [INFO] [stderr] 305 | pub struct D3D12DeviceChild(*mut ID3D12DeviceChild); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `D3D12DeviceChild` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:281:122 [INFO] [stderr] | [INFO] [stderr] 281 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12DeviceChild)).GetDevice(T::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:289:20 [INFO] [stderr] | [INFO] [stderr] 289 | fn new(ptr: *mut IUnknown) -> Self { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:292:26 [INFO] [stderr] | [INFO] [stderr] 292 | fn iptr(&self) -> *mut IUnknown { [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DeviceChild` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:305:34 [INFO] [stderr] | [INFO] [stderr] 305 | pub struct D3D12DeviceChild(*mut ID3D12DeviceChild); [INFO] [stderr] | ---------------------------------^^^^^^^^^^^^^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | help: a struct with a similar name exists: `D3D12DeviceChild` [INFO] [stderr] | similarly named struct `D3D12DeviceChild` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:308:15 [INFO] [stderr] | [INFO] [stderr] 308 | fn iid() -> REFGUID { &IID_ID3D12DeviceChild } [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IID_ID3D12DeviceChild` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:308:26 [INFO] [stderr] | [INFO] [stderr] 305 | pub struct D3D12DeviceChild(*mut ID3D12DeviceChild); [INFO] [stderr] | ---------------------------------------------------- similarly named tuple struct `D3D12DeviceChild` defined here [INFO] [stderr] ... [INFO] [stderr] 308 | fn iid() -> REFGUID { &IID_ID3D12DeviceChild } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `D3D12DeviceChild` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:315:31 [INFO] [stderr] | [INFO] [stderr] 315 | fn get_node_count(&self) -> UINT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:317:45 [INFO] [stderr] | [INFO] [stderr] 317 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).GetNodeCount() }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_COMMAND_QUEUE_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:324:41 [INFO] [stderr] | [INFO] [stderr] 324 | fn create_command_queue(&self, desc: &D3D12_COMMAND_QUEUE_DESC) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:325:23 [INFO] [stderr] | [INFO] [stderr] 325 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:326:45 [INFO] [stderr] | [INFO] [stderr] 326 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateCommandQueue(desc, D3D12CommandQueue::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:326:148 [INFO] [stderr] | [INFO] [stderr] 326 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateCommandQueue(desc, D3D12CommandQueue::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_COMMAND_LIST_TYPE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:333:45 [INFO] [stderr] | [INFO] [stderr] 333 | fn create_command_allocator(&self, type_: D3D12_COMMAND_LIST_TYPE) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:334:23 [INFO] [stderr] | [INFO] [stderr] 334 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:335:45 [INFO] [stderr] | [INFO] [stderr] 335 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateCommandAllocator(type_, D3D12CommandAllocator::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:335:157 [INFO] [stderr] | [INFO] [stderr] 335 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateCommandAllocator(type_, D3D12CommandAllocator::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:342:51 [INFO] [stderr] | [INFO] [stderr] 342 | fn create_graphics_pipeline_state(&self, desc: &D3D12_GRAPHICS_PIPELINE_STATE_DESC) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:343:23 [INFO] [stderr] | [INFO] [stderr] 343 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:344:45 [INFO] [stderr] | [INFO] [stderr] 344 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateGraphicsPipelineState(desc, D3D12PipelineState::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:344:158 [INFO] [stderr] | [INFO] [stderr] 344 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateGraphicsPipelineState(desc, D3D12PipelineState::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:351:50 [INFO] [stderr] | [INFO] [stderr] 351 | fn create_compute_pipeline_state(&self, desc: &D3D12_COMPUTE_PIPELINE_STATE_DESC) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:352:23 [INFO] [stderr] | [INFO] [stderr] 352 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:353:45 [INFO] [stderr] | [INFO] [stderr] 353 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateComputePipelineState(desc, D3D12PipelineState::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:353:157 [INFO] [stderr] | [INFO] [stderr] 353 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateComputePipelineState(desc, D3D12PipelineState::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:360:91 [INFO] [stderr] | [INFO] [stderr] 360 | fn create_command_list(&self, nodeMask: UINT, type_: D3D12_COMMAND_LIST_TYPE, command_allocator: &T, initial_state: Option<&D3D12PipelineState>) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_COMMAND_LIST_TYPE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:360:104 [INFO] [stderr] | [INFO] [stderr] 360 | fn create_command_list(&self, nodeMask: UINT, type_: D3D12_COMMAND_LIST_TYPE, command_allocator: &T, initial_state: Option<&D3D12PipelineState>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:361:23 [INFO] [stderr] | [INFO] [stderr] 361 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:362:45 [INFO] [stderr] | [INFO] [stderr] 362 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateCommandList(nodeMask, type_, command_allocator.iptr() as *mut _ as *mut _ , initial_state.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, T1::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:362:269 [INFO] [stderr] | [INFO] [stderr] 362 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateCommandList(nodeMask, type_, command_allocator.iptr() as *mut _ as *mut _ , initial_state.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, T1::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_FEATURE_DATA_D3D12_OPTIONS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:368:54 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 368 | fn check_feature_support_options(&self) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_FEATURE_DATA_D3D12_OPTIONS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:369:20 [INFO] [stderr] | [INFO] [stderr] 369 | let mut lv1: D3D12_FEATURE_DATA_D3D12_OPTIONS = unsafe{ mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:370:47 [INFO] [stderr] | [INFO] [stderr] 370 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS, &mut lv1 as *mut _ as *mut c_void, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_FEATURE_D3D12_OPTIONS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:370:82 [INFO] [stderr] | [INFO] [stderr] 370 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS, &mut lv1 as *mut _ as *mut c_void, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:370:138 [INFO] [stderr] | [INFO] [stderr] 370 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS, &mut lv1 as *mut _ as *mut c_void, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:370:172 [INFO] [stderr] | [INFO] [stderr] 370 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS, &mut lv1 as *mut _ as *mut c_void, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:375:52 [INFO] [stderr] | [INFO] [stderr] 375 | fn check_feature_support_arch(&self, node_index: UINT) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_FEATURE_DATA_ARCHITECTURE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:375:69 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 375 | fn check_feature_support_arch(&self, node_index: UINT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_FEATURE_DATA_ARCHITECTURE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:376:20 [INFO] [stderr] | [INFO] [stderr] 376 | let mut lv1: D3D12_FEATURE_DATA_ARCHITECTURE = unsafe{ mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:378:47 [INFO] [stderr] | [INFO] [stderr] 378 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_ARCHITECTURE, &mut lv1 as *mut _ as *mut _, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_FEATURE_ARCHITECTURE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:378:82 [INFO] [stderr] | [INFO] [stderr] 378 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_ARCHITECTURE, &mut lv1 as *mut _ as *mut _, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:378:166 [INFO] [stderr] | [INFO] [stderr] 378 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_ARCHITECTURE, &mut lv1 as *mut _ as *mut _, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:383:60 [INFO] [stderr] | [INFO] [stderr] 383 | fn check_feature_support_feature_levels(&self, levels: &[D3D_FEATURE_LEVEL]) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:383:91 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 383 | fn check_feature_support_feature_levels(&self, levels: &[D3D_FEATURE_LEVEL]) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_FEATURE_DATA_FEATURE_LEVELS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:384:21 [INFO] [stderr] | [INFO] [stderr] 384 | let mut lv1 = D3D12_FEATURE_DATA_FEATURE_LEVELS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:385:45 [INFO] [stderr] | [INFO] [stderr] 385 | NumFeatureLevels: levels.len() as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:389:47 [INFO] [stderr] | [INFO] [stderr] 389 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_FEATURE_LEVELS, &mut lv1 as *mut _ as *mut _, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_FEATURE_FEATURE_LEVELS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:389:82 [INFO] [stderr] | [INFO] [stderr] 389 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_FEATURE_LEVELS, &mut lv1 as *mut _ as *mut _, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:389:168 [INFO] [stderr] | [INFO] [stderr] 389 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_FEATURE_LEVELS, &mut lv1 as *mut _ as *mut _, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:394:58 [INFO] [stderr] | [INFO] [stderr] 394 | fn check_feature_support_format_support(&self, format: DXGI_FORMAT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_FEATURE_DATA_FORMAT_SUPPORT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:394:82 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 394 | fn check_feature_support_format_support(&self, format: DXGI_FORMAT) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3D12_FEATURE_DATA_FORMAT_SUPPORT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:395:21 [INFO] [stderr] | [INFO] [stderr] 395 | let mut lv1 = D3D12_FEATURE_DATA_FORMAT_SUPPORT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:400:47 [INFO] [stderr] | [INFO] [stderr] 400 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT, &mut lv1 as *mut _ as *mut _, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_FEATURE_FORMAT_SUPPORT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:400:82 [INFO] [stderr] | [INFO] [stderr] 400 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT, &mut lv1 as *mut _ as *mut _, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:400:168 [INFO] [stderr] | [INFO] [stderr] 400 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT, &mut lv1 as *mut _ as *mut _, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:405:89 [INFO] [stderr] | [INFO] [stderr] 405 | fn check_feature_support_multisample_quality_levels(&self, feature_support_data: &mut D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:405:147 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 405 | fn check_feature_support_multisample_quality_levels(&self, feature_support_data: &mut D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:406:47 [INFO] [stderr] | [INFO] [stderr] 406 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_MULTISAMPLE_QUALITY_LEVELS, feature_support_data as *mut _ as *mut _, mem::size_of_val(feature_support_data) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_FEATURE_MULTISAMPLE_QUALITY_LEVELS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:406:82 [INFO] [stderr] | [INFO] [stderr] 406 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_MULTISAMPLE_QUALITY_LEVELS, feature_support_data as *mut _ as *mut _, mem::size_of_val(feature_support_data) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:406:208 [INFO] [stderr] | [INFO] [stderr] 406 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_MULTISAMPLE_QUALITY_LEVELS, feature_support_data as *mut _ as *mut _, mem::size_of_val(feature_support_data) as UINT) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_FEATURE_DATA_FORMAT_INFO` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:411:74 [INFO] [stderr] | [INFO] [stderr] 411 | fn check_feature_support_format_info(&self, feature_support_data: &mut D3D12_FEATURE_DATA_FORMAT_INFO) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:411:117 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 411 | fn check_feature_support_format_info(&self, feature_support_data: &mut D3D12_FEATURE_DATA_FORMAT_INFO) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:412:47 [INFO] [stderr] | [INFO] [stderr] 412 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_FORMAT_INFO, feature_support_data as *mut _ as *mut _, mem::size_of_val(feature_support_data) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_FEATURE_FORMAT_INFO` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:412:82 [INFO] [stderr] | [INFO] [stderr] 412 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_FORMAT_INFO, feature_support_data as *mut _ as *mut _, mem::size_of_val(feature_support_data) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:412:193 [INFO] [stderr] | [INFO] [stderr] 412 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_FORMAT_INFO, feature_support_data as *mut _ as *mut _, mem::size_of_val(feature_support_data) as UINT) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:417:62 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 417 | fn check_feature_support_virtual_address(&self) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:418:20 [INFO] [stderr] | [INFO] [stderr] 418 | let mut lv1: D3D12_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT = unsafe{ mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:419:47 [INFO] [stderr] | [INFO] [stderr] 419 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT, &mut lv1 as *mut _ as *mut c_void, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D12_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:419:82 [INFO] [stderr] | [INFO] [stderr] 419 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT, &mut lv1 as *mut _ as *mut c_void, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:419:152 [INFO] [stderr] | [INFO] [stderr] 419 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT, &mut lv1 as *mut _ as *mut c_void, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:419:186 [INFO] [stderr] | [INFO] [stderr] 419 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CheckFeatureSupport(D3D12_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT, &mut lv1 as *mut _ as *mut c_void, mem::size_of_val(&lv1) as UINT) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:425:59 [INFO] [stderr] | [INFO] [stderr] 425 | fn create_descriptor_heap(&self, descriptor_heap_desc: &D3D12_DESCRIPTOR_HEAP_DESC) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:426:23 [INFO] [stderr] | [INFO] [stderr] 426 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:427:45 [INFO] [stderr] | [INFO] [stderr] 427 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateDescriptorHeap(descriptor_heap_desc, D3D12DescriptorHeap::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:427:168 [INFO] [stderr] | [INFO] [stderr] 427 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateDescriptorHeap(descriptor_heap_desc, D3D12DescriptorHeap::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:434:72 [INFO] [stderr] | [INFO] [stderr] 434 | fn get_descriptor_handle_increment_size(&self, descriptor_heap_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> UINT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:434:103 [INFO] [stderr] | [INFO] [stderr] 434 | fn get_descriptor_handle_increment_size(&self, descriptor_heap_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> UINT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:436:45 [INFO] [stderr] | [INFO] [stderr] 436 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).GetDescriptorHandleIncrementSize(descriptor_heap_type) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:443:48 [INFO] [stderr] | [INFO] [stderr] 443 | fn create_root_signature(&self, nodeMask: UINT, blob_with_root_signature: &[T]) -> HResult { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:444:23 [INFO] [stderr] | [INFO] [stderr] 444 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:445:45 [INFO] [stderr] | [INFO] [stderr] 445 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateRootSignature(nodeMask, blob_with_root_signature.as_ptr() as *const _, (mem::size_of_val(blob_with_root_signature)/1) as SIZE_T, D3D12RootSignature::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:445:187 [INFO] [stderr] | [INFO] [stderr] 445 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateRootSignature(nodeMask, blob_with_root_signature.as_ptr() as *const _, (mem::size_of_val(blob_with_root_signature)/1) as SIZE_T, D3D12RootSignature::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:445:259 [INFO] [stderr] | [INFO] [stderr] 445 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateRootSignature(nodeMask, blob_with_root_signature.as_ptr() as *const _, (mem::size_of_val(blob_with_root_signature)/1) as SIZE_T, D3D12RootSignature::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CONSTANT_BUFFER_VIEW_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:452:55 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 452 | fn create_constant_buffer_view(&self, desc: Option<&D3D12_CONSTANT_BUFFER_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:452:106 [INFO] [stderr] | [INFO] [stderr] 452 | fn create_constant_buffer_view(&self, desc: Option<&D3D12_CONSTANT_BUFFER_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:454:45 [INFO] [stderr] | [INFO] [stderr] 454 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateConstantBufferView(desc.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), dest_descriptor) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:461:89 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 461 | fn create_shader_resource_view(&self, resource: Option<&D3D12Resource>, desc: Option<&D3D12_SHADER_RESOURCE_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:461:140 [INFO] [stderr] | [INFO] [stderr] 461 | fn create_shader_resource_view(&self, resource: Option<&D3D12Resource>, desc: Option<&D3D12_SHADER_RESOURCE_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:463:45 [INFO] [stderr] | [INFO] [stderr] 463 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateShaderResourceView(resource.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, desc.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), dest_descriptor) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_UNORDERED_ACCESS_VIEW_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:470:132 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 470 | fn create_unordered_access_view(&self, resource: Option<&D3D12Resource>, counter_resource: Option<&D3D12Resource>, desc: Option<&D3D12_UNORDERED_ACCESS_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:470:184 [INFO] [stderr] | [INFO] [stderr] 470 | fn create_unordered_access_view(&self, resource: Option<&D3D12Resource>, counter_resource: Option<&D3D12Resource>, desc: Option<&D3D12_UNORDERED_ACCESS_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:472:45 [INFO] [stderr] | [INFO] [stderr] 472 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateUnorderedAccessView(resource.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, counter_resource.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, desc.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), dest_descriptor) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RENDER_TARGET_VIEW_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:479:87 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 479 | fn create_render_target_view(&self, resource: Option<&D3D12Resource>, desc: Option<&D3D12_RENDER_TARGET_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:479:136 [INFO] [stderr] | [INFO] [stderr] 479 | fn create_render_target_view(&self, resource: Option<&D3D12Resource>, desc: Option<&D3D12_RENDER_TARGET_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:481:45 [INFO] [stderr] | [INFO] [stderr] 481 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateRenderTargetView(resource.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, desc.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), dest_descriptor) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_DEPTH_STENCIL_VIEW_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:488:87 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 488 | fn create_depth_stencil_view(&self, resource: Option<&D3D12Resource>, desc: Option<&D3D12_DEPTH_STENCIL_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:488:136 [INFO] [stderr] | [INFO] [stderr] 488 | fn create_depth_stencil_view(&self, resource: Option<&D3D12Resource>, desc: Option<&D3D12_DEPTH_STENCIL_VIEW_DESC>, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:490:45 [INFO] [stderr] | [INFO] [stderr] 490 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateDepthStencilView(resource.map(|i|i.iptr()).unwrap_or(ptr::null_mut()) as *mut _ as *mut _, desc.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), dest_descriptor) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_SAMPLER_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:497:35 [INFO] [stderr] | [INFO] [stderr] 497 | fn create_sampler(&self, desc: &D3D12_SAMPLER_DESC, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:497:72 [INFO] [stderr] | [INFO] [stderr] 497 | fn create_sampler(&self, desc: &D3D12_SAMPLER_DESC, dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:499:45 [INFO] [stderr] | [INFO] [stderr] 499 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateSampler(desc, dest_descriptor) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:506:62 [INFO] [stderr] | [INFO] [stderr] 506 | fn copy_descriptors(&self, dest_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], dest_descriptor_range_sizes: Option<&[UINT]>, src_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], src_descriptor_range_sizes: Option<&[UINT]>, descriptor_heaps_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:506:130 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 506 | fn copy_descriptors(&self, dest_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], dest_descriptor_range_sizes: Option<&[UINT]>, src_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], src_descriptor_range_sizes: Option<&[UINT]>, descriptor_heaps_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:506:169 [INFO] [stderr] | [INFO] [stderr] 506 | fn copy_descriptors(&self, dest_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], dest_descriptor_range_sizes: Option<&[UINT]>, src_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], src_descriptor_range_sizes: Option<&[UINT]>, descriptor_heaps_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:506:236 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 506 | fn copy_descriptors(&self, dest_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], dest_descriptor_range_sizes: Option<&[UINT]>, src_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], src_descriptor_range_sizes: Option<&[UINT]>, descriptor_heaps_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:506:267 [INFO] [stderr] | [INFO] [stderr] 506 | fn copy_descriptors(&self, dest_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], dest_descriptor_range_sizes: Option<&[UINT]>, src_descriptor_range_starts: &[D3D12_CPU_DESCRIPTOR_HANDLE], src_descriptor_range_sizes: Option<&[UINT]>, descriptor_heaps_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:508:45 [INFO] [stderr] | [INFO] [stderr] 508 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CopyDescriptors( same_length(&[Some(dest_descriptor_range_starts.len()),dest_descriptor_range_sizes.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, slice_as_ptr(dest_descriptor_range_starts), opt_arr_as_ptr(&dest_descriptor_range_sizes) as *const _, same_length(&[Some(src_descriptor_range_starts.len()),src_descriptor_range_sizes.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, slice_as_ptr(src_descriptor_range_starts), opt_arr_as_ptr(&src_descriptor_range_sizes) as *const _, descriptor_heaps_type) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:508:229 [INFO] [stderr] | [INFO] [stderr] 508 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CopyDescriptors( same_length(&[Some(dest_descriptor_range_starts.len()),dest_descriptor_range_sizes.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, slice_as_ptr(dest_descriptor_range_starts), opt_arr_as_ptr(&dest_descriptor_range_sizes) as *const _, same_length(&[Some(src_descriptor_range_starts.len()),src_descriptor_range_sizes.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, slice_as_ptr(src_descriptor_range_starts), opt_arr_as_ptr(&src_descriptor_range_sizes) as *const _, descriptor_heaps_type) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:508:488 [INFO] [stderr] | [INFO] [stderr] 508 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CopyDescriptors( same_length(&[Some(dest_descriptor_range_starts.len()),dest_descriptor_range_sizes.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, slice_as_ptr(dest_descriptor_range_starts), opt_arr_as_ptr(&dest_descriptor_range_sizes) as *const _, same_length(&[Some(src_descriptor_range_starts.len()),src_descriptor_range_sizes.as_ref().map(|a|a.len())]).expect("Arrays must have equal sizes") as UINT, slice_as_ptr(src_descriptor_range_starts), opt_arr_as_ptr(&src_descriptor_range_sizes) as *const _, descriptor_heaps_type) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:515:54 [INFO] [stderr] | [INFO] [stderr] 515 | fn copy_descriptors_simple(&self, num_descriptors: UINT, dest_descriptor_range_start: D3D12_CPU_DESCRIPTOR_HANDLE, src_descriptor_range_start: D3D12_CPU_DESCRIPTOR_HANDLE, descriptor_heaps_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> () { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:515:89 [INFO] [stderr] | [INFO] [stderr] 515 | fn copy_descriptors_simple(&self, num_descriptors: UINT, dest_descriptor_range_start: D3D12_CPU_DESCRIPTOR_HANDLE, src_descriptor_range_start: D3D12_CPU_DESCRIPTOR_HANDLE, descriptor_heaps_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:515:146 [INFO] [stderr] | [INFO] [stderr] 515 | fn copy_descriptors_simple(&self, num_descriptors: UINT, dest_descriptor_range_start: D3D12_CPU_DESCRIPTOR_HANDLE, src_descriptor_range_start: D3D12_CPU_DESCRIPTOR_HANDLE, descriptor_heaps_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:515:198 [INFO] [stderr] | [INFO] [stderr] 515 | fn copy_descriptors_simple(&self, num_descriptors: UINT, dest_descriptor_range_start: D3D12_CPU_DESCRIPTOR_HANDLE, src_descriptor_range_start: D3D12_CPU_DESCRIPTOR_HANDLE, descriptor_heaps_type: D3D12_DESCRIPTOR_HEAP_TYPE) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:517:45 [INFO] [stderr] | [INFO] [stderr] 517 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CopyDescriptorsSimple(num_descriptors, dest_descriptor_range_start, src_descriptor_range_start, descriptor_heaps_type) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:524:55 [INFO] [stderr] | [INFO] [stderr] 524 | fn get_resource_allocation_info(&self, visibleMask: UINT, resource_descs: &[D3D12_RESOURCE_DESC]) -> D3D12_RESOURCE_ALLOCATION_INFO { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:524:79 [INFO] [stderr] | [INFO] [stderr] 524 | fn get_resource_allocation_info(&self, visibleMask: UINT, resource_descs: &[D3D12_RESOURCE_DESC]) -> D3D12_RESOURCE_ALLOCATION_INFO { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_ALLOCATION_INFO` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:524:104 [INFO] [stderr] | [INFO] [stderr] 524 | fn get_resource_allocation_info(&self, visibleMask: UINT, resource_descs: &[D3D12_RESOURCE_DESC]) -> D3D12_RESOURCE_ALLOCATION_INFO { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_ALLOCATION_INFO` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:525:18 [INFO] [stderr] | [INFO] [stderr] 525 | let mut lv1: D3D12_RESOURCE_ALLOCATION_INFO = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:526:45 [INFO] [stderr] | [INFO] [stderr] 526 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).GetResourceAllocationInfo(&mut lv1 as *mut _ as *mut _, visibleMask, resource_descs.len() as UINT, slice_as_ptr(resource_descs)) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:526:153 [INFO] [stderr] | [INFO] [stderr] 526 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).GetResourceAllocationInfo(&mut lv1 as *mut _ as *mut _, visibleMask, resource_descs.len() as UINT, slice_as_ptr(resource_descs)) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:533:50 [INFO] [stderr] | [INFO] [stderr] 533 | fn get_custom_heap_properties(&self, nodeMask: UINT, heapType: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:533:66 [INFO] [stderr] | [INFO] [stderr] 533 | fn get_custom_heap_properties(&self, nodeMask: UINT, heapType: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_PROPERTIES` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:533:86 [INFO] [stderr] | [INFO] [stderr] 533 | fn get_custom_heap_properties(&self, nodeMask: UINT, heapType: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_PROPERTIES` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:534:18 [INFO] [stderr] | [INFO] [stderr] 534 | let mut lv1: D3D12_HEAP_PROPERTIES = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:535:45 [INFO] [stderr] | [INFO] [stderr] 535 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).GetCustomHeapProperties(&mut lv1 as *mut _ as *mut _, nodeMask, heapType) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_PROPERTIES` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:542:57 [INFO] [stderr] | [INFO] [stderr] 542 | fn create_committed_resource(&self, heap_properties: &D3D12_HEAP_PROPERTIES, heap_flags: D3D12_HEAP_FLAGS, resource_desc: &D3D12_RESOURCE_DESC, initial_resource_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_FLAGS` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:542:92 [INFO] [stderr] | [INFO] [stderr] 542 | fn create_committed_resource(&self, heap_properties: &D3D12_HEAP_PROPERTIES, heap_flags: D3D12_HEAP_FLAGS, resource_desc: &D3D12_RESOURCE_DESC, initial_resource_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:542:126 [INFO] [stderr] | [INFO] [stderr] 542 | fn create_committed_resource(&self, heap_properties: &D3D12_HEAP_PROPERTIES, heap_flags: D3D12_HEAP_FLAGS, resource_desc: &D3D12_RESOURCE_DESC, initial_resource_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:542:171 [INFO] [stderr] | [INFO] [stderr] 542 | fn create_committed_resource(&self, heap_properties: &D3D12_HEAP_PROPERTIES, heap_flags: D3D12_HEAP_FLAGS, resource_desc: &D3D12_RESOURCE_DESC, initial_resource_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:542:225 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 542 | fn create_committed_resource(&self, heap_properties: &D3D12_HEAP_PROPERTIES, heap_flags: D3D12_HEAP_FLAGS, resource_desc: &D3D12_RESOURCE_DESC, initial_resource_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:543:23 [INFO] [stderr] | [INFO] [stderr] 543 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:544:45 [INFO] [stderr] | [INFO] [stderr] 544 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateCommittedResource(heap_properties, heap_flags, resource_desc, initial_resource_state, optimized_clear_value.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), D3D12Resource::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:544:301 [INFO] [stderr] | [INFO] [stderr] 544 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateCommittedResource(heap_properties, heap_flags, resource_desc, initial_resource_state, optimized_clear_value.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), D3D12Resource::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_HEAP_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:551:32 [INFO] [stderr] | [INFO] [stderr] 551 | fn create_heap(&self, desc: &D3D12_HEAP_DESC) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:552:23 [INFO] [stderr] | [INFO] [stderr] 552 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:553:45 [INFO] [stderr] | [INFO] [stderr] 553 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateHeap(desc, D3D12Heap::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:553:132 [INFO] [stderr] | [INFO] [stderr] 553 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateHeap(desc, D3D12Heap::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Heap` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:560:47 [INFO] [stderr] | [INFO] [stderr] 560 | fn create_placed_resource(&self, heap: &mut ID3D12Heap, heap_offset: UINT64, desc: &D3D12_RESOURCE_DESC, initial_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Heap` [INFO] [stderr] ... [INFO] [stderr] 1280 | pub struct D3D12Heap(*mut ID3D12Heap); [INFO] [stderr] | -------------------------------------- similarly named struct `D3D12Heap` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:560:72 [INFO] [stderr] | [INFO] [stderr] 560 | fn create_placed_resource(&self, heap: &mut ID3D12Heap, heap_offset: UINT64, desc: &D3D12_RESOURCE_DESC, initial_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:560:87 [INFO] [stderr] | [INFO] [stderr] 560 | fn create_placed_resource(&self, heap: &mut ID3D12Heap, heap_offset: UINT64, desc: &D3D12_RESOURCE_DESC, initial_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:560:123 [INFO] [stderr] | [INFO] [stderr] 560 | fn create_placed_resource(&self, heap: &mut ID3D12Heap, heap_offset: UINT64, desc: &D3D12_RESOURCE_DESC, initial_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:560:177 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 560 | fn create_placed_resource(&self, heap: &mut ID3D12Heap, heap_offset: UINT64, desc: &D3D12_RESOURCE_DESC, initial_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:561:23 [INFO] [stderr] | [INFO] [stderr] 561 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:562:45 [INFO] [stderr] | [INFO] [stderr] 562 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreatePlacedResource(heap, heap_offset, desc, initial_state, optimized_clear_value.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), D3D12Resource::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:562:270 [INFO] [stderr] | [INFO] [stderr] 562 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreatePlacedResource(heap, heap_offset, desc, initial_state, optimized_clear_value.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), D3D12Resource::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:569:45 [INFO] [stderr] | [INFO] [stderr] 569 | fn create_reserved_resource(&self, desc: &D3D12_RESOURCE_DESC, initial_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:569:81 [INFO] [stderr] | [INFO] [stderr] 569 | fn create_reserved_resource(&self, desc: &D3D12_RESOURCE_DESC, initial_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:569:135 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 569 | fn create_reserved_resource(&self, desc: &D3D12_RESOURCE_DESC, initial_state: D3D12_RESOURCE_STATES, optimized_clear_value: Option<&D3D12_CLEAR_VALUE>) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:570:23 [INFO] [stderr] | [INFO] [stderr] 570 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:571:45 [INFO] [stderr] | [INFO] [stderr] 571 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateReservedResource(desc, initial_state, optimized_clear_value.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), D3D12Resource::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:571:253 [INFO] [stderr] | [INFO] [stderr] 571 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateReservedResource(desc, initial_state, optimized_clear_value.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), D3D12Resource::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12DeviceChild` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:578:62 [INFO] [stderr] | [INFO] [stderr] 305 | pub struct D3D12DeviceChild(*mut ID3D12DeviceChild); [INFO] [stderr] | ---------------------------------------------------- similarly named struct `D3D12DeviceChild` defined here [INFO] [stderr] ... [INFO] [stderr] 578 | fn create_shared_handle>(&self, object: &mut ID3D12DeviceChild, attributes: Option<&SECURITY_ATTRIBUTES>, access: DWORD, name: T) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12DeviceChild` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:578:101 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 578 | fn create_shared_handle>(&self, object: &mut ID3D12DeviceChild, attributes: Option<&SECURITY_ATTRIBUTES>, access: DWORD, name: T) -> HResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:578:131 [INFO] [stderr] | [INFO] [stderr] 578 | fn create_shared_handle>(&self, object: &mut ID3D12DeviceChild, attributes: Option<&SECURITY_ATTRIBUTES>, access: DWORD, name: T) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:578:158 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 578 | fn create_shared_handle>(&self, object: &mut ID3D12DeviceChild, attributes: Option<&SECURITY_ATTRIBUTES>, access: DWORD, name: T) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:580:18 [INFO] [stderr] | [INFO] [stderr] 580 | let mut lv2: HANDLE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:581:45 [INFO] [stderr] | [INFO] [stderr] 581 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateSharedHandle(object, attributes.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), access, lv1.as_ptr() as LPCWSTR, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:581:190 [INFO] [stderr] | [INFO] [stderr] 581 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).CreateSharedHandle(object, attributes.as_ref().map(|p|*p as *const _ as *const _).unwrap_or(ptr::null()), access, lv1.as_ptr() as LPCWSTR, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:588:64 [INFO] [stderr] | [INFO] [stderr] 588 | fn open_shared_handle(&self, n_t_handle: HANDLE) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:589:23 [INFO] [stderr] | [INFO] [stderr] 589 | let mut lv1: *mut IUnknown = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^ help: a trait with a similar name exists: `TUnknown` [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:590:45 [INFO] [stderr] | [INFO] [stderr] 590 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).OpenSharedHandle(n_t_handle, T::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:590:136 [INFO] [stderr] | [INFO] [stderr] 590 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).OpenSharedHandle(n_t_handle, T::iid(), &mut lv1 as *mut *mut _ as *mut *mut c_void) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:597:72 [INFO] [stderr] | [INFO] [stderr] 597 | fn open_shared_handle_by_name>(&self, name: T, access: DWORD) -> HResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:597:90 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 597 | fn open_shared_handle_by_name>(&self, name: T, access: DWORD) -> HResult { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:599:18 [INFO] [stderr] | [INFO] [stderr] 599 | let mut lv2: HANDLE = unsafe {mem::uninitialized::<_>()}; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ID3D12Device` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:600:45 [INFO] [stderr] | [INFO] [stderr] 600 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).OpenSharedHandleByName(lv1.as_ptr() as LPCWSTR, access, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D12Device` [INFO] [stderr] ... [INFO] [stderr] 714 | pub struct D3D12Device(*mut ID3D12Device); [INFO] [stderr] | ------------------------------------------ similarly named struct `D3D12Device` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:600:99 [INFO] [stderr] | [INFO] [stderr] 600 | let _hr=unsafe { (*(self.iptr() as *mut ID3D12Device)).OpenSharedHandleByName(lv1.as_ptr() as LPCWSTR, access, &mut lv2 as *mut _ as *mut _) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:607:73 [INFO] [stderr] | [INFO] [stderr] 311 | pub trait TD3D12Device: TD3D12Object { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 607 | fn make_resident(&self, objects: &[&T]) -> HResult { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/d3d12_safe.rs:608:27 [INFO] [stderr] | [INFO] [stderr] 608 | let mut lv1: Vec<*mut IUnknown> = objects.iter().map(|o|o.iptr()).collect(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/iid.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait TUnknown { [INFO] [stderr] | ------------------ similarly named trait `TUnknown` defined here [INFO] [stderr] | [WARN] too many lines in the log, truncating it