[INFO] crate hassle-rs 0.2.0 is already in cache [INFO] extracting crate hassle-rs 0.2.0 into work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/hassle-rs/0.2.0 [INFO] extracting crate hassle-rs 0.2.0 into work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/hassle-rs/0.2.0 [INFO] validating manifest of hassle-rs-0.2.0 on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of hassle-rs-0.2.0 on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing hassle-rs-0.2.0 [INFO] finished frobbing hassle-rs-0.2.0 [INFO] frobbed toml for hassle-rs-0.2.0 written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/hassle-rs/0.2.0/Cargo.toml [INFO] started frobbing hassle-rs-0.2.0 [INFO] finished frobbing hassle-rs-0.2.0 [INFO] frobbed toml for hassle-rs-0.2.0 written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/hassle-rs/0.2.0/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking hassle-rs-0.2.0 against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-3/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/hassle-rs/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d09c9929a889e883c8dd0d4a5c1ccdc7285a3bd59d1e29235714db733da1d485 [INFO] running `"docker" "start" "-a" "d09c9929a889e883c8dd0d4a5c1ccdc7285a3bd59d1e29235714db733da1d485"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling com-rs v0.2.0 [INFO] [stderr] Checking rspirv v0.5.4 [INFO] [stderr] Checking hassle-rs v0.2.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/ffi.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/ffi.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::winerror::HRESULT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/utils.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::ntdef::LPWSTR; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [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 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/utils.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/wrapper.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/wrapper.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::winerror::HRESULT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/ffi.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/ffi.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::winerror::HRESULT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/utils.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::ntdef::LPWSTR; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [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 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/utils.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/wrapper.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/wrapper.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::winerror::HRESULT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:7:76 [INFO] [stderr] | [INFO] [stderr] 7 | extern "system" fn(rclsid: &IID, riid: &IID, ppv: *mut *mut c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:31:66 [INFO] [stderr] | [INFO] [stderr] 31 | fn get_encoding(known: *mut u32, code_page: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:40:49 [INFO] [stderr] | [INFO] [stderr] 40 | fn set_malloc(malloc: *const c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:41:119 [INFO] [stderr] | [INFO] [stderr] 41 | fn create_blob_from_blob(blob: *const IDxcBlob, offset: u32, length: u32, result_blob: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:42:44 [INFO] [stderr] | [INFO] [stderr] 42 | fn create_blob_from_file(filename: LPCWSTR, code_page: *const u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:42:122 [INFO] [stderr] | [INFO] [stderr] 42 | fn create_blob_from_file(filename: LPCWSTR, code_page: *const u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:43:144 [INFO] [stderr] | [INFO] [stderr] 43 | fn create_blob_with_encoding_from_pinned(text: *const c_void, size: u32, code_page: u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:44:145 [INFO] [stderr] | [INFO] [stderr] 44 | fn create_blob_with_encoding_on_heap_copy(text: *const c_void, size: u32, code_page: u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:45:165 [INFO] [stderr] | [INFO] [stderr] 45 | fn create_blob_with_encoding_on_malloc(text: *const c_void, malloc: *const c_void, size: u32, code_page: u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:46:70 [INFO] [stderr] | [INFO] [stderr] 46 | fn create_include_handler(include_handler: *const c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:47:98 [INFO] [stderr] | [INFO] [stderr] 47 | fn create_stream_from_blob_read_only(blob: *const IDxcBlob, stream: *mut *mut c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:48:98 [INFO] [stderr] | [INFO] [stderr] 48 | fn get_blob_as_utf8(blob: *const IDxcBlob, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:49:99 [INFO] [stderr] | [INFO] [stderr] 49 | fn get_blob_as_utf16(blob: *const IDxcBlob, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:58:44 [INFO] [stderr] | [INFO] [stderr] 58 | fn get_status(status: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:59:54 [INFO] [stderr] | [INFO] [stderr] 59 | fn get_result(result: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:60:68 [INFO] [stderr] | [INFO] [stderr] 60 | fn get_error_buffer(errors: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:69:34 [INFO] [stderr] | [INFO] [stderr] 69 | fn load_source(filename: LPCWSTR, include_source: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:69:82 [INFO] [stderr] | [INFO] [stderr] 69 | fn load_source(filename: LPCWSTR, include_source: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:76:15 [INFO] [stderr] | [INFO] [stderr] 76 | pub name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | pub value: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:87:26 [INFO] [stderr] | [INFO] [stderr] 87 | source_name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:88:26 [INFO] [stderr] | [INFO] [stderr] 88 | entry_point: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:89:29 [INFO] [stderr] | [INFO] [stderr] 89 | target_profile: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:90:31 [INFO] [stderr] | [INFO] [stderr] 90 | arguments: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:95:55 [INFO] [stderr] | [INFO] [stderr] 95 | result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | source_name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:100:31 [INFO] [stderr] | [INFO] [stderr] 100 | arguments: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:105:55 [INFO] [stderr] | [INFO] [stderr] 105 | result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:109:57 [INFO] [stderr] | [INFO] [stderr] 109 | disassembly: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:121:26 [INFO] [stderr] | [INFO] [stderr] 121 | source_name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:122:26 [INFO] [stderr] | [INFO] [stderr] 122 | entry_point: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:123:29 [INFO] [stderr] | [INFO] [stderr] 123 | target_profile: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:124:31 [INFO] [stderr] | [INFO] [stderr] 124 | arguments: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:130:35 [INFO] [stderr] | [INFO] [stderr] 130 | debug_blob_name: *mut LPWSTR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:131:48 [INFO] [stderr] | [INFO] [stderr] 131 | debug_blob: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:141:39 [INFO] [stderr] | [INFO] [stderr] 141 | fn register_library(lib_name: LPCWSTR, lib: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:141:73 [INFO] [stderr] | [INFO] [stderr] 141 | fn register_library(lib_name: LPCWSTR, lib: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:144:25 [INFO] [stderr] | [INFO] [stderr] 144 | entry_name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:145:29 [INFO] [stderr] | [INFO] [stderr] 145 | target_profile: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:146:31 [INFO] [stderr] | [INFO] [stderr] 146 | lib_names: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:148:31 [INFO] [stderr] | [INFO] [stderr] 148 | arguments: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:150:55 [INFO] [stderr] | [INFO] [stderr] 150 | result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:166:100 [INFO] [stderr] | [INFO] [stderr] 166 | fn validate(shader: *const IDxcBlob, flags: u32, result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:176:60 [INFO] [stderr] | [INFO] [stderr] 176 | fn load(dxil_container_header: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:177:63 [INFO] [stderr] | [INFO] [stderr] 177 | fn add_part(four_cc: u32, source: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:178:41 [INFO] [stderr] | [INFO] [stderr] 178 | fn remove_part(four_cc: u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:179:73 [INFO] [stderr] | [INFO] [stderr] 179 | fn seralize_container(result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:189:101 [INFO] [stderr] | [INFO] [stderr] 189 | fn assemble_to_container(shader: *const IDxcBlob, result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:199:48 [INFO] [stderr] | [INFO] [stderr] 199 | fn load(container: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:200:48 [INFO] [stderr] | [INFO] [stderr] 200 | fn get_part_count(result: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:201:57 [INFO] [stderr] | [INFO] [stderr] 201 | fn get_part_kind(idx: u32, result: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:202:70 [INFO] [stderr] | [INFO] [stderr] 202 | fn get_part_content(idx: u32, result: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:203:65 [INFO] [stderr] | [INFO] [stderr] 203 | fn find_first_part_kind(kind: u32, result: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:204:82 [INFO] [stderr] | [INFO] [stderr] 204 | fn get_part_reflection(idx: u32, iid: &IID, object: *mut *mut c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:214:41 [INFO] [stderr] | [INFO] [stderr] 214 | fn get_option_name(result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:214:52 [INFO] [stderr] | [INFO] [stderr] 214 | fn get_option_name(result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:215:41 [INFO] [stderr] | [INFO] [stderr] 215 | fn get_description(result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:215:52 [INFO] [stderr] | [INFO] [stderr] 215 | fn get_description(result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:216:53 [INFO] [stderr] | [INFO] [stderr] 216 | fn get_option_arg_count(count: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:217:59 [INFO] [stderr] | [INFO] [stderr] 217 | fn get_option_arg_name(arg_idx: u32, result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:217:70 [INFO] [stderr] | [INFO] [stderr] 217 | fn get_option_arg_name(arg_idx: u32, result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:218:66 [INFO] [stderr] | [INFO] [stderr] 218 | fn get_option_arg_description(arg_idx: u32, result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:218:77 [INFO] [stderr] | [INFO] [stderr] 218 | fn get_option_arg_description(arg_idx: u32, result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:228:57 [INFO] [stderr] | [INFO] [stderr] 228 | fn get_available_pass_count(count: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:229:83 [INFO] [stderr] | [INFO] [stderr] 229 | fn get_available_pass(index: u32, result: *mut *mut IDxcOptimizerPass) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:232:29 [INFO] [stderr] | [INFO] [stderr] 232 | options: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:235:57 [INFO] [stderr] | [INFO] [stderr] 235 | output_text: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:249:61 [INFO] [stderr] | [INFO] [stderr] 249 | fn get_version(major: *mut u32, minor: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:250:42 [INFO] [stderr] | [INFO] [stderr] 250 | fn get_flags(flags: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:260:82 [INFO] [stderr] | [INFO] [stderr] 260 | fn get_commit_info(commit_count: *mut u32, commit_hash: *mut *mut u8) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/utils.rs:13:31 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn from_wide(wide: LPWSTR) -> String { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:73:45 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn get_status(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:78:49 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn get_result(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:86:63 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn get_error_buffer(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/wrapper.rs:126:83 [INFO] [stderr] | [INFO] [stderr] 126 | fn prep_args(args: &[&str], wide_args: &mut Vec>, dxc_args: &mut Vec) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:144:58 [INFO] [stderr] | [INFO] [stderr] 144 | ) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:189:77 [INFO] [stderr] | [INFO] [stderr] 189 | ) -> Result<(DxcOperationResult, String, DxcBlob), (DxcOperationResult, HRESULT)> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/wrapper.rs:200:33 [INFO] [stderr] | [INFO] [stderr] 200 | let mut debug_filename: LPWSTR = std::ptr::null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:241:58 [INFO] [stderr] | [INFO] [stderr] 241 | ) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:276:74 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn disassemble(&self, blob: &DxcBlob) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:298:85 [INFO] [stderr] | [INFO] [stderr] 298 | pub fn create_blob_with_encoding(&self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:316:34 [INFO] [stderr] | [INFO] [stderr] 316 | ) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:368:58 [INFO] [stderr] | [INFO] [stderr] 368 | pub fn create_compiler(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:380:56 [INFO] [stderr] | [INFO] [stderr] 380 | pub fn create_library(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:405:58 [INFO] [stderr] | [INFO] [stderr] 405 | pub fn version(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:426:83 [INFO] [stderr] | [INFO] [stderr] 426 | pub fn validate(&self, blob: DxcBlob) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:462:60 [INFO] [stderr] | [INFO] [stderr] 462 | pub fn create_validator(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LPCWSTR`, `LPWSTR` [INFO] [stderr] --> src/ffi.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::HRESULT` [INFO] [stderr] --> src/ffi.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::winerror::HRESULT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::ntdef::LPWSTR` [INFO] [stderr] --> src/utils.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::ntdef::LPWSTR; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/utils.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStringExt` [INFO] [stderr] --> src/utils.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LPCWSTR`, `LPWSTR` [INFO] [stderr] --> src/wrapper.rs:7:29 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::HRESULT` [INFO] [stderr] --> src/wrapper.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::winerror::HRESULT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/utils.rs:9:42 [INFO] [stderr] | [INFO] [stderr] 9 | let wide: Vec = OsStr::new(msg).encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for type `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/utils.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | OsString::from_wide(unsafe { std::slice::from_raw_parts(wide, len) }) [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 97 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `hassle-rs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:7:76 [INFO] [stderr] | [INFO] [stderr] 7 | extern "system" fn(rclsid: &IID, riid: &IID, ppv: *mut *mut c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:31:66 [INFO] [stderr] | [INFO] [stderr] 31 | fn get_encoding(known: *mut u32, code_page: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:40:49 [INFO] [stderr] | [INFO] [stderr] 40 | fn set_malloc(malloc: *const c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:41:119 [INFO] [stderr] | [INFO] [stderr] 41 | fn create_blob_from_blob(blob: *const IDxcBlob, offset: u32, length: u32, result_blob: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:42:44 [INFO] [stderr] | [INFO] [stderr] 42 | fn create_blob_from_file(filename: LPCWSTR, code_page: *const u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:42:122 [INFO] [stderr] | [INFO] [stderr] 42 | fn create_blob_from_file(filename: LPCWSTR, code_page: *const u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:43:144 [INFO] [stderr] | [INFO] [stderr] 43 | fn create_blob_with_encoding_from_pinned(text: *const c_void, size: u32, code_page: u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:44:145 [INFO] [stderr] | [INFO] [stderr] 44 | fn create_blob_with_encoding_on_heap_copy(text: *const c_void, size: u32, code_page: u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:45:165 [INFO] [stderr] | [INFO] [stderr] 45 | fn create_blob_with_encoding_on_malloc(text: *const c_void, malloc: *const c_void, size: u32, code_page: u32, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:46:70 [INFO] [stderr] | [INFO] [stderr] 46 | fn create_include_handler(include_handler: *const c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:47:98 [INFO] [stderr] | [INFO] [stderr] 47 | fn create_stream_from_blob_read_only(blob: *const IDxcBlob, stream: *mut *mut c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:48:98 [INFO] [stderr] | [INFO] [stderr] 48 | fn get_blob_as_utf8(blob: *const IDxcBlob, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:49:99 [INFO] [stderr] | [INFO] [stderr] 49 | fn get_blob_as_utf16(blob: *const IDxcBlob, blob_encoding: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:58:44 [INFO] [stderr] | [INFO] [stderr] 58 | fn get_status(status: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:59:54 [INFO] [stderr] | [INFO] [stderr] 59 | fn get_result(result: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:60:68 [INFO] [stderr] | [INFO] [stderr] 60 | fn get_error_buffer(errors: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:69:34 [INFO] [stderr] | [INFO] [stderr] 69 | fn load_source(filename: LPCWSTR, include_source: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:69:82 [INFO] [stderr] | [INFO] [stderr] 69 | fn load_source(filename: LPCWSTR, include_source: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:76:15 [INFO] [stderr] | [INFO] [stderr] 76 | pub name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | pub value: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:87:26 [INFO] [stderr] | [INFO] [stderr] 87 | source_name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:88:26 [INFO] [stderr] | [INFO] [stderr] 88 | entry_point: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:89:29 [INFO] [stderr] | [INFO] [stderr] 89 | target_profile: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:90:31 [INFO] [stderr] | [INFO] [stderr] 90 | arguments: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:95:55 [INFO] [stderr] | [INFO] [stderr] 95 | result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | source_name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:100:31 [INFO] [stderr] | [INFO] [stderr] 100 | arguments: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:105:55 [INFO] [stderr] | [INFO] [stderr] 105 | result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:109:57 [INFO] [stderr] | [INFO] [stderr] 109 | disassembly: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:121:26 [INFO] [stderr] | [INFO] [stderr] 121 | source_name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:122:26 [INFO] [stderr] | [INFO] [stderr] 122 | entry_point: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:123:29 [INFO] [stderr] | [INFO] [stderr] 123 | target_profile: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:124:31 [INFO] [stderr] | [INFO] [stderr] 124 | arguments: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:130:35 [INFO] [stderr] | [INFO] [stderr] 130 | debug_blob_name: *mut LPWSTR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:131:48 [INFO] [stderr] | [INFO] [stderr] 131 | debug_blob: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:141:39 [INFO] [stderr] | [INFO] [stderr] 141 | fn register_library(lib_name: LPCWSTR, lib: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:141:73 [INFO] [stderr] | [INFO] [stderr] 141 | fn register_library(lib_name: LPCWSTR, lib: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:144:25 [INFO] [stderr] | [INFO] [stderr] 144 | entry_name: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:145:29 [INFO] [stderr] | [INFO] [stderr] 145 | target_profile: LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:146:31 [INFO] [stderr] | [INFO] [stderr] 146 | lib_names: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:148:31 [INFO] [stderr] | [INFO] [stderr] 148 | arguments: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:150:55 [INFO] [stderr] | [INFO] [stderr] 150 | result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:166:100 [INFO] [stderr] | [INFO] [stderr] 166 | fn validate(shader: *const IDxcBlob, flags: u32, result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:176:60 [INFO] [stderr] | [INFO] [stderr] 176 | fn load(dxil_container_header: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:177:63 [INFO] [stderr] | [INFO] [stderr] 177 | fn add_part(four_cc: u32, source: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:178:41 [INFO] [stderr] | [INFO] [stderr] 178 | fn remove_part(four_cc: u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:179:73 [INFO] [stderr] | [INFO] [stderr] 179 | fn seralize_container(result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:189:101 [INFO] [stderr] | [INFO] [stderr] 189 | fn assemble_to_container(shader: *const IDxcBlob, result: *mut *mut IDxcOperationResult) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:199:48 [INFO] [stderr] | [INFO] [stderr] 199 | fn load(container: *const IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:200:48 [INFO] [stderr] | [INFO] [stderr] 200 | fn get_part_count(result: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:201:57 [INFO] [stderr] | [INFO] [stderr] 201 | fn get_part_kind(idx: u32, result: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:202:70 [INFO] [stderr] | [INFO] [stderr] 202 | fn get_part_content(idx: u32, result: *mut *mut IDxcBlob) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:203:65 [INFO] [stderr] | [INFO] [stderr] 203 | fn find_first_part_kind(kind: u32, result: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:204:82 [INFO] [stderr] | [INFO] [stderr] 204 | fn get_part_reflection(idx: u32, iid: &IID, object: *mut *mut c_void) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:214:41 [INFO] [stderr] | [INFO] [stderr] 214 | fn get_option_name(result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:214:52 [INFO] [stderr] | [INFO] [stderr] 214 | fn get_option_name(result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:215:41 [INFO] [stderr] | [INFO] [stderr] 215 | fn get_description(result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:215:52 [INFO] [stderr] | [INFO] [stderr] 215 | fn get_description(result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:216:53 [INFO] [stderr] | [INFO] [stderr] 216 | fn get_option_arg_count(count: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:217:59 [INFO] [stderr] | [INFO] [stderr] 217 | fn get_option_arg_name(arg_idx: u32, result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:217:70 [INFO] [stderr] | [INFO] [stderr] 217 | fn get_option_arg_name(arg_idx: u32, result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:218:66 [INFO] [stderr] | [INFO] [stderr] 218 | fn get_option_arg_description(arg_idx: u32, result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:218:77 [INFO] [stderr] | [INFO] [stderr] 218 | fn get_option_arg_description(arg_idx: u32, result: *mut LPWSTR) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:228:57 [INFO] [stderr] | [INFO] [stderr] 228 | fn get_available_pass_count(count: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:229:83 [INFO] [stderr] | [INFO] [stderr] 229 | fn get_available_pass(index: u32, result: *mut *mut IDxcOptimizerPass) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/ffi.rs:232:29 [INFO] [stderr] | [INFO] [stderr] 232 | options: *const LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:235:57 [INFO] [stderr] | [INFO] [stderr] 235 | output_text: *mut *mut IDxcBlobEncoding) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:249:61 [INFO] [stderr] | [INFO] [stderr] 249 | fn get_version(major: *mut u32, minor: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:250:42 [INFO] [stderr] | [INFO] [stderr] 250 | fn get_flags(flags: *mut u32) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/ffi.rs:260:82 [INFO] [stderr] | [INFO] [stderr] 260 | fn get_commit_info(commit_count: *mut u32, commit_hash: *mut *mut u8) -> HRESULT; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/utils.rs:13:31 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn from_wide(wide: LPWSTR) -> String { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:73:45 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn get_status(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:78:49 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn get_result(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:86:63 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn get_error_buffer(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/wrapper.rs:126:83 [INFO] [stderr] | [INFO] [stderr] 126 | fn prep_args(args: &[&str], wide_args: &mut Vec>, dxc_args: &mut Vec) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:144:58 [INFO] [stderr] | [INFO] [stderr] 144 | ) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:189:77 [INFO] [stderr] | [INFO] [stderr] 189 | ) -> Result<(DxcOperationResult, String, DxcBlob), (DxcOperationResult, HRESULT)> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/wrapper.rs:200:33 [INFO] [stderr] | [INFO] [stderr] 200 | let mut debug_filename: LPWSTR = std::ptr::null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:241:58 [INFO] [stderr] | [INFO] [stderr] 241 | ) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:276:74 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn disassemble(&self, blob: &DxcBlob) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:298:85 [INFO] [stderr] | [INFO] [stderr] 298 | pub fn create_blob_with_encoding(&self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:316:34 [INFO] [stderr] | [INFO] [stderr] 316 | ) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:368:58 [INFO] [stderr] | [INFO] [stderr] 368 | pub fn create_compiler(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:380:56 [INFO] [stderr] | [INFO] [stderr] 380 | pub fn create_library(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:405:58 [INFO] [stderr] | [INFO] [stderr] 405 | pub fn version(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:426:83 [INFO] [stderr] | [INFO] [stderr] 426 | pub fn validate(&self, blob: DxcBlob) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/wrapper.rs:462:60 [INFO] [stderr] | [INFO] [stderr] 462 | pub fn create_validator(&self) -> Result { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LPCWSTR`, `LPWSTR` [INFO] [stderr] --> src/ffi.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::HRESULT` [INFO] [stderr] --> src/ffi.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::winerror::HRESULT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::ntdef::LPWSTR` [INFO] [stderr] --> src/utils.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::ntdef::LPWSTR; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/utils.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStringExt` [INFO] [stderr] --> src/utils.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LPCWSTR`, `LPWSTR` [INFO] [stderr] --> src/wrapper.rs:7:29 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::HRESULT` [INFO] [stderr] --> src/wrapper.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::winerror::HRESULT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/utils.rs:9:42 [INFO] [stderr] | [INFO] [stderr] 9 | let wide: Vec = OsStr::new(msg).encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for type `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/utils.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | OsString::from_wide(unsafe { std::slice::from_raw_parts(wide, len) }) [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 97 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `hassle-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d09c9929a889e883c8dd0d4a5c1ccdc7285a3bd59d1e29235714db733da1d485"` [INFO] running `"docker" "rm" "-f" "d09c9929a889e883c8dd0d4a5c1ccdc7285a3bd59d1e29235714db733da1d485"` [INFO] [stdout] d09c9929a889e883c8dd0d4a5c1ccdc7285a3bd59d1e29235714db733da1d485