[INFO] cloning repository https://github.com/augustheart/version-hijace-for-skse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/augustheart/version-hijace-for-skse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustheart%2Fversion-hijace-for-skse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustheart%2Fversion-hijace-for-skse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c61ed8681430f20133ccb838e7eec62393d319a5 [INFO] testing augustheart/version-hijace-for-skse against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustheart%2Fversion-hijace-for-skse" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/augustheart/version-hijace-for-skse on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/augustheart/version-hijace-for-skse [INFO] finished tweaking git repo https://github.com/augustheart/version-hijace-for-skse [INFO] tweaked toml for git repo https://github.com/augustheart/version-hijace-for-skse written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/augustheart/version-hijace-for-skse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded wchar-impl v0.10.0 [INFO] [stderr] Downloaded wchar v0.10.1 [INFO] [stderr] Downloaded widestring v0.5.1 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa86f5dee251a645040dd25663f10ee9d32d3e07ecd91a33a449e5d59a9e7d01 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aa86f5dee251a645040dd25663f10ee9d32d3e07ecd91a33a449e5d59a9e7d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa86f5dee251a645040dd25663f10ee9d32d3e07ecd91a33a449e5d59a9e7d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa86f5dee251a645040dd25663f10ee9d32d3e07ecd91a33a449e5d59a9e7d01", kill_on_drop: false }` [INFO] [stdout] aa86f5dee251a645040dd25663f10ee9d32d3e07ecd91a33a449e5d59a9e7d01 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 282c014bfa544b2a8e925ae012680bf1078864a52796c3d2e8924c2d8cff2af7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "282c014bfa544b2a8e925ae012680bf1078864a52796c3d2e8924c2d8cff2af7", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling widestring v0.5.1 [INFO] [stderr] Compiling wchar-impl v0.10.0 [INFO] [stderr] Compiling wchar v0.10.1 [INFO] [stderr] Compiling versionrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::winerror::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::ntdef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::sysinfoapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::wow64apiset::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::libloaderapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::errhandlingapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::DLL_PROCESS_ATTACH; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `widestring`, `wchar` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | use widestring; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use wchar; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_real_version_handle()->HMODULE{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | static mut DLL_MODULE : HMODULE = 0 as HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | static mut DLL_MODULE : HMODULE = 0 as HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_module_handle(name : &str)->HMODULE{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/lib.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let module = unsafe{GetModuleHandleW(widestring::U16String::from_str(name).as_ptr())}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_sys_dir_dll_module(name : &str)->HMODULE{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_sys_dir_dll_module(name : &str)->HMODULE{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 38 | let mut buffer : [u16;512] = [0;512]; [INFO] [stdout] 39 | if std::mem::size_of::() == 4{ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let ret : DWORD = unsafe{GetSystemWow64DirectoryW(buffer.as_mut_ptr(), buffer.len() as u32)}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemWow64DirectoryW` in this scope [INFO] [stdout] --> src/lib.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | let ret : DWORD = unsafe{GetSystemWow64DirectoryW(buffer.as_mut_ptr(), buffer.len() as u32)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | return NULL as HMODULE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | return NULL as HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_sys_dir_dll_module(name : &str)->HMODULE{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 44 | }else if std::mem::size_of::() == 8{ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let ret : DWORD = unsafe{GetSystemDirectoryW(buffer.as_mut_ptr(), buffer.len() as u32)}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemDirectoryW` in this scope [INFO] [stdout] --> src/lib.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | let ret : DWORD = unsafe{GetSystemDirectoryW(buffer.as_mut_ptr(), buffer.len() as u32)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | return NULL as HMODULE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | return NULL as HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | return NULL as HMODULE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | return NULL as HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | let ret : HMODULE = unsafe{LoadLibraryW(wstrpath.as_ptr())}; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/lib.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let ret : HMODULE = unsafe{LoadLibraryW(wstrpath.as_ptr())}; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:76:69 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe extern "stdcall" fn GetFileVersionInfoA(lptstrFilename : LPCSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe extern "stdcall" fn GetFileVersionInfoA(lptstrFilename : LPCSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:76:101 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe extern "stdcall" fn GetFileVersionInfoA(lptstrFilename : LPCSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:76:116 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe extern "stdcall" fn GetFileVersionInfoA(lptstrFilename : LPCSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:76:125 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe extern "stdcall" fn GetFileVersionInfoA(lptstrFilename : LPCSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | type F = unsafe extern "stdcall" fn(LPCSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 77 | type F = unsafe extern "stdcall" fn(LPCSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | type F = unsafe extern "stdcall" fn(LPCSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:77:60 [INFO] [stdout] | [INFO] [stdout] 77 | type F = unsafe extern "stdcall" fn(LPCSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:77:69 [INFO] [stdout] | [INFO] [stdout] 77 | type F = unsafe extern "stdcall" fn(LPCSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 78 | do_func_proxy!{F,GetFileVersionInfoA,lptstrFilename,dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 78 | do_func_proxy!{F,GetFileVersionInfoA,lptstrFilename,dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 78 | do_func_proxy!{F,GetFileVersionInfoA,lptstrFilename,dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 78 | do_func_proxy!{F,GetFileVersionInfoA,lptstrFilename,dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:81:64 [INFO] [stdout] | [INFO] [stdout] 81 | pub unsafe extern "stdcall" fn GetFileVersionInfoExA(dwFlags : DWORD, lpwstrFilename : LPCSTR, dwHandle : DWORD,dwLen : DWORD,lpData : LP... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:81:88 [INFO] [stdout] | [INFO] [stdout] 81 | pub unsafe extern "stdcall" fn GetFileVersionInfoExA(dwFlags : DWORD, lpwstrFilename : LPCSTR, dwHandle : DWORD,dwLen : DWORD,lpData : LP... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:81:107 [INFO] [stdout] | [INFO] [stdout] 81 | ...wFlags : DWORD, lpwstrFilename : LPCSTR, dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:81:121 [INFO] [stdout] | [INFO] [stdout] 81 | ..., lpwstrFilename : LPCSTR, dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:81:136 [INFO] [stdout] | [INFO] [stdout] 81 | ...e : LPCSTR, dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:81:145 [INFO] [stdout] | [INFO] [stdout] 81 | ...WORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | type F = unsafe extern "stdcall" fn(DWORD, LPCSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | type F = unsafe extern "stdcall" fn(DWORD, LPCSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | type F = unsafe extern "stdcall" fn(DWORD, LPCSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:82:62 [INFO] [stdout] | [INFO] [stdout] 82 | type F = unsafe extern "stdcall" fn(DWORD, LPCSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | type F = unsafe extern "stdcall" fn(DWORD, LPCSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:82:77 [INFO] [stdout] | [INFO] [stdout] 82 | type F = unsafe extern "stdcall" fn(DWORD, LPCSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 83 | do_func_proxy!{F,GetFileVersionInfoExA,dwFlags, lpwstrFilename, dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 83 | do_func_proxy!{F,GetFileVersionInfoExA,dwFlags, lpwstrFilename, dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 83 | do_func_proxy!{F,GetFileVersionInfoExA,dwFlags, lpwstrFilename, dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 83 | do_func_proxy!{F,GetFileVersionInfoExA,dwFlags, lpwstrFilename, dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:88:64 [INFO] [stdout] | [INFO] [stdout] 88 | pub unsafe extern "stdcall" fn GetFileVersionInfoExW(dwFlags : DWORD,lpwstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPV... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:88:87 [INFO] [stdout] | [INFO] [stdout] 88 | pub unsafe extern "stdcall" fn GetFileVersionInfoExW(dwFlags : DWORD,lpwstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPV... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:88:106 [INFO] [stdout] | [INFO] [stdout] 88 | pub unsafe extern "stdcall" fn GetFileVersionInfoExW(dwFlags : DWORD,lpwstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPV... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:88:120 [INFO] [stdout] | [INFO] [stdout] 88 | ...D,lpwstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:88:135 [INFO] [stdout] | [INFO] [stdout] 88 | ...e : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:88:144 [INFO] [stdout] | [INFO] [stdout] 88 | ...WORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | type F = unsafe extern "stdcall" fn(DWORD, LPCWSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:89:48 [INFO] [stdout] | [INFO] [stdout] 89 | type F = unsafe extern "stdcall" fn(DWORD, LPCWSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:89:57 [INFO] [stdout] | [INFO] [stdout] 89 | type F = unsafe extern "stdcall" fn(DWORD, LPCWSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:89:63 [INFO] [stdout] | [INFO] [stdout] 89 | type F = unsafe extern "stdcall" fn(DWORD, LPCWSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:89:69 [INFO] [stdout] | [INFO] [stdout] 89 | type F = unsafe extern "stdcall" fn(DWORD, LPCWSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:89:78 [INFO] [stdout] | [INFO] [stdout] 89 | type F = unsafe extern "stdcall" fn(DWORD, LPCWSTR, DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | do_func_proxy!{F,GetFileVersionInfoExW,dwFlags, lpwstrFilename, dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | do_func_proxy!{F,GetFileVersionInfoExW,dwFlags, lpwstrFilename, dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | do_func_proxy!{F,GetFileVersionInfoExW,dwFlags, lpwstrFilename, dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | do_func_proxy!{F,GetFileVersionInfoExW,dwFlags, lpwstrFilename, dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:93:73 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeA(lptstrFilename : LPCSTR, lpdwHandle : LPDWORD)->DWORD{ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/lib.rs:93:94 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeA(lptstrFilename : LPCSTR, lpdwHandle : LPDWORD)->DWORD{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:93:104 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeA(lptstrFilename : LPCSTR, lpdwHandle : LPDWORD)->DWORD{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | type F = unsafe extern "stdcall" fn(LPCSTR, LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/lib.rs:94:49 [INFO] [stdout] | [INFO] [stdout] 94 | type F = unsafe extern "stdcall" fn(LPCSTR, LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:94:59 [INFO] [stdout] | [INFO] [stdout] 94 | type F = unsafe extern "stdcall" fn(LPCSTR, LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 95 | do_func_proxy!{F,GetFileVersionInfoSizeA,lptstrFilename, lpdwHandle} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 95 | do_func_proxy!{F,GetFileVersionInfoSizeA,lptstrFilename, lpdwHandle} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 95 | do_func_proxy!{F,GetFileVersionInfoSizeA,lptstrFilename, lpdwHandle} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 95 | do_func_proxy!{F,GetFileVersionInfoSizeA,lptstrFilename, lpdwHandle} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:98:68 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExW(dwFlags : DWORD,lpwstrFilename : LPCWSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:98:91 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExW(dwFlags : DWORD,lpwstrFilename : LPCWSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/lib.rs:98:112 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExW(dwFlags : DWORD,lpwstrFilename : LPCWSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:98:122 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExW(dwFlags : DWORD,lpwstrFilename : LPCWSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:99:47 [INFO] [stdout] | [INFO] [stdout] 99 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/lib.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:99:65 [INFO] [stdout] | [INFO] [stdout] 99 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 100 | do_func_proxy!{F,GetFileVersionInfoSizeExW,dwFlags,lpwstrFilename,lpdwHandle} [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 100 | do_func_proxy!{F,GetFileVersionInfoSizeExW,dwFlags,lpwstrFilename,lpdwHandle} [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 100 | do_func_proxy!{F,GetFileVersionInfoSizeExW,dwFlags,lpwstrFilename,lpdwHandle} [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 100 | do_func_proxy!{F,GetFileVersionInfoSizeExW,dwFlags,lpwstrFilename,lpdwHandle} [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExA(dwFlags : DWORD,lpwstrFilename : LPCSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:103:91 [INFO] [stdout] | [INFO] [stdout] 103 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExA(dwFlags : DWORD,lpwstrFilename : LPCSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/lib.rs:103:111 [INFO] [stdout] | [INFO] [stdout] 103 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExA(dwFlags : DWORD,lpwstrFilename : LPCSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:103:121 [INFO] [stdout] | [INFO] [stdout] 103 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExA(dwFlags : DWORD,lpwstrFilename : LPCSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:104:47 [INFO] [stdout] | [INFO] [stdout] 104 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/lib.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:104:64 [INFO] [stdout] | [INFO] [stdout] 104 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 105 | do_func_proxy!{F,GetFileVersionInfoSizeExA,dwFlags,lpwstrFilename,lpdwHandle} [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 105 | do_func_proxy!{F,GetFileVersionInfoSizeExA,dwFlags,lpwstrFilename,lpdwHandle} [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 105 | do_func_proxy!{F,GetFileVersionInfoSizeExA,dwFlags,lpwstrFilename,lpdwHandle} [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 105 | do_func_proxy!{F,GetFileVersionInfoSizeExA,dwFlags,lpwstrFilename,lpdwHandle} [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:108:73 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeW(lptstrFilename : LPCWSTR,lpdwHandle : LPDWORD)->DWORD{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/lib.rs:108:94 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeW(lptstrFilename : LPCWSTR,lpdwHandle : LPDWORD)->DWORD{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:108:104 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeW(lptstrFilename : LPCWSTR,lpdwHandle : LPDWORD)->DWORD{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | type F = unsafe extern "stdcall" fn(LPCWSTR, LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/lib.rs:109:50 [INFO] [stdout] | [INFO] [stdout] 109 | type F = unsafe extern "stdcall" fn(LPCWSTR, LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | type F = unsafe extern "stdcall" fn(LPCWSTR, LPDWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 110 | do_func_proxy!{F,GetFileVersionInfoSizeW,lptstrFilename ,lpdwHandle} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 110 | do_func_proxy!{F,GetFileVersionInfoSizeW,lptstrFilename ,lpdwHandle} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 110 | do_func_proxy!{F,GetFileVersionInfoSizeW,lptstrFilename ,lpdwHandle} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 110 | do_func_proxy!{F,GetFileVersionInfoSizeW,lptstrFilename ,lpdwHandle} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:113:69 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe extern "stdcall" fn GetFileVersionInfoW(lptstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:113:88 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe extern "stdcall" fn GetFileVersionInfoW(lptstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:113:102 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe extern "stdcall" fn GetFileVersionInfoW(lptstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:113:117 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe extern "stdcall" fn GetFileVersionInfoW(lptstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:113:126 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe extern "stdcall" fn GetFileVersionInfoW(lptstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | type F = unsafe extern "stdcall" fn(LPCWSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | type F = unsafe extern "stdcall" fn(LPCWSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:114:55 [INFO] [stdout] | [INFO] [stdout] 114 | type F = unsafe extern "stdcall" fn(LPCWSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:114:61 [INFO] [stdout] | [INFO] [stdout] 114 | type F = unsafe extern "stdcall" fn(LPCWSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:114:70 [INFO] [stdout] | [INFO] [stdout] 114 | type F = unsafe extern "stdcall" fn(LPCWSTR,DWORD,DWORD,LPVOID)->BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 115 | do_func_proxy!{F,GetFileVersionInfoW,lptstrFilename,dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 115 | do_func_proxy!{F,GetFileVersionInfoW,lptstrFilename,dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 115 | do_func_proxy!{F,GetFileVersionInfoW,lptstrFilename,dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 115 | do_func_proxy!{F,GetFileVersionInfoW,lptstrFilename,dwHandle,dwLen,lpData} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:118:54 [INFO] [stdout] | [INFO] [stdout] 118 | pub unsafe extern "stdcall" fn VerFindFileA(uFlags : DWORD,szFileName : LPCSTR,szWinDir : LPCSTR,szAppDir : LPCSTR,szCurDir : LPSTR, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:118:73 [INFO] [stdout] | [INFO] [stdout] 118 | pub unsafe extern "stdcall" fn VerFindFileA(uFlags : DWORD,szFileName : LPCSTR,szWinDir : LPCSTR,szAppDir : LPCSTR,szCurDir : LPSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:118:91 [INFO] [stdout] | [INFO] [stdout] 118 | pub unsafe extern "stdcall" fn VerFindFileA(uFlags : DWORD,szFileName : LPCSTR,szWinDir : LPCSTR,szAppDir : LPCSTR,szCurDir : LPSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:118:109 [INFO] [stdout] | [INFO] [stdout] 118 | pub unsafe extern "stdcall" fn VerFindFileA(uFlags : DWORD,szFileName : LPCSTR,szWinDir : LPCSTR,szAppDir : LPCSTR,szCurDir : LPSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/lib.rs:118:127 [INFO] [stdout] | [INFO] [stdout] 118 | pub unsafe extern "stdcall" fn VerFindFileA(uFlags : DWORD,szFileName : LPCSTR,szWinDir : LPCSTR,szAppDir : LPCSTR,szCurDir : LPSTR, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | puCurDirLen : PUINT,szDestDir : LPSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/lib.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | puCurDirLen : PUINT,szDestDir : LPSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:119:56 [INFO] [stdout] | [INFO] [stdout] 119 | puCurDirLen : PUINT,szDestDir : LPSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:119:64 [INFO] [stdout] | [INFO] [stdout] 119 | puCurDirLen : PUINT,szDestDir : LPSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:120:54 [INFO] [stdout] | [INFO] [stdout] 120 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:120:61 [INFO] [stdout] | [INFO] [stdout] 120 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/lib.rs:120:68 [INFO] [stdout] | [INFO] [stdout] 120 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:120:74 [INFO] [stdout] | [INFO] [stdout] 120 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/lib.rs:120:80 [INFO] [stdout] | [INFO] [stdout] 120 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:120:86 [INFO] [stdout] | [INFO] [stdout] 120 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:120:94 [INFO] [stdout] | [INFO] [stdout] 120 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 121 | do_func_proxy!{F,VerFindFileA,uFlags,szFileName,szWinDir,szAppDir ,szCurDir,puCurDirLen,szDestDir,puDestDirLen} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 121 | do_func_proxy!{F,VerFindFileA,uFlags,szFileName,szWinDir,szAppDir ,szCurDir,puCurDirLen,szDestDir,puDestDirLen} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 121 | do_func_proxy!{F,VerFindFileA,uFlags,szFileName,szWinDir,szAppDir ,szCurDir,puCurDirLen,szDestDir,puDestDirLen} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 121 | do_func_proxy!{F,VerFindFileA,uFlags,szFileName,szWinDir,szAppDir ,szCurDir,puCurDirLen,szDestDir,puDestDirLen} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:124:54 [INFO] [stdout] | [INFO] [stdout] 124 | pub unsafe extern "stdcall" fn VerFindFileW(uFlags : DWORD,szFileName : LPCWSTR,szWinDir : LPCWSTR,szAppDir : LPCWSTR,szCurDir : LPWSTR, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:124:73 [INFO] [stdout] | [INFO] [stdout] 124 | pub unsafe extern "stdcall" fn VerFindFileW(uFlags : DWORD,szFileName : LPCWSTR,szWinDir : LPCWSTR,szAppDir : LPCWSTR,szCurDir : LPWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:124:92 [INFO] [stdout] | [INFO] [stdout] 124 | pub unsafe extern "stdcall" fn VerFindFileW(uFlags : DWORD,szFileName : LPCWSTR,szWinDir : LPCWSTR,szAppDir : LPCWSTR,szCurDir : LPWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:124:111 [INFO] [stdout] | [INFO] [stdout] 124 | pub unsafe extern "stdcall" fn VerFindFileW(uFlags : DWORD,szFileName : LPCWSTR,szWinDir : LPCWSTR,szAppDir : LPCWSTR,szCurDir : LPWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:124:130 [INFO] [stdout] | [INFO] [stdout] 124 | pub unsafe extern "stdcall" fn VerFindFileW(uFlags : DWORD,szFileName : LPCWSTR,szWinDir : LPCWSTR,szAppDir : LPCWSTR,szCurDir : LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | puCurDirLen : PUINT,szDestDir : LPWSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | puCurDirLen : PUINT,szDestDir : LPWSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:125:57 [INFO] [stdout] | [INFO] [stdout] 125 | puCurDirLen : PUINT,szDestDir : LPWSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:125:65 [INFO] [stdout] | [INFO] [stdout] 125 | puCurDirLen : PUINT,szDestDir : LPWSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:126:41 [INFO] [stdout] | [INFO] [stdout] 126 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:126:47 [INFO] [stdout] | [INFO] [stdout] 126 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:126:55 [INFO] [stdout] | [INFO] [stdout] 126 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:126:63 [INFO] [stdout] | [INFO] [stdout] 126 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:126:71 [INFO] [stdout] | [INFO] [stdout] 126 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:126:78 [INFO] [stdout] | [INFO] [stdout] 126 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:126:84 [INFO] [stdout] | [INFO] [stdout] 126 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:126:91 [INFO] [stdout] | [INFO] [stdout] 126 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:126:99 [INFO] [stdout] | [INFO] [stdout] 126 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 127 | do_func_proxy!{F,VerFindFileW,uFlags,szFileName,szWinDir,szAppDir ,szCurDir,puCurDirLen,szDestDir,puDestDirLen} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 127 | do_func_proxy!{F,VerFindFileW,uFlags,szFileName,szWinDir,szAppDir ,szCurDir,puCurDirLen,szDestDir,puDestDirLen} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 127 | do_func_proxy!{F,VerFindFileW,uFlags,szFileName,szWinDir,szAppDir ,szCurDir,puCurDirLen,szDestDir,puDestDirLen} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 127 | do_func_proxy!{F,VerFindFileW,uFlags,szFileName,szWinDir,szAppDir ,szCurDir,puCurDirLen,szDestDir,puDestDirLen} [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:130:57 [INFO] [stdout] | [INFO] [stdout] 130 | pub unsafe extern "stdcall" fn VerInstallFileA(uFlags : DWORD,szSrcFileName : LPCSTR,szDestFileName : LPCSTR,szSrcDir : LPCSTR, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:130:79 [INFO] [stdout] | [INFO] [stdout] 130 | pub unsafe extern "stdcall" fn VerInstallFileA(uFlags : DWORD,szSrcFileName : LPCSTR,szDestFileName : LPCSTR,szSrcDir : LPCSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:130:103 [INFO] [stdout] | [INFO] [stdout] 130 | pub unsafe extern "stdcall" fn VerInstallFileA(uFlags : DWORD,szSrcFileName : LPCSTR,szDestFileName : LPCSTR,szSrcDir : LPCSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:130:121 [INFO] [stdout] | [INFO] [stdout] 130 | pub unsafe extern "stdcall" fn VerInstallFileA(uFlags : DWORD,szSrcFileName : LPCSTR,szDestFileName : LPCSTR,szSrcDir : LPCSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | szDestDir : LPCSTR,szCurDir : LPCSTR,szTmpFile : LPSTR,puTmpFileLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | szDestDir : LPCSTR,szCurDir : LPCSTR,szTmpFile : LPSTR,puTmpFileLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/lib.rs:131:52 [INFO] [stdout] | [INFO] [stdout] 131 | szDestDir : LPCSTR,szCurDir : LPCSTR,szTmpFile : LPSTR,puTmpFileLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:131:73 [INFO] [stdout] | [INFO] [stdout] 131 | szDestDir : LPCSTR,szCurDir : LPCSTR,szTmpFile : LPSTR,puTmpFileLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:131:81 [INFO] [stdout] | [INFO] [stdout] 131 | szDestDir : LPCSTR,szCurDir : LPCSTR,szTmpFile : LPSTR,puTmpFileLen : PUINT)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:132:47 [INFO] [stdout] | [INFO] [stdout] 132 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:132:54 [INFO] [stdout] | [INFO] [stdout] 132 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:132:61 [INFO] [stdout] | [INFO] [stdout] 132 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:132:68 [INFO] [stdout] | [INFO] [stdout] 132 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:132:75 [INFO] [stdout] | [INFO] [stdout] 132 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/lib.rs:132:82 [INFO] [stdout] | [INFO] [stdout] 132 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:132:88 [INFO] [stdout] | [INFO] [stdout] 132 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:132:96 [INFO] [stdout] | [INFO] [stdout] 132 | type F = unsafe extern "stdcall" fn(DWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPCSTR,LPSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 133 | do_func_proxy!{F,VerInstallFileA,uFlags,szSrcFileName,szDestFileName,szSrcDir,szDestDir,szCurDir,szTmpFile,puTmpFileLen} [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 133 | do_func_proxy!{F,VerInstallFileA,uFlags,szSrcFileName,szDestFileName,szSrcDir,szDestDir,szCurDir,szTmpFile,puTmpFileLen} [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 133 | do_func_proxy!{F,VerInstallFileA,uFlags,szSrcFileName,szDestFileName,szSrcDir,szDestDir,szCurDir,szTmpFile,puTmpFileLen} [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 133 | do_func_proxy!{F,VerInstallFileA,uFlags,szSrcFileName,szDestFileName,szSrcDir,szDestDir,szCurDir,szTmpFile,puTmpFileLen} [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:136:57 [INFO] [stdout] | [INFO] [stdout] 136 | pub unsafe extern "stdcall" fn VerInstallFileW(uFlags : DWORD,szSrcFileName : LPCWSTR,szDestFileName : LPCWSTR,szSrcDir : LPCWSTR, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:136:79 [INFO] [stdout] | [INFO] [stdout] 136 | pub unsafe extern "stdcall" fn VerInstallFileW(uFlags : DWORD,szSrcFileName : LPCWSTR,szDestFileName : LPCWSTR,szSrcDir : LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:136:104 [INFO] [stdout] | [INFO] [stdout] 136 | pub unsafe extern "stdcall" fn VerInstallFileW(uFlags : DWORD,szSrcFileName : LPCWSTR,szDestFileName : LPCWSTR,szSrcDir : LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:136:123 [INFO] [stdout] | [INFO] [stdout] 136 | pub unsafe extern "stdcall" fn VerInstallFileW(uFlags : DWORD,szSrcFileName : LPCWSTR,szDestFileName : LPCWSTR,szSrcDir : LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | szDestDir : LPCWSTR,szCurDir : LPCWSTR,szTmpFile : LPWSTR,puTmpFileLen : PUINT)->DWORD{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | szDestDir : LPCWSTR,szCurDir : LPCWSTR,szTmpFile : LPWSTR,puTmpFileLen : PUINT)->DWORD{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:137:54 [INFO] [stdout] | [INFO] [stdout] 137 | szDestDir : LPCWSTR,szCurDir : LPCWSTR,szTmpFile : LPWSTR,puTmpFileLen : PUINT)->DWORD{ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:137:76 [INFO] [stdout] | [INFO] [stdout] 137 | szDestDir : LPCWSTR,szCurDir : LPCWSTR,szTmpFile : LPWSTR,puTmpFileLen : PUINT)->DWORD{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:137:84 [INFO] [stdout] | [INFO] [stdout] 137 | szDestDir : LPCWSTR,szCurDir : LPCWSTR,szTmpFile : LPWSTR,puTmpFileLen : PUINT)->DWORD{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:138:41 [INFO] [stdout] | [INFO] [stdout] 138 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:138:55 [INFO] [stdout] | [INFO] [stdout] 138 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:138:63 [INFO] [stdout] | [INFO] [stdout] 138 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:138:71 [INFO] [stdout] | [INFO] [stdout] 138 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:138:79 [INFO] [stdout] | [INFO] [stdout] 138 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:138:87 [INFO] [stdout] | [INFO] [stdout] 138 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:138:94 [INFO] [stdout] | [INFO] [stdout] 138 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:138:102 [INFO] [stdout] | [INFO] [stdout] 138 | type F = unsafe extern "stdcall" fn(DWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,PUINT)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 139 | do_func_proxy!{F,VerInstallFileW,uFlags,szSrcFileName,szDestFileName,szSrcDir,szDestDir,szCurDir,szTmpFile,puTmpFileLen} [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 139 | do_func_proxy!{F,VerInstallFileW,uFlags,szSrcFileName,szDestFileName,szSrcDir,szDestDir,szCurDir,szTmpFile,puTmpFileLen} [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 139 | do_func_proxy!{F,VerInstallFileW,uFlags,szSrcFileName,szDestFileName,szSrcDir,szDestDir,szCurDir,szTmpFile,puTmpFileLen} [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 139 | do_func_proxy!{F,VerInstallFileW,uFlags,szSrcFileName,szDestFileName,szSrcDir,szDestDir,szCurDir,szTmpFile,puTmpFileLen} [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:142:57 [INFO] [stdout] | [INFO] [stdout] 142 | pub unsafe extern "stdcall" fn VerLanguageNameA(wLang : DWORD,szLang : LPSTR,cchLang : DWORD)->DWORD{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/lib.rs:142:72 [INFO] [stdout] | [INFO] [stdout] 142 | pub unsafe extern "stdcall" fn VerLanguageNameA(wLang : DWORD,szLang : LPSTR,cchLang : DWORD)->DWORD{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:142:88 [INFO] [stdout] | [INFO] [stdout] 142 | pub unsafe extern "stdcall" fn VerLanguageNameA(wLang : DWORD,szLang : LPSTR,cchLang : DWORD)->DWORD{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:142:96 [INFO] [stdout] | [INFO] [stdout] 142 | pub unsafe extern "stdcall" fn VerLanguageNameA(wLang : DWORD,szLang : LPSTR,cchLang : DWORD)->DWORD{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:143:41 [INFO] [stdout] | [INFO] [stdout] 143 | type F = unsafe extern "stdcall" fn(DWORD,LPSTR, DWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/lib.rs:143:47 [INFO] [stdout] | [INFO] [stdout] 143 | type F = unsafe extern "stdcall" fn(DWORD,LPSTR, DWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | type F = unsafe extern "stdcall" fn(DWORD,LPSTR, DWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:143:62 [INFO] [stdout] | [INFO] [stdout] 143 | type F = unsafe extern "stdcall" fn(DWORD,LPSTR, DWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 144 | do_func_proxy!{F,VerLanguageNameA,wLang,szLang,cchLang} [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 144 | do_func_proxy!{F,VerLanguageNameA,wLang,szLang,cchLang} [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 144 | do_func_proxy!{F,VerLanguageNameA,wLang,szLang,cchLang} [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 144 | do_func_proxy!{F,VerLanguageNameA,wLang,szLang,cchLang} [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:147:57 [INFO] [stdout] | [INFO] [stdout] 147 | pub unsafe extern "stdcall" fn VerLanguageNameW(wLang : DWORD,szLang : LPWSTR,cchLang : DWORD)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:147:72 [INFO] [stdout] | [INFO] [stdout] 147 | pub unsafe extern "stdcall" fn VerLanguageNameW(wLang : DWORD,szLang : LPWSTR,cchLang : DWORD)->DWORD { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:147:89 [INFO] [stdout] | [INFO] [stdout] 147 | pub unsafe extern "stdcall" fn VerLanguageNameW(wLang : DWORD,szLang : LPWSTR,cchLang : DWORD)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:147:97 [INFO] [stdout] | [INFO] [stdout] 147 | pub unsafe extern "stdcall" fn VerLanguageNameW(wLang : DWORD,szLang : LPWSTR,cchLang : DWORD)->DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:148:41 [INFO] [stdout] | [INFO] [stdout] 148 | type F = unsafe extern "stdcall" fn(DWORD,LPWSTR, DWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:148:47 [INFO] [stdout] | [INFO] [stdout] 148 | type F = unsafe extern "stdcall" fn(DWORD,LPWSTR, DWORD)->DWORD; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:148:55 [INFO] [stdout] | [INFO] [stdout] 148 | type F = unsafe extern "stdcall" fn(DWORD,LPWSTR, DWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:148:63 [INFO] [stdout] | [INFO] [stdout] 148 | type F = unsafe extern "stdcall" fn(DWORD,LPWSTR, DWORD)->DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 149 | do_func_proxy!{F,VerLanguageNameW,wLang,szLang,cchLang} [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 149 | do_func_proxy!{F,VerLanguageNameW,wLang,szLang,cchLang} [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 149 | do_func_proxy!{F,VerLanguageNameW,wLang,szLang,cchLang} [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 149 | do_func_proxy!{F,VerLanguageNameW,wLang,szLang,cchLang} [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/lib.rs:152:56 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe extern "stdcall" fn VerQueryValueA(pBlock : LPCVOID,lpSubBlock : LPCSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:152:77 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe extern "stdcall" fn VerQueryValueA(pBlock : LPCVOID,lpSubBlock : LPCSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:152:102 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe extern "stdcall" fn VerQueryValueA(pBlock : LPCVOID,lpSubBlock : LPCSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:152:117 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe extern "stdcall" fn VerQueryValueA(pBlock : LPCVOID,lpSubBlock : LPCSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:152:125 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe extern "stdcall" fn VerQueryValueA(pBlock : LPCVOID,lpSubBlock : LPCSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/lib.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:153:49 [INFO] [stdout] | [INFO] [stdout] 153 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:153:61 [INFO] [stdout] | [INFO] [stdout] 153 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:153:68 [INFO] [stdout] | [INFO] [stdout] 153 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:153:76 [INFO] [stdout] | [INFO] [stdout] 153 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 154 | do_func_proxy!{F,VerQueryValueA,pBlock,lpSubBlock,lplpBuffer,puLen} [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 154 | do_func_proxy!{F,VerQueryValueA,pBlock,lpSubBlock,lplpBuffer,puLen} [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 154 | do_func_proxy!{F,VerQueryValueA,pBlock,lpSubBlock,lplpBuffer,puLen} [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 154 | do_func_proxy!{F,VerQueryValueA,pBlock,lpSubBlock,lplpBuffer,puLen} [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/lib.rs:157:56 [INFO] [stdout] | [INFO] [stdout] 157 | pub unsafe extern "stdcall" fn VerQueryValueW(pBlock : LPCVOID,lpSubBlock : LPCWSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:157:77 [INFO] [stdout] | [INFO] [stdout] 157 | pub unsafe extern "stdcall" fn VerQueryValueW(pBlock : LPCVOID,lpSubBlock : LPCWSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:157:103 [INFO] [stdout] | [INFO] [stdout] 157 | pub unsafe extern "stdcall" fn VerQueryValueW(pBlock : LPCVOID,lpSubBlock : LPCWSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:157:118 [INFO] [stdout] | [INFO] [stdout] 157 | pub unsafe extern "stdcall" fn VerQueryValueW(pBlock : LPCVOID,lpSubBlock : LPCWSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:157:126 [INFO] [stdout] | [INFO] [stdout] 157 | pub unsafe extern "stdcall" fn VerQueryValueW(pBlock : LPCVOID,lpSubBlock : LPCWSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/lib.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCWSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCWSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCWSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUINT` in this scope [INFO] [stdout] --> src/lib.rs:158:69 [INFO] [stdout] | [INFO] [stdout] 158 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCWSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:158:77 [INFO] [stdout] | [INFO] [stdout] 158 | type F = unsafe extern "stdcall" fn(LPCVOID,LPCWSTR,*mut LPVOID,PUINT)->BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let proc = GetProcAddress(get_real_version_handle(), concat!(stringify!($apiname),"\0").as_ptr() as *const i8); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 159 | do_func_proxy!{F,VerQueryValueW,pBlock,lpSubBlock,lplpBuffer,puLen} [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | if proc == 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 159 | do_func_proxy!{F,VerQueryValueW,pBlock,lpSubBlock,lplpBuffer,puLen} [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 159 | do_func_proxy!{F,VerQueryValueW,pBlock,lpSubBlock,lplpBuffer,puLen} [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NOT_FOUND` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | SetLastError(ERROR_NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 159 | do_func_proxy!{F,VerQueryValueW,pBlock,lpSubBlock,lplpBuffer,puLen} [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `do_func_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | if module != 0 as HMODULE{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/lib.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | let skse64 = unsafe{LoadLibraryW(widestring::U16String::from_str(dllname.as_str()).as_ptr())}; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | if skse64 != 0 as HMODULE{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | let proc = unsafe{GetProcAddress(skse64,concat!("StartSKSE","\0").as_ptr() as LPCSTR)}; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:191:87 [INFO] [stdout] | [INFO] [stdout] 191 | let proc = unsafe{GetProcAddress(skse64,concat!("StartSKSE","\0").as_ptr() as LPCSTR)}; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | if proc != 0 as FARPROC{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | pub extern "system" fn DllMain(module: HMODULE, dwReason: u32, reserve: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:206:73 [INFO] [stdout] | [INFO] [stdout] 206 | pub extern "system" fn DllMain(module: HMODULE, dwReason: u32, reserve: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:206:84 [INFO] [stdout] | [INFO] [stdout] 206 | pub extern "system" fn DllMain(module: HMODULE, dwReason: u32, reserve: LPVOID) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ffi; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdin` [INFO] [stdout] --> src/lib.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{Read,stdin}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/lib.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | use std::fmt::{Error, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe extern "stdcall" fn GetFileVersionInfoA(lptstrFilename : LPCSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub unsafe extern "stdcall" fn GetFileVersionInfoExA(dwFlags : DWORD, lpwstrFilename : LPCSTR, dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub unsafe extern "stdcall" fn GetFileVersionInfoExW(dwFlags : DWORD,lpwstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeA(lptstrFilename : LPCSTR, lpdwHandle : LPDWORD)->DWORD{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExW(dwFlags : DWORD,lpwstrFilename : LPCWSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeExA(dwFlags : DWORD,lpwstrFilename : LPCSTR,lpdwHandle : LPDWORD)->DWORD { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe extern "stdcall" fn GetFileVersionInfoSizeW(lptstrFilename : LPCWSTR,lpdwHandle : LPDWORD)->DWORD{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe extern "stdcall" fn GetFileVersionInfoW(lptstrFilename : LPCWSTR,dwHandle : DWORD,dwLen : DWORD,lpData : LPVOID)->BOOL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / pub unsafe extern "stdcall" fn VerFindFileA(uFlags : DWORD,szFileName : LPCSTR,szWinDir : LPCSTR,szAppDir : LPCSTR,szCurDir : LPSTR, [INFO] [stdout] 119 | | puCurDirLen : PUINT,szDestDir : LPSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / pub unsafe extern "stdcall" fn VerFindFileW(uFlags : DWORD,szFileName : LPCWSTR,szWinDir : LPCWSTR,szAppDir : LPCWSTR,szCurDir : LPWSTR, [INFO] [stdout] 125 | | puCurDirLen : PUINT,szDestDir : LPWSTR,puDestDirLen : PUINT)->DWORD { [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / pub unsafe extern "stdcall" fn VerInstallFileA(uFlags : DWORD,szSrcFileName : LPCSTR,szDestFileName : LPCSTR,szSrcDir : LPCSTR, [INFO] [stdout] 131 | | szDestDir : LPCSTR,szCurDir : LPCSTR,szTmpFile : LPSTR,puTmpFileLen : PUINT)->DWORD { [INFO] [stdout] | |_____________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / pub unsafe extern "stdcall" fn VerInstallFileW(uFlags : DWORD,szSrcFileName : LPCWSTR,szDestFileName : LPCWSTR,szSrcDir : LPCWSTR, [INFO] [stdout] 137 | | szDestDir : LPCWSTR,szCurDir : LPCWSTR,szTmpFile : LPWSTR,puTmpFileLen : PUINT)->DWORD{ [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub unsafe extern "stdcall" fn VerLanguageNameA(wLang : DWORD,szLang : LPSTR,cchLang : DWORD)->DWORD{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | pub unsafe extern "stdcall" fn VerLanguageNameW(wLang : DWORD,szLang : LPWSTR,cchLang : DWORD)->DWORD { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `versionrs` due to 283 previous errors; 21 warnings emitted [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe extern "stdcall" fn VerQueryValueA(pBlock : LPCVOID,lpSubBlock : LPCSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub unsafe extern "stdcall" fn VerQueryValueW(pBlock : LPCVOID,lpSubBlock : LPCWSTR,lplpBuffer : *mut LPVOID,puLen : PUINT)->BOOL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 282 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "282c014bfa544b2a8e925ae012680bf1078864a52796c3d2e8924c2d8cff2af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "282c014bfa544b2a8e925ae012680bf1078864a52796c3d2e8924c2d8cff2af7", kill_on_drop: false }` [INFO] [stdout] 282c014bfa544b2a8e925ae012680bf1078864a52796c3d2e8924c2d8cff2af7