[INFO] fetching crate rdc_connections 0.0.7... [INFO] checking rdc_connections-0.0.7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rdc_connections 0.0.7 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate rdc_connections 0.0.7 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rdc_connections 0.0.7 [INFO] finished tweaking crates.io crate rdc_connections 0.0.7 [INFO] tweaked toml for crates.io crate rdc_connections 0.0.7 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding const-sha1 v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows v0.21.1 (latest: v0.58.0) [INFO] [stderr] Adding windows_gen v0.21.1 (latest: v0.31.0) [INFO] [stderr] Adding windows_macros v0.21.1 (latest: v0.31.0) [INFO] [stderr] Adding windows_quote v0.21.1 (latest: v0.30.0) [INFO] [stderr] Adding windows_reader v0.21.1 (latest: v0.31.0) [INFO] [stderr] Adding winsafe v0.0.6 (latest: v0.0.22) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows v0.21.1 [INFO] [stderr] Downloaded windows_quote v0.21.1 [INFO] [stderr] Downloaded windows_macros v0.21.1 [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded windows_gen v0.21.1 [INFO] [stderr] Downloaded winsafe v0.0.6 [INFO] [stderr] Downloaded windows_reader v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a21e6eb46df3cfcf48f83f20b4c605b967c947a1326d59d98377e73f1ca7b71c [INFO] running `Command { std: "docker" "start" "-a" "a21e6eb46df3cfcf48f83f20b4c605b967c947a1326d59d98377e73f1ca7b71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a21e6eb46df3cfcf48f83f20b4c605b967c947a1326d59d98377e73f1ca7b71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a21e6eb46df3cfcf48f83f20b4c605b967c947a1326d59d98377e73f1ca7b71c", kill_on_drop: false }` [INFO] [stdout] a21e6eb46df3cfcf48f83f20b4c605b967c947a1326d59d98377e73f1ca7b71c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e82aa2167bc2b52185015a565b8748ad875a2c826068beb2a7808946e22e11b [INFO] running `Command { std: "docker" "start" "-a" "4e82aa2167bc2b52185015a565b8748ad875a2c826068beb2a7808946e22e11b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling windows_quote v0.21.1 [INFO] [stderr] Compiling windows_reader v0.21.1 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Checking winsafe v0.0.6 [INFO] [stderr] Checking windows_gen v0.21.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling windows_macros v0.21.1 [INFO] [stderr] Compiling windows v0.21.1 [INFO] [stderr] Compiling rdc_connections v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `*mut WTS_SESSION_INFOW` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:143 [INFO] [stdout] | [INFO] [stdout] 1 | ...afe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Windows { # [ allow ( unused_variables , non_upper_case_globals , n... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:3546 [INFO] [stdout] | [INFO] [stdout] 1 | ...aram { if ! value . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: Into... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1 | # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Windows { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Win32 { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Foundation { # [ repr ( transparent ) ] # [ derive ( :: std :: default :: Default , :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct BOOL ( pub i32 ) ; unsafe impl :: windows :: Abi for BOOL { type Abi = Self ; type DefaultType = Self ; } impl BOOL { # [ inline ] pub fn as_bool ( self ) -> bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . as_bool ( ) { Ok ( ( ) ) } else { Err ( :: windows :: Error :: from_win32 ( ) ) } } # [ inline ] # [ track_caller ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] # [ track_caller ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: std :: convert :: From < BOOL > for bool { fn from ( value : BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < & BOOL > for bool { fn from ( value : & BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < bool > for BOOL { fn from ( value : bool ) -> Self { if value { BOOL ( 1 ) } else { BOOL ( 0 ) } } } impl :: std :: convert :: From < & bool > for BOOL { fn from ( value : & bool ) -> Self { ( * value ) . into ( ) } } impl :: std :: cmp :: PartialEq < bool > for BOOL { fn eq ( & self , other : & bool ) -> bool { self . as_bool ( ) == * other } } impl :: std :: cmp :: PartialEq < BOOL > for bool { fn eq ( & self , other : & BOOL ) -> bool { * self == other . as_bool ( ) } } impl std :: ops :: Not for BOOL { type Output = Self ; fn not ( self ) -> Self :: Output { if self . as_bool ( ) { BOOL ( 0 ) } else { BOOL ( 1 ) } } } impl < 'a > :: windows :: IntoParam < 'a , BOOL > for bool { fn into_param ( self ) -> :: windows :: Param < 'a , BOOL > { :: windows :: Param :: Owned ( self . into ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HANDLE ( pub isize ) ; unsafe impl :: windows :: Handle for HANDLE { fn is_invalid ( & self ) -> bool { self . 0 == 0 || self . 0 == - 1 } fn ok ( self ) -> :: windows :: Result < Self > { if self . is_invalid ( ) { Err ( :: windows :: Error :: from_win32 ( ) ) } else { Ok ( self ) } } } unsafe impl :: windows :: Abi for HANDLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct PWSTR ( pub * mut u16 ) ; impl PWSTR { pub fn is_null ( & self ) -> bool { self . 0 . is_null ( ) } } impl :: std :: default :: Default for PWSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } unsafe impl :: windows :: Abi for PWSTR { type Abi = Self ; type DefaultType = Self ; unsafe fn drop_param ( param : & mut :: windows :: Param < '_ , Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . is_null ( ) { unsafe { let _ = :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & str { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ cfg ( windows ) ] impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & :: std :: ffi :: OsStr { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { use std :: os :: windows :: ffi :: OsStrExt ; :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_wide ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ cfg ( windows ) ] impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for :: std :: ffi :: OsString { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { use std :: os :: windows :: ffi :: OsStrExt ; :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_wide ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod System { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Diagnostics { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Debug { pub unsafe fn GetLastError < > ( ) -> WIN32_ERROR { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn GetLastError ( ) -> WIN32_ERROR ; } :: std :: mem :: transmute ( GetLastError ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WIN32_ERROR ( pub u32 ) ; impl :: std :: convert :: From < u32 > for WIN32_ERROR { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WIN32_ERROR { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for WIN32_ERROR { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WIN32_ERROR { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WIN32_ERROR { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WIN32_ERROR { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for WIN32_ERROR { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } impl :: std :: convert :: From < WIN32_ERROR > for :: windows :: HRESULT { fn from ( value : WIN32_ERROR ) -> Self { Self ( if value . 0 as i32 <= 0 { value . 0 } else { ( value . 0 & 0x0000_FFFF ) | ( 7 << 16 ) | 0x8000_0000 } ) } } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod RemoteDesktop { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WTSCLIENTW { pub ClientName : [ u16 ;21 ] , pub Domain : [ u16 ;18 ] , pub UserName : [ u16 ;21 ] , pub WorkDirectory : [ u16 ;261 ] , pub InitialProgram : [ u16 ;261 ] , pub EncryptionLevel : u8 , pub ClientAddressFamily : u32 , pub ClientAddress : [ u16 ;31 ] , pub HRes : u16 , pub VRes : u16 , pub ColorDepth : u16 , pub ClientDirectory : [ u16 ;261 ] , pub ClientBuildNumber : u32 , pub ClientHardwareId : u32 , pub ClientProductId : u16 , pub OutBufCountHost : u16 , pub OutBufCountClient : u16 , pub OutBufLength : u16 , pub DeviceId : [ u16 ;261 ] } impl WTSCLIENTW { } impl :: std :: default :: Default for WTSCLIENTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for WTSCLIENTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WTSCLIENTW" ) . field ( "ClientName" , & self . ClientName ) . field ( "Domain" , & self . Domain ) . field ( "UserName" , & self . UserName ) . field ( "WorkDirectory" , & self . WorkDirectory ) . field ( "InitialProgram" , & self . InitialProgram ) . field ( "EncryptionLevel" , & self . EncryptionLevel ) . field ( "ClientAddressFamily" , & self . ClientAddressFamily ) . field ( "ClientAddress" , & self . ClientAddress ) . field ( "HRes" , & self . HRes ) . field ( "VRes" , & self . VRes ) . field ( "ColorDepth" , & self . ColorDepth ) . field ( "ClientDirectory" , & self . ClientDirectory ) . field ( "ClientBuildNumber" , & self . ClientBuildNumber ) . field ( "ClientHardwareId" , & self . ClientHardwareId ) . field ( "ClientProductId" , & self . ClientProductId ) . field ( "OutBufCountHost" , & self . OutBufCountHost ) . field ( "OutBufCountClient" , & self . OutBufCountClient ) . field ( "OutBufLength" , & self . OutBufLength ) . field ( "DeviceId" , & self . DeviceId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WTSCLIENTW { fn eq ( & self , other : & Self ) -> bool { self . ClientName == other . ClientName && self . Domain == other . Domain && self . UserName == other . UserName && self . WorkDirectory == other . WorkDirectory && self . InitialProgram == other . InitialProgram && self . EncryptionLevel == other . EncryptionLevel && self . ClientAddressFamily == other . ClientAddressFamily && self . ClientAddress == other . ClientAddress && self . HRes == other . HRes && self . VRes == other . VRes && self . ColorDepth == other . ColorDepth && self . ClientDirectory == other . ClientDirectory && self . ClientBuildNumber == other . ClientBuildNumber && self . ClientHardwareId == other . ClientHardwareId && self . ClientProductId == other . ClientProductId && self . OutBufCountHost == other . OutBufCountHost && self . OutBufCountClient == other . OutBufCountClient && self . OutBufLength == other . OutBufLength && self . DeviceId == other . DeviceId } } impl :: std :: cmp :: Eq for WTSCLIENTW { } unsafe impl :: windows :: Abi for WTSCLIENTW { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn WTSCloseServer < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hserver : Param0 , ) { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSCloseServer ( hserver : super::super::Foundation:: HANDLE ) ; } :: std :: mem :: transmute ( WTSCloseServer ( hserver . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WTSEnumerateSessionsW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hserver : Param0 , reserved : u32 , version : u32 , ppsessioninfo : * mut * mut WTS_SESSION_INFOW , pcount : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSEnumerateSessionsW ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppsessioninfo : * mut * mut WTS_SESSION_INFOW , pcount : * mut u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( WTSEnumerateSessionsW ( hserver . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( reserved ) , :: std :: mem :: transmute ( version ) , :: std :: mem :: transmute ( ppsessioninfo ) , :: std :: mem :: transmute ( pcount ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WTSFreeMemory < > ( pmemory : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSFreeMemory ( pmemory : * mut :: std :: ffi :: c_void ) ; } :: std :: mem :: transmute ( WTSFreeMemory ( :: std :: mem :: transmute ( pmemory ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WTSOpenServerW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( pservername : Param0 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSOpenServerW ( pservername : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } :: std :: mem :: transmute ( WTSOpenServerW ( pservername . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WTSQuerySessionInformationW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hserver : Param0 , sessionid : u32 , wtsinfoclass : WTS_INFO_CLASS , ppbuffer : * mut super::super::Foundation:: PWSTR , pbytesreturned : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSQuerySessionInformationW ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , wtsinfoclass : WTS_INFO_CLASS , ppbuffer : * mut super::super::Foundation:: PWSTR , pbytesreturned : * mut u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( WTSQuerySessionInformationW ( hserver . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( sessionid ) , :: std :: mem :: transmute ( wtsinfoclass ) , :: std :: mem :: transmute ( ppbuffer ) , :: std :: mem :: transmute ( pbytesreturned ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WTS_CONNECTSTATE_CLASS ( pub i32 ) ; pub const WTSActive : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 0i32 ) ; pub const WTSConnected : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 1i32 ) ; pub const WTSConnectQuery : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 2i32 ) ; pub const WTSShadow : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 3i32 ) ; pub const WTSDisconnected : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 4i32 ) ; pub const WTSIdle : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 5i32 ) ; pub const WTSListen : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 6i32 ) ; pub const WTSReset : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 7i32 ) ; pub const WTSDown : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 8i32 ) ; pub const WTSInit : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 9i32 ) ; impl :: std :: convert :: From < i32 > for WTS_CONNECTSTATE_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WTS_CONNECTSTATE_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WTS_INFO_CLASS ( pub i32 ) ; pub const WTSInitialProgram : WTS_INFO_CLASS = WTS_INFO_CLASS ( 0i32 ) ; pub const WTSApplicationName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 1i32 ) ; pub const WTSWorkingDirectory : WTS_INFO_CLASS = WTS_INFO_CLASS ( 2i32 ) ; pub const WTSOEMId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 3i32 ) ; pub const WTSSessionId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 4i32 ) ; pub const WTSUserName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 5i32 ) ; pub const WTSWinStationName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 6i32 ) ; pub const WTSDomainName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 7i32 ) ; pub const WTSConnectState : WTS_INFO_CLASS = WTS_INFO_CLASS ( 8i32 ) ; pub const WTSClientBuildNumber : WTS_INFO_CLASS = WTS_INFO_CLASS ( 9i32 ) ; pub const WTSClientName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 10i32 ) ; pub const WTSClientDirectory : WTS_INFO_CLASS = WTS_INFO_CLASS ( 11i32 ) ; pub const WTSClientProductId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 12i32 ) ; pub const WTSClientHardwareId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 13i32 ) ; pub const WTSClientAddress : WTS_INFO_CLASS = WTS_INFO_CLASS ( 14i32 ) ; pub const WTSClientDisplay : WTS_INFO_CLASS = WTS_INFO_CLASS ( 15i32 ) ; pub const WTSClientProtocolType : WTS_INFO_CLASS = WTS_INFO_CLASS ( 16i32 ) ; pub const WTSIdleTime : WTS_INFO_CLASS = WTS_INFO_CLASS ( 17i32 ) ; pub const WTSLogonTime : WTS_INFO_CLASS = WTS_INFO_CLASS ( 18i32 ) ; pub const WTSIncomingBytes : WTS_INFO_CLASS = WTS_INFO_CLASS ( 19i32 ) ; pub const WTSOutgoingBytes : WTS_INFO_CLASS = WTS_INFO_CLASS ( 20i32 ) ; pub const WTSIncomingFrames : WTS_INFO_CLASS = WTS_INFO_CLASS ( 21i32 ) ; pub const WTSOutgoingFrames : WTS_INFO_CLASS = WTS_INFO_CLASS ( 22i32 ) ; pub const WTSClientInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 23i32 ) ; pub const WTSSessionInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 24i32 ) ; pub const WTSSessionInfoEx : WTS_INFO_CLASS = WTS_INFO_CLASS ( 25i32 ) ; pub const WTSConfigInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 26i32 ) ; pub const WTSValidationInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 27i32 ) ; pub const WTSSessionAddressV4 : WTS_INFO_CLASS = WTS_INFO_CLASS ( 28i32 ) ; pub const WTSIsRemoteSession : WTS_INFO_CLASS = WTS_INFO_CLASS ( 29i32 ) ; impl :: std :: convert :: From < i32 > for WTS_INFO_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WTS_INFO_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WTS_SESSION_INFOW { pub SessionId : u32 , pub pWinStationName : super::super::Foundation:: PWSTR , pub State : WTS_CONNECTSTATE_CLASS } impl WTS_SESSION_INFOW { } impl :: std :: default :: Default for WTS_SESSION_INFOW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for WTS_SESSION_INFOW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WTS_SESSION_INFOW" ) . field ( "SessionId" , & self . SessionId ) . field ( "pWinStationName" , & self . pWinStationName ) . field ( "State" , & self . State ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WTS_SESSION_INFOW { fn eq ( & self , other : & Self ) -> bool { self . SessionId == other . SessionId && self . pWinStationName == other . pWinStationName && self . State == other . State } } impl :: std :: cmp :: Eq for WTS_SESSION_INFOW { } unsafe impl :: windows :: Abi for WTS_SESSION_INFOW { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemInformation { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct COMPUTER_NAME_FORMAT ( pub i32 ) ; pub const ComputerNameNetBIOS : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 0i32 ) ; pub const ComputerNameDnsHostname : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 1i32 ) ; pub const ComputerNameDnsDomain : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 2i32 ) ; pub const ComputerNameDnsFullyQualified : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 3i32 ) ; pub const ComputerNamePhysicalNetBIOS : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 4i32 ) ; pub const ComputerNamePhysicalDnsHostname : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 5i32 ) ; pub const ComputerNamePhysicalDnsDomain : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 6i32 ) ; pub const ComputerNamePhysicalDnsFullyQualified : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 7i32 ) ; pub const ComputerNameMax : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 8i32 ) ; impl :: std :: convert :: From < i32 > for COMPUTER_NAME_FORMAT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COMPUTER_NAME_FORMAT { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn GetComputerNameExW < > ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : super::super::Foundation:: PWSTR , nsize : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn GetComputerNameExW ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : super::super::Foundation:: PWSTR , nsize : * mut u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetComputerNameExW ( :: std :: mem :: transmute ( nametype ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsProgramming { pub unsafe fn GetUserNameW < > ( lpbuffer : super::super::Foundation:: PWSTR , pcbbuffer : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="advapi32" ) ] extern "system" { fn GetUserNameW ( lpbuffer : super::super::Foundation:: PWSTR , pcbbuffer : * mut u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetUserNameW ( :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( pcbbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut WTS_SESSION_INFOW` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:303 [INFO] [stdout] | [INFO] [stdout] 1 | ...safe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Win32 { # [ allow ( unused_variables , non_upper_case_globals , no... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:461 [INFO] [stdout] | [INFO] [stdout] 1 | ...fe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Foundation { # [ repr ( transparent ) ] # [ derive ( :: std :: defau... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:5389 [INFO] [stdout] | [INFO] [stdout] 1 | ...safe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod System { # [ allow ( unused_variables , non_upper_case_globals , n... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:685 [INFO] [stdout] | [INFO] [stdout] 1 | ...rtialEq , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct BOOL ( pub i32 ) ; unsafe impl :: windows :: Abi for BOOL { type... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:827 [INFO] [stdout] | [INFO] [stdout] 1 | ...pe DefaultType = Self ; } impl BOOL { # [ inline ] pub fn as_bool ( self ) -> bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( se... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:896 [INFO] [stdout] | [INFO] [stdout] 1 | ...bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . as_bool ( ) { Ok ( ( ) ) } el... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:1075 [INFO] [stdout] | [INFO] [stdout] 1 | ...:: from_win32 ( ) ) } } # [ inline ] # [ track_caller ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] # [ track... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:1163 [INFO] [stdout] | [INFO] [stdout] 1 | .... unwrap ( ) ; } # [ inline ] # [ track_caller ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:2505 [INFO] [stdout] | [INFO] [stdout] 1 | ...alEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HANDLE ( pub isize ) ; unsafe impl :: windows :: Handle for HANDL... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:3066 [INFO] [stdout] | [INFO] [stdout] 1 | ...ialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct PWSTR ( pub * mut u16 ) ; impl PWSTR { pub fn is_null ( & self )... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:3116 [INFO] [stdout] | [INFO] [stdout] 1 | ...pub struct PWSTR ( pub * mut u16 ) ; impl PWSTR { pub fn is_null ( & self ) -> bool { self . 0 . is_null ( ) } } impl :: std :: defaul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:3546 [INFO] [stdout] | [INFO] [stdout] 1 | ...aram { if ! value . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: Into... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1 | # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Windows { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Win32 { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Foundation { # [ repr ( transparent ) ] # [ derive ( :: std :: default :: Default , :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct BOOL ( pub i32 ) ; unsafe impl :: windows :: Abi for BOOL { type Abi = Self ; type DefaultType = Self ; } impl BOOL { # [ inline ] pub fn as_bool ( self ) -> bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . as_bool ( ) { Ok ( ( ) ) } else { Err ( :: windows :: Error :: from_win32 ( ) ) } } # [ inline ] # [ track_caller ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] # [ track_caller ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: std :: convert :: From < BOOL > for bool { fn from ( value : BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < & BOOL > for bool { fn from ( value : & BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < bool > for BOOL { fn from ( value : bool ) -> Self { if value { BOOL ( 1 ) } else { BOOL ( 0 ) } } } impl :: std :: convert :: From < & bool > for BOOL { fn from ( value : & bool ) -> Self { ( * value ) . into ( ) } } impl :: std :: cmp :: PartialEq < bool > for BOOL { fn eq ( & self , other : & bool ) -> bool { self . as_bool ( ) == * other } } impl :: std :: cmp :: PartialEq < BOOL > for bool { fn eq ( & self , other : & BOOL ) -> bool { * self == other . as_bool ( ) } } impl std :: ops :: Not for BOOL { type Output = Self ; fn not ( self ) -> Self :: Output { if self . as_bool ( ) { BOOL ( 0 ) } else { BOOL ( 1 ) } } } impl < 'a > :: windows :: IntoParam < 'a , BOOL > for bool { fn into_param ( self ) -> :: windows :: Param < 'a , BOOL > { :: windows :: Param :: Owned ( self . into ( ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct HANDLE ( pub isize ) ; unsafe impl :: windows :: Handle for HANDLE { fn is_invalid ( & self ) -> bool { self . 0 == 0 || self . 0 == - 1 } fn ok ( self ) -> :: windows :: Result < Self > { if self . is_invalid ( ) { Err ( :: windows :: Error :: from_win32 ( ) ) } else { Ok ( self ) } } } unsafe impl :: windows :: Abi for HANDLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq ) ] # [ repr ( transparent ) ] pub struct PWSTR ( pub * mut u16 ) ; impl PWSTR { pub fn is_null ( & self ) -> bool { self . 0 . is_null ( ) } } impl :: std :: default :: Default for PWSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } unsafe impl :: windows :: Abi for PWSTR { type Abi = Self ; type DefaultType = Self ; unsafe fn drop_param ( param : & mut :: windows :: Param < '_ , Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . is_null ( ) { unsafe { let _ = :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & str { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ cfg ( windows ) ] impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & :: std :: ffi :: OsStr { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { use std :: os :: windows :: ffi :: OsStrExt ; :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_wide ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ cfg ( windows ) ] impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for :: std :: ffi :: OsString { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { use std :: os :: windows :: ffi :: OsStrExt ; :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_wide ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod System { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Diagnostics { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Debug { pub unsafe fn GetLastError < > ( ) -> WIN32_ERROR { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn GetLastError ( ) -> WIN32_ERROR ; } :: std :: mem :: transmute ( GetLastError ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WIN32_ERROR ( pub u32 ) ; impl :: std :: convert :: From < u32 > for WIN32_ERROR { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WIN32_ERROR { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for WIN32_ERROR { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WIN32_ERROR { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WIN32_ERROR { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WIN32_ERROR { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } impl :: std :: ops :: Not for WIN32_ERROR { type Output = Self ; fn not ( self ) -> Self { Self ( self . 0 . not ( ) ) } } impl :: std :: convert :: From < WIN32_ERROR > for :: windows :: HRESULT { fn from ( value : WIN32_ERROR ) -> Self { Self ( if value . 0 as i32 <= 0 { value . 0 } else { ( value . 0 & 0x0000_FFFF ) | ( 7 << 16 ) | 0x8000_0000 } ) } } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod RemoteDesktop { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WTSCLIENTW { pub ClientName : [ u16 ;21 ] , pub Domain : [ u16 ;18 ] , pub UserName : [ u16 ;21 ] , pub WorkDirectory : [ u16 ;261 ] , pub InitialProgram : [ u16 ;261 ] , pub EncryptionLevel : u8 , pub ClientAddressFamily : u32 , pub ClientAddress : [ u16 ;31 ] , pub HRes : u16 , pub VRes : u16 , pub ColorDepth : u16 , pub ClientDirectory : [ u16 ;261 ] , pub ClientBuildNumber : u32 , pub ClientHardwareId : u32 , pub ClientProductId : u16 , pub OutBufCountHost : u16 , pub OutBufCountClient : u16 , pub OutBufLength : u16 , pub DeviceId : [ u16 ;261 ] } impl WTSCLIENTW { } impl :: std :: default :: Default for WTSCLIENTW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for WTSCLIENTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WTSCLIENTW" ) . field ( "ClientName" , & self . ClientName ) . field ( "Domain" , & self . Domain ) . field ( "UserName" , & self . UserName ) . field ( "WorkDirectory" , & self . WorkDirectory ) . field ( "InitialProgram" , & self . InitialProgram ) . field ( "EncryptionLevel" , & self . EncryptionLevel ) . field ( "ClientAddressFamily" , & self . ClientAddressFamily ) . field ( "ClientAddress" , & self . ClientAddress ) . field ( "HRes" , & self . HRes ) . field ( "VRes" , & self . VRes ) . field ( "ColorDepth" , & self . ColorDepth ) . field ( "ClientDirectory" , & self . ClientDirectory ) . field ( "ClientBuildNumber" , & self . ClientBuildNumber ) . field ( "ClientHardwareId" , & self . ClientHardwareId ) . field ( "ClientProductId" , & self . ClientProductId ) . field ( "OutBufCountHost" , & self . OutBufCountHost ) . field ( "OutBufCountClient" , & self . OutBufCountClient ) . field ( "OutBufLength" , & self . OutBufLength ) . field ( "DeviceId" , & self . DeviceId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WTSCLIENTW { fn eq ( & self , other : & Self ) -> bool { self . ClientName == other . ClientName && self . Domain == other . Domain && self . UserName == other . UserName && self . WorkDirectory == other . WorkDirectory && self . InitialProgram == other . InitialProgram && self . EncryptionLevel == other . EncryptionLevel && self . ClientAddressFamily == other . ClientAddressFamily && self . ClientAddress == other . ClientAddress && self . HRes == other . HRes && self . VRes == other . VRes && self . ColorDepth == other . ColorDepth && self . ClientDirectory == other . ClientDirectory && self . ClientBuildNumber == other . ClientBuildNumber && self . ClientHardwareId == other . ClientHardwareId && self . ClientProductId == other . ClientProductId && self . OutBufCountHost == other . OutBufCountHost && self . OutBufCountClient == other . OutBufCountClient && self . OutBufLength == other . OutBufLength && self . DeviceId == other . DeviceId } } impl :: std :: cmp :: Eq for WTSCLIENTW { } unsafe impl :: windows :: Abi for WTSCLIENTW { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn WTSCloseServer < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hserver : Param0 , ) { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSCloseServer ( hserver : super::super::Foundation:: HANDLE ) ; } :: std :: mem :: transmute ( WTSCloseServer ( hserver . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WTSEnumerateSessionsW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hserver : Param0 , reserved : u32 , version : u32 , ppsessioninfo : * mut * mut WTS_SESSION_INFOW , pcount : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSEnumerateSessionsW ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppsessioninfo : * mut * mut WTS_SESSION_INFOW , pcount : * mut u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( WTSEnumerateSessionsW ( hserver . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( reserved ) , :: std :: mem :: transmute ( version ) , :: std :: mem :: transmute ( ppsessioninfo ) , :: std :: mem :: transmute ( pcount ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WTSFreeMemory < > ( pmemory : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSFreeMemory ( pmemory : * mut :: std :: ffi :: c_void ) ; } :: std :: mem :: transmute ( WTSFreeMemory ( :: std :: mem :: transmute ( pmemory ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WTSOpenServerW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( pservername : Param0 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSOpenServerW ( pservername : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } :: std :: mem :: transmute ( WTSOpenServerW ( pservername . into_param ( ) . abi ( ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WTSQuerySessionInformationW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hserver : Param0 , sessionid : u32 , wtsinfoclass : WTS_INFO_CLASS , ppbuffer : * mut super::super::Foundation:: PWSTR , pbytesreturned : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="wtsapi32" ) ] extern "system" { fn WTSQuerySessionInformationW ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , wtsinfoclass : WTS_INFO_CLASS , ppbuffer : * mut super::super::Foundation:: PWSTR , pbytesreturned : * mut u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( WTSQuerySessionInformationW ( hserver . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( sessionid ) , :: std :: mem :: transmute ( wtsinfoclass ) , :: std :: mem :: transmute ( ppbuffer ) , :: std :: mem :: transmute ( pbytesreturned ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WTS_CONNECTSTATE_CLASS ( pub i32 ) ; pub const WTSActive : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 0i32 ) ; pub const WTSConnected : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 1i32 ) ; pub const WTSConnectQuery : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 2i32 ) ; pub const WTSShadow : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 3i32 ) ; pub const WTSDisconnected : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 4i32 ) ; pub const WTSIdle : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 5i32 ) ; pub const WTSListen : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 6i32 ) ; pub const WTSReset : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 7i32 ) ; pub const WTSDown : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 8i32 ) ; pub const WTSInit : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 9i32 ) ; impl :: std :: convert :: From < i32 > for WTS_CONNECTSTATE_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WTS_CONNECTSTATE_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WTS_INFO_CLASS ( pub i32 ) ; pub const WTSInitialProgram : WTS_INFO_CLASS = WTS_INFO_CLASS ( 0i32 ) ; pub const WTSApplicationName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 1i32 ) ; pub const WTSWorkingDirectory : WTS_INFO_CLASS = WTS_INFO_CLASS ( 2i32 ) ; pub const WTSOEMId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 3i32 ) ; pub const WTSSessionId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 4i32 ) ; pub const WTSUserName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 5i32 ) ; pub const WTSWinStationName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 6i32 ) ; pub const WTSDomainName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 7i32 ) ; pub const WTSConnectState : WTS_INFO_CLASS = WTS_INFO_CLASS ( 8i32 ) ; pub const WTSClientBuildNumber : WTS_INFO_CLASS = WTS_INFO_CLASS ( 9i32 ) ; pub const WTSClientName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 10i32 ) ; pub const WTSClientDirectory : WTS_INFO_CLASS = WTS_INFO_CLASS ( 11i32 ) ; pub const WTSClientProductId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 12i32 ) ; pub const WTSClientHardwareId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 13i32 ) ; pub const WTSClientAddress : WTS_INFO_CLASS = WTS_INFO_CLASS ( 14i32 ) ; pub const WTSClientDisplay : WTS_INFO_CLASS = WTS_INFO_CLASS ( 15i32 ) ; pub const WTSClientProtocolType : WTS_INFO_CLASS = WTS_INFO_CLASS ( 16i32 ) ; pub const WTSIdleTime : WTS_INFO_CLASS = WTS_INFO_CLASS ( 17i32 ) ; pub const WTSLogonTime : WTS_INFO_CLASS = WTS_INFO_CLASS ( 18i32 ) ; pub const WTSIncomingBytes : WTS_INFO_CLASS = WTS_INFO_CLASS ( 19i32 ) ; pub const WTSOutgoingBytes : WTS_INFO_CLASS = WTS_INFO_CLASS ( 20i32 ) ; pub const WTSIncomingFrames : WTS_INFO_CLASS = WTS_INFO_CLASS ( 21i32 ) ; pub const WTSOutgoingFrames : WTS_INFO_CLASS = WTS_INFO_CLASS ( 22i32 ) ; pub const WTSClientInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 23i32 ) ; pub const WTSSessionInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 24i32 ) ; pub const WTSSessionInfoEx : WTS_INFO_CLASS = WTS_INFO_CLASS ( 25i32 ) ; pub const WTSConfigInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 26i32 ) ; pub const WTSValidationInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 27i32 ) ; pub const WTSSessionAddressV4 : WTS_INFO_CLASS = WTS_INFO_CLASS ( 28i32 ) ; pub const WTSIsRemoteSession : WTS_INFO_CLASS = WTS_INFO_CLASS ( 29i32 ) ; impl :: std :: convert :: From < i32 > for WTS_INFO_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WTS_INFO_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WTS_SESSION_INFOW { pub SessionId : u32 , pub pWinStationName : super::super::Foundation:: PWSTR , pub State : WTS_CONNECTSTATE_CLASS } impl WTS_SESSION_INFOW { } impl :: std :: default :: Default for WTS_SESSION_INFOW { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for WTS_SESSION_INFOW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WTS_SESSION_INFOW" ) . field ( "SessionId" , & self . SessionId ) . field ( "pWinStationName" , & self . pWinStationName ) . field ( "State" , & self . State ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WTS_SESSION_INFOW { fn eq ( & self , other : & Self ) -> bool { self . SessionId == other . SessionId && self . pWinStationName == other . pWinStationName && self . State == other . State } } impl :: std :: cmp :: Eq for WTS_SESSION_INFOW { } unsafe impl :: windows :: Abi for WTS_SESSION_INFOW { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemInformation { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct COMPUTER_NAME_FORMAT ( pub i32 ) ; pub const ComputerNameNetBIOS : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 0i32 ) ; pub const ComputerNameDnsHostname : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 1i32 ) ; pub const ComputerNameDnsDomain : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 2i32 ) ; pub const ComputerNameDnsFullyQualified : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 3i32 ) ; pub const ComputerNamePhysicalNetBIOS : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 4i32 ) ; pub const ComputerNamePhysicalDnsHostname : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 5i32 ) ; pub const ComputerNamePhysicalDnsDomain : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 6i32 ) ; pub const ComputerNamePhysicalDnsFullyQualified : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 7i32 ) ; pub const ComputerNameMax : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 8i32 ) ; impl :: std :: convert :: From < i32 > for COMPUTER_NAME_FORMAT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COMPUTER_NAME_FORMAT { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn GetComputerNameExW < > ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : super::super::Foundation:: PWSTR , nsize : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="kernel32" ) ] extern "system" { fn GetComputerNameExW ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : super::super::Foundation:: PWSTR , nsize : * mut u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetComputerNameExW ( :: std :: mem :: transmute ( nametype ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nsize ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsProgramming { pub unsafe fn GetUserNameW < > ( lpbuffer : super::super::Foundation:: PWSTR , pcbbuffer : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="advapi32" ) ] extern "system" { fn GetUserNameW ( lpbuffer : super::super::Foundation:: PWSTR , pcbbuffer : * mut u32 ) -> super::super::Foundation:: BOOL ; } :: std :: mem :: transmute ( GetUserNameW ( :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( pcbbuffer ) ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:5548 [INFO] [stdout] | [INFO] [stdout] 1 | ...e , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Diagnostics { # [ allow ( unused_variables , non_upper_case_globals ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7529 [INFO] [stdout] | [INFO] [stdout] 1 | ... , non_camel_case_types , dead_code , clippy :: all ) ] pub mod RemoteDesktop { # [ derive ( :: std :: clone :: Clone , :: std :: mark... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:19104 [INFO] [stdout] | [INFO] [stdout] 1 | ... non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemInformation { # [ derive ( :: std :: cmp :: PartialEq , :: std :: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:21260 [INFO] [stdout] | [INFO] [stdout] 1 | ... non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsProgramming { pub unsafe fn GetUserNameW < > ( lpbuffer : super::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:5712 [INFO] [stdout] | [INFO] [stdout] 1 | ...safe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Debug { pub unsafe fn GetLastError < > ( ) -> WIN32_ERROR { # [ cf... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:5728 [INFO] [stdout] | [INFO] [stdout] 1 | ..._code , clippy :: all ) ] pub mod Debug { pub unsafe fn GetLastError < > ( ) -> WIN32_ERROR { # [ cfg ( windows ) ] { # [ link ( name ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:6224 [INFO] [stdout] | [INFO] [stdout] 1 | ..., :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WIN32_ERROR ( pub u32 ) ; impl :: std :: convert :: From < u32 > fo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7639 [INFO] [stdout] | [INFO] [stdout] 1 | ...: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WTSCLIENTW { pub ClientName : [ u16 ;21 ] , pub Domain : [ u16 ;18 ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7663 [INFO] [stdout] | [INFO] [stdout] 1 | ...:: Copy ) ] # [ repr ( C ) ] pub struct WTSCLIENTW { pub ClientName : [ u16 ;21 ] , pub Domain : [ u16 ;18 ] , pub UserName : [ u16 ;2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7694 [INFO] [stdout] | [INFO] [stdout] 1 | ...pub struct WTSCLIENTW { pub ClientName : [ u16 ;21 ] , pub Domain : [ u16 ;18 ] , pub UserName : [ u16 ;21 ] , pub WorkDirectory : [ u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7721 [INFO] [stdout] | [INFO] [stdout] 1 | ...ClientName : [ u16 ;21 ] , pub Domain : [ u16 ;18 ] , pub UserName : [ u16 ;21 ] , pub WorkDirectory : [ u16 ;261 ] , pub InitialProgr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7750 [INFO] [stdout] | [INFO] [stdout] 1 | ...omain : [ u16 ;18 ] , pub UserName : [ u16 ;21 ] , pub WorkDirectory : [ u16 ;261 ] , pub InitialProgram : [ u16 ;261 ] , pub Encrypti... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7785 [INFO] [stdout] | [INFO] [stdout] 1 | ... [ u16 ;21 ] , pub WorkDirectory : [ u16 ;261 ] , pub InitialProgram : [ u16 ;261 ] , pub EncryptionLevel : u8 , pub ClientAddressFami... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7821 [INFO] [stdout] | [INFO] [stdout] 1 | ...y : [ u16 ;261 ] , pub InitialProgram : [ u16 ;261 ] , pub EncryptionLevel : u8 , pub ClientAddressFamily : u32 , pub ClientAddress : ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7848 [INFO] [stdout] | [INFO] [stdout] 1 | ...Program : [ u16 ;261 ] , pub EncryptionLevel : u8 , pub ClientAddressFamily : u32 , pub ClientAddress : [ u16 ;31 ] , pub HRes : u16 ,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7880 [INFO] [stdout] | [INFO] [stdout] 1 | ...yptionLevel : u8 , pub ClientAddressFamily : u32 , pub ClientAddress : [ u16 ;31 ] , pub HRes : u16 , pub VRes : u16 , pub ColorDepth ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7914 [INFO] [stdout] | [INFO] [stdout] 1 | ...ientAddressFamily : u32 , pub ClientAddress : [ u16 ;31 ] , pub HRes : u16 , pub VRes : u16 , pub ColorDepth : u16 , pub ClientDirecto... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7931 [INFO] [stdout] | [INFO] [stdout] 1 | ... : u32 , pub ClientAddress : [ u16 ;31 ] , pub HRes : u16 , pub VRes : u16 , pub ColorDepth : u16 , pub ClientDirectory : [ u16 ;261 ]... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7948 [INFO] [stdout] | [INFO] [stdout] 1 | ...ddress : [ u16 ;31 ] , pub HRes : u16 , pub VRes : u16 , pub ColorDepth : u16 , pub ClientDirectory : [ u16 ;261 ] , pub ClientBuildNu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:7971 [INFO] [stdout] | [INFO] [stdout] 1 | ...s : u16 , pub VRes : u16 , pub ColorDepth : u16 , pub ClientDirectory : [ u16 ;261 ] , pub ClientBuildNumber : u32 , pub ClientHardwar... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:8008 [INFO] [stdout] | [INFO] [stdout] 1 | ...orDepth : u16 , pub ClientDirectory : [ u16 ;261 ] , pub ClientBuildNumber : u32 , pub ClientHardwareId : u32 , pub ClientProductId : ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:8038 [INFO] [stdout] | [INFO] [stdout] 1 | ...ectory : [ u16 ;261 ] , pub ClientBuildNumber : u32 , pub ClientHardwareId : u32 , pub ClientProductId : u16 , pub OutBufCountHost : u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:8067 [INFO] [stdout] | [INFO] [stdout] 1 | ...lientBuildNumber : u32 , pub ClientHardwareId : u32 , pub ClientProductId : u16 , pub OutBufCountHost : u16 , pub OutBufCountClient : ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:8095 [INFO] [stdout] | [INFO] [stdout] 1 | ... ClientHardwareId : u32 , pub ClientProductId : u16 , pub OutBufCountHost : u16 , pub OutBufCountClient : u16 , pub OutBufLength : u16... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:8123 [INFO] [stdout] | [INFO] [stdout] 1 | ... ClientProductId : u16 , pub OutBufCountHost : u16 , pub OutBufCountClient : u16 , pub OutBufLength : u16 , pub DeviceId : [ u16 ;261 ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:8153 [INFO] [stdout] | [INFO] [stdout] 1 | ...b OutBufCountHost : u16 , pub OutBufCountClient : u16 , pub OutBufLength : u16 , pub DeviceId : [ u16 ;261 ] } impl WTSCLIENTW { } imp... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:8178 [INFO] [stdout] | [INFO] [stdout] 1 | ...b OutBufCountClient : u16 , pub OutBufLength : u16 , pub DeviceId : [ u16 ;261 ] } impl WTSCLIENTW { } impl :: std :: default :: Defau... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:10645 [INFO] [stdout] | [INFO] [stdout] 1 | ... } pub unsafe fn WTSCloseServer < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hserver : Param0 , ) { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:11095 [INFO] [stdout] | [INFO] [stdout] 1 | ... } pub unsafe fn WTSEnumerateSessionsW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hserver : Param0 , reserved : u32 , version : u32 , ppsessioninfo : * mut * mut WTS_SESSION_INFOW , pcount : * mut u32 , ) -> super::super::Foundation:: BOOL { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:12010 [INFO] [stdout] | [INFO] [stdout] 1 | ...nsupported target OS" ) ; } pub unsafe fn WTSFreeMemory < > ( pmemory : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:12397 [INFO] [stdout] | [INFO] [stdout] 1 | ... } pub unsafe fn WTSOpenServerW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , > ( pservername : Param0 , ) -> super::super::Foundation:: HANDLE { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:12931 [INFO] [stdout] | [INFO] [stdout] 1 | ... } pub unsafe fn WTSQuerySessionInformationW < 'a , Param0 : :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , > ( hserver : Param0 , sessionid : u32 , wtsinfoclass : WTS_INFO_CLASS , ppbuffer : * mut super::super::Foundation:: PWSTR , pbytesreturned : * mut u32 , ) -> super::super::Foundation:: BOOL { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14134 [INFO] [stdout] | [INFO] [stdout] 1 | ...td :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WTS_CONNECTSTATE_CLASS ( pub i32 ) ; pub const WTSActive : WTS_CONNECTSTA... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14182 [INFO] [stdout] | [INFO] [stdout] 1 | ... struct WTS_CONNECTSTATE_CLASS ( pub i32 ) ; pub const WTSActive : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 0i32 ) ; pub cons... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14263 [INFO] [stdout] | [INFO] [stdout] 1 | ..._CLASS = WTS_CONNECTSTATE_CLASS ( 0i32 ) ; pub const WTSConnected : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 1i32 ) ; pub con... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14347 [INFO] [stdout] | [INFO] [stdout] 1 | ...CLASS = WTS_CONNECTSTATE_CLASS ( 1i32 ) ; pub const WTSConnectQuery : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 2i32 ) ; pub c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14434 [INFO] [stdout] | [INFO] [stdout] 1 | ...TE_CLASS = WTS_CONNECTSTATE_CLASS ( 2i32 ) ; pub const WTSShadow : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 3i32 ) ; pub cons... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14515 [INFO] [stdout] | [INFO] [stdout] 1 | ...CLASS = WTS_CONNECTSTATE_CLASS ( 3i32 ) ; pub const WTSDisconnected : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 4i32 ) ; pub c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14602 [INFO] [stdout] | [INFO] [stdout] 1 | ...ATE_CLASS = WTS_CONNECTSTATE_CLASS ( 4i32 ) ; pub const WTSIdle : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 5i32 ) ; pub const... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14681 [INFO] [stdout] | [INFO] [stdout] 1 | ...TE_CLASS = WTS_CONNECTSTATE_CLASS ( 5i32 ) ; pub const WTSListen : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 6i32 ) ; pub cons... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14762 [INFO] [stdout] | [INFO] [stdout] 1 | ...TE_CLASS = WTS_CONNECTSTATE_CLASS ( 6i32 ) ; pub const WTSReset : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 7i32 ) ; pub const... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14842 [INFO] [stdout] | [INFO] [stdout] 1 | ...ATE_CLASS = WTS_CONNECTSTATE_CLASS ( 7i32 ) ; pub const WTSDown : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 8i32 ) ; pub const... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:14921 [INFO] [stdout] | [INFO] [stdout] 1 | ...ATE_CLASS = WTS_CONNECTSTATE_CLASS ( 8i32 ) ; pub const WTSInit : WTS_CONNECTSTATE_CLASS = WTS_CONNECTSTATE_CLASS ( 9i32 ) ; impl :: s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:15429 [INFO] [stdout] | [INFO] [stdout] 1 | ...:: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WTS_INFO_CLASS ( pub i32 ) ; pub const WTSInitialProgram : WTS_INFO_C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:15469 [INFO] [stdout] | [INFO] [stdout] 1 | ... ) ] pub struct WTS_INFO_CLASS ( pub i32 ) ; pub const WTSInitialProgram : WTS_INFO_CLASS = WTS_INFO_CLASS ( 0i32 ) ; pub const WTSApp... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:15542 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 0i32 ) ; pub const WTSApplicationName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 1i32 ) ; pub const WTSWor... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:15616 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 1i32 ) ; pub const WTSWorkingDirectory : WTS_INFO_CLASS = WTS_INFO_CLASS ( 2i32 ) ; pub const WTSOE... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:15691 [INFO] [stdout] | [INFO] [stdout] 1 | ...ory : WTS_INFO_CLASS = WTS_INFO_CLASS ( 2i32 ) ; pub const WTSOEMId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 3i32 ) ; pub const WTSSessionI... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:15755 [INFO] [stdout] | [INFO] [stdout] 1 | ...d : WTS_INFO_CLASS = WTS_INFO_CLASS ( 3i32 ) ; pub const WTSSessionId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 4i32 ) ; pub const WTSUserNa... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:15823 [INFO] [stdout] | [INFO] [stdout] 1 | ...Id : WTS_INFO_CLASS = WTS_INFO_CLASS ( 4i32 ) ; pub const WTSUserName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 5i32 ) ; pub const WTSWinSta... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:15890 [INFO] [stdout] | [INFO] [stdout] 1 | ...: WTS_INFO_CLASS = WTS_INFO_CLASS ( 5i32 ) ; pub const WTSWinStationName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 6i32 ) ; pub const WTSDom... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:15963 [INFO] [stdout] | [INFO] [stdout] 1 | ...e : WTS_INFO_CLASS = WTS_INFO_CLASS ( 6i32 ) ; pub const WTSDomainName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 7i32 ) ; pub const WTSConne... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16032 [INFO] [stdout] | [INFO] [stdout] 1 | ... : WTS_INFO_CLASS = WTS_INFO_CLASS ( 7i32 ) ; pub const WTSConnectState : WTS_INFO_CLASS = WTS_INFO_CLASS ( 8i32 ) ; pub const WTSClie... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16103 [INFO] [stdout] | [INFO] [stdout] 1 | ...WTS_INFO_CLASS = WTS_INFO_CLASS ( 8i32 ) ; pub const WTSClientBuildNumber : WTS_INFO_CLASS = WTS_INFO_CLASS ( 9i32 ) ; pub const WTSCl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16179 [INFO] [stdout] | [INFO] [stdout] 1 | ...r : WTS_INFO_CLASS = WTS_INFO_CLASS ( 9i32 ) ; pub const WTSClientName : WTS_INFO_CLASS = WTS_INFO_CLASS ( 10i32 ) ; pub const WTSClie... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16249 [INFO] [stdout] | [INFO] [stdout] 1 | ...WTS_INFO_CLASS = WTS_INFO_CLASS ( 10i32 ) ; pub const WTSClientDirectory : WTS_INFO_CLASS = WTS_INFO_CLASS ( 11i32 ) ; pub const WTSCl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16324 [INFO] [stdout] | [INFO] [stdout] 1 | ...WTS_INFO_CLASS = WTS_INFO_CLASS ( 11i32 ) ; pub const WTSClientProductId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 12i32 ) ; pub const WTSCl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16399 [INFO] [stdout] | [INFO] [stdout] 1 | ...WTS_INFO_CLASS = WTS_INFO_CLASS ( 12i32 ) ; pub const WTSClientHardwareId : WTS_INFO_CLASS = WTS_INFO_CLASS ( 13i32 ) ; pub const WTSC... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16475 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 13i32 ) ; pub const WTSClientAddress : WTS_INFO_CLASS = WTS_INFO_CLASS ( 14i32 ) ; pub const WTSCli... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16548 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 14i32 ) ; pub const WTSClientDisplay : WTS_INFO_CLASS = WTS_INFO_CLASS ( 15i32 ) ; pub const WTSCli... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16621 [INFO] [stdout] | [INFO] [stdout] 1 | ...TS_INFO_CLASS = WTS_INFO_CLASS ( 15i32 ) ; pub const WTSClientProtocolType : WTS_INFO_CLASS = WTS_INFO_CLASS ( 16i32 ) ; pub const WTS... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16699 [INFO] [stdout] | [INFO] [stdout] 1 | ...e : WTS_INFO_CLASS = WTS_INFO_CLASS ( 16i32 ) ; pub const WTSIdleTime : WTS_INFO_CLASS = WTS_INFO_CLASS ( 17i32 ) ; pub const WTSLogon... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16767 [INFO] [stdout] | [INFO] [stdout] 1 | ... : WTS_INFO_CLASS = WTS_INFO_CLASS ( 17i32 ) ; pub const WTSLogonTime : WTS_INFO_CLASS = WTS_INFO_CLASS ( 18i32 ) ; pub const WTSIncom... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16836 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 18i32 ) ; pub const WTSIncomingBytes : WTS_INFO_CLASS = WTS_INFO_CLASS ( 19i32 ) ; pub const WTSOut... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16909 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 19i32 ) ; pub const WTSOutgoingBytes : WTS_INFO_CLASS = WTS_INFO_CLASS ( 20i32 ) ; pub const WTSInc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:16982 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 20i32 ) ; pub const WTSIncomingFrames : WTS_INFO_CLASS = WTS_INFO_CLASS ( 21i32 ) ; pub const WTSOu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17056 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 21i32 ) ; pub const WTSOutgoingFrames : WTS_INFO_CLASS = WTS_INFO_CLASS ( 22i32 ) ; pub const WTSCl... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17130 [INFO] [stdout] | [INFO] [stdout] 1 | ... : WTS_INFO_CLASS = WTS_INFO_CLASS ( 22i32 ) ; pub const WTSClientInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 23i32 ) ; pub const WTSSess... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17200 [INFO] [stdout] | [INFO] [stdout] 1 | ...: WTS_INFO_CLASS = WTS_INFO_CLASS ( 23i32 ) ; pub const WTSSessionInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 24i32 ) ; pub const WTSSess... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17271 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 24i32 ) ; pub const WTSSessionInfoEx : WTS_INFO_CLASS = WTS_INFO_CLASS ( 25i32 ) ; pub const WTSCon... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17344 [INFO] [stdout] | [INFO] [stdout] 1 | ... : WTS_INFO_CLASS = WTS_INFO_CLASS ( 25i32 ) ; pub const WTSConfigInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 26i32 ) ; pub const WTSVali... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17414 [INFO] [stdout] | [INFO] [stdout] 1 | ... WTS_INFO_CLASS = WTS_INFO_CLASS ( 26i32 ) ; pub const WTSValidationInfo : WTS_INFO_CLASS = WTS_INFO_CLASS ( 27i32 ) ; pub const WTSSe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17488 [INFO] [stdout] | [INFO] [stdout] 1 | ...WTS_INFO_CLASS = WTS_INFO_CLASS ( 27i32 ) ; pub const WTSSessionAddressV4 : WTS_INFO_CLASS = WTS_INFO_CLASS ( 28i32 ) ; pub const WTSI... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17564 [INFO] [stdout] | [INFO] [stdout] 1 | ...WTS_INFO_CLASS = WTS_INFO_CLASS ( 28i32 ) ; pub const WTSIsRemoteSession : WTS_INFO_CLASS = WTS_INFO_CLASS ( 29i32 ) ; impl :: std :: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17935 [INFO] [stdout] | [INFO] [stdout] 1 | ...lone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WTS_SESSION_INFOW { pub SessionId : u32 , pub pWinStationName : super:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17966 [INFO] [stdout] | [INFO] [stdout] 1 | ...Copy ) ] # [ repr ( C ) ] pub struct WTS_SESSION_INFOW { pub SessionId : u32 , pub pWinStationName : super::super::Foundation:: PWSTR ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:17988 [INFO] [stdout] | [INFO] [stdout] 1 | ...S_SESSION_INFOW { pub SessionId : u32 , pub pWinStationName : super::super::Foundation:: PWSTR , pub State : WTS_CONNECTSTATE_CLASS } ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:18045 [INFO] [stdout] | [INFO] [stdout] 1 | ...nStationName : super::super::Foundation:: PWSTR , pub State : WTS_CONNECTSTATE_CLASS } impl WTS_SESSION_INFOW { } impl :: std :: defau... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:19335 [INFO] [stdout] | [INFO] [stdout] 1 | ...std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct COMPUTER_NAME_FORMAT ( pub i32 ) ; pub const ComputerNameNetBIOS : COMPU... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:19381 [INFO] [stdout] | [INFO] [stdout] 1 | ...truct COMPUTER_NAME_FORMAT ( pub i32 ) ; pub const ComputerNameNetBIOS : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 0i32 ) ; pub co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:19468 [INFO] [stdout] | [INFO] [stdout] 1 | ...RMAT = COMPUTER_NAME_FORMAT ( 0i32 ) ; pub const ComputerNameDnsHostname : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 1i32 ) ; pub ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:19559 [INFO] [stdout] | [INFO] [stdout] 1 | ...ORMAT = COMPUTER_NAME_FORMAT ( 1i32 ) ; pub const ComputerNameDnsDomain : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 2i32 ) ; pub c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:19648 [INFO] [stdout] | [INFO] [stdout] 1 | ...T = COMPUTER_NAME_FORMAT ( 2i32 ) ; pub const ComputerNameDnsFullyQualified : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 3i32 ) ; p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:19745 [INFO] [stdout] | [INFO] [stdout] 1 | ...AT = COMPUTER_NAME_FORMAT ( 3i32 ) ; pub const ComputerNamePhysicalNetBIOS : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 4i32 ) ; pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:19840 [INFO] [stdout] | [INFO] [stdout] 1 | ... = COMPUTER_NAME_FORMAT ( 4i32 ) ; pub const ComputerNamePhysicalDnsHostname : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 5i32 ) ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:19939 [INFO] [stdout] | [INFO] [stdout] 1 | ...T = COMPUTER_NAME_FORMAT ( 5i32 ) ; pub const ComputerNamePhysicalDnsDomain : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 6i32 ) ; p... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:20036 [INFO] [stdout] | [INFO] [stdout] 1 | ...COMPUTER_NAME_FORMAT ( 6i32 ) ; pub const ComputerNamePhysicalDnsFullyQualified : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 7i32 )... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:20141 [INFO] [stdout] | [INFO] [stdout] 1 | ...E_FORMAT = COMPUTER_NAME_FORMAT ( 7i32 ) ; pub const ComputerNameMax : COMPUTER_NAME_FORMAT = COMPUTER_NAME_FORMAT ( 8i32 ) ; impl :: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:20446 [INFO] [stdout] | [INFO] [stdout] 1 | ... } pub unsafe fn GetComputerNameExW < > ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : super::super::Foundation:: PWSTR , nsize : * mut u32 , ) -> super::super::Foundation:: BOOL { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> /opt/rustwide/target/debug/build/rdc_connections-5980fcbeb2ea9ed8/out/windows.rs:1:21289 [INFO] [stdout] | [INFO] [stdout] 1 | ... { pub unsafe fn GetUserNameW < > ( lpbuffer : super::super::Foundation:: PWSTR , pcbbuffer : * mut u32 , ) -> super::super::Foundation:: BOOL { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 104 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.93s [INFO] running `Command { std: "docker" "inspect" "4e82aa2167bc2b52185015a565b8748ad875a2c826068beb2a7808946e22e11b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e82aa2167bc2b52185015a565b8748ad875a2c826068beb2a7808946e22e11b", kill_on_drop: false }` [INFO] [stdout] 4e82aa2167bc2b52185015a565b8748ad875a2c826068beb2a7808946e22e11b