deelevate 0.2.0

Drop privileges on Windows
Build #5276572022-03-17T23:52:29.600676+00:00
# rustc version
rustc 1.61.0-nightly (461e80780 2022-03-16)# docs.rs version
docsrs 0.6.0 (5188c7e 2022-03-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/deelevate-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/deelevate-0.2.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220316-1.61.0-nightly-461e80780\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f60160918b130dc4e5ccbd25a2c87f5bbbf21f6de3c63803aacd6a7cc596806e
[INFO] running `Command { std: "docker" "start" "-a" "f60160918b130dc4e5ccbd25a2c87f5bbbf21f6de3c63803aacd6a7cc596806e", kill_on_drop: false }`
[INFO] [stderr]  Documenting deelevate v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/lib.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/bridge.rs:9:14
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::os::windows::prelude::*;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/bridge.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::shared::minwindef::DWORD;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bridge.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::um::consoleapi::{GetConsoleMode, SetConsoleMode};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bridge.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::consoleapi::{ReadConsoleW, WriteConsoleW};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bridge.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::fileapi::GetFileType;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bridge.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::um::winbase::FILE_TYPE_CHAR;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bridge.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::um::wincon::{
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/bridge.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 | use winapi::um::wincontypes::COORD;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/command.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::os::windows::ffi::OsStrExt;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/command.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::shared::minwindef::{BOOL, DWORD, LPVOID};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/command.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::um::combaseapi::CoInitializeEx;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/command.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/command.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::objbase::{COINIT_APARTMENTTHREADED, COINIT_DISABLE_OLE1DDE};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/command.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::um::processthreadsapi::{
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/command.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::um::shellapi::{ShellExecuteExW, SEE_MASK_NOCLOSEPROCESS, SHELLEXECUTEINFOW};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/command.rs:19:13
[INFO] [stderr]    |
[INFO] [stderr] 19 | use winapi::um::userenv::{CreateEnvironmentBlock, DestroyEnvironmentBlock};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/command.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 | use winapi::um::winbase::{
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/command.rs:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 | use winapi::um::winnt::{HANDLE, LPCWSTR, LPWSTR};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/command.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 26 | use winapi::um::winuser::{SW_HIDE, SW_SHOWNORMAL};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/pipe.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::os::windows::prelude::*;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/pipe.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::shared::winerror::ERROR_PIPE_CONNECTED;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/pipe.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/pipe.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::fileapi::{CreateFileW, FlushFileBuffers, ReadFile, WriteFile, OPEN_EXISTING};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/pipe.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::um::handleapi::{
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/pipe.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/pipe.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::namedpipeapi::{ConnectNamedPipe, CreateNamedPipeW, CreatePipe};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/pipe.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::um::processthreadsapi::GetCurrentProcess;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/pipe.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::um::processthreadsapi::GetCurrentProcessId;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/pipe.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr] 17 | use winapi::um::winbase::*;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/pipe.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use winapi::um::winnt::{DUPLICATE_SAME_ACCESS, GENERIC_READ, GENERIC_WRITE, HANDLE};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/process.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::shared::minwindef::DWORD;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/process.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/process.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::processthreadsapi::{GetExitCodeProcess, OpenProcess};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/process.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::um::synchapi::WaitForSingleObject;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/process.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::winbase::{INFINITE, WAIT_FAILED};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/process.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::winnt::HANDLE;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/procthreadattr.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::shared::minwindef::DWORD;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/procthreadattr.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::um::processthreadsapi::*;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/psuedocon.rs:5:14
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::os::windows::io::AsRawHandle;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/psuedocon.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::shared::minwindef::DWORD;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/psuedocon.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::shared::winerror::{HRESULT, S_OK};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/psuedocon.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::um::handleapi::*;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/psuedocon.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::um::wincon::COORD;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/psuedocon.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::um::winnt::HANDLE;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/sid.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::shared::minwindef::DWORD;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/sid.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use winapi::shared::winerror::ERROR_INSUFFICIENT_BUFFER;
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/sid.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/sid.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::securitybaseapi::{CreateWellKnownSid, GetLengthSid, IsWellKnownSid};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/sid.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::um::winnt::SID;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/sid.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::um::winnt::WELL_KNOWN_SID_TYPE;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/token.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::shared::minwindef::{BOOL, DWORD};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/token.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::shared::winerror::{ERROR_INSUFFICIENT_BUFFER, ERROR_SUCCESS};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/token.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::accctrl::{
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::um::aclapi::SetEntriesInAclW;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::um::minwinbase::LPTR;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::um::processthreadsapi::{GetCurrentProcess, OpenProcessToken};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr] 17 | use winapi::um::securitybaseapi::{
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 | use winapi::um::winbase::{LocalAlloc, LocalFree};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 | use winapi::um::winnt::{
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:31:13
[INFO] [stderr]    |
[INFO] [stderr] 31 | use winapi::um::winsafer::{
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/token.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 | use winapi::um::winuser::{GetShellWindow, GetWindowThreadProcessId};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/bridge.rs:44:57
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl BridgePtyClient {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn run(&self, mut command: Command) -> IoResult<DWORD> {
[INFO] [stderr]    |                                                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/bridge.rs:88:24
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub struct BridgeServer {
[INFO] [stderr]    |                        - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 88 |     input_mode: Option<DWORD>,
[INFO] [stderr]    |                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/bridge.rs:89:25
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub struct BridgeServer {
[INFO] [stderr]    |                        - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 89 |     output_mode: Option<DWORD>,
[INFO] [stderr]    |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/bridge.rs:110:52
[INFO] [stderr]     |
[INFO] [stderr] 110 | fn get_console_mode(pipe: &PipeHandle) -> IoResult<DWORD> {
[INFO] [stderr]     |                    -                               ^^^^^ not found in this scope
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/bridge.rs:123:46
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn set_console_mode(pipe: &PipeHandle, mode: DWORD) -> IoResult<()> {
[INFO] [stderr]     |                                              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stderr]    --> src/bridge.rs:158:21
[INFO] [stderr]     |
[INFO] [stderr] 158 | fn is_pty_stream<F: AsRawHandle>(f: &F) -> bool {
[INFO] [stderr]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/bridge.rs:310:55
[INFO] [stderr]     |
[INFO] [stderr] 163 | impl BridgeServer {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 310 |     pub fn serve(mut self, proc: Process) -> IoResult<DWORD> {
[INFO] [stderr]     |                                                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/command.rs:31:17
[INFO] [stderr]    |
[INFO] [stderr] 31 |         hToken: HANDLE,
[INFO] [stderr]    |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/command.rs:32:23
[INFO] [stderr]    |
[INFO] [stderr] 32 |         dwLogonFlags: DWORD,
[INFO] [stderr]    |                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/command.rs:33:28
[INFO] [stderr]    |
[INFO] [stderr] 33 |         lpApplicationName: LPCWSTR,
[INFO] [stderr]    |                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]   --> src/command.rs:34:24
[INFO] [stderr]    |
[INFO] [stderr] 34 |         lpCommandLine: LPWSTR,
[INFO] [stderr]    |                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/command.rs:35:26
[INFO] [stderr]    |
[INFO] [stderr] 35 |         dwCreationFlags: DWORD,
[INFO] [stderr]    |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/command.rs:36:24
[INFO] [stderr]    |
[INFO] [stderr] 36 |         lpEnvironment: LPVOID,
[INFO] [stderr]    |                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]   --> src/command.rs:37:29
[INFO] [stderr]    |
[INFO] [stderr] 37 |         lpCurrentDirectory: LPCWSTR,
[INFO] [stderr]    |                             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `STARTUPINFOW` in this scope
[INFO] [stderr]   --> src/command.rs:38:29
[INFO] [stderr]    |
[INFO] [stderr] 38 |         lpStartupInfo: *mut STARTUPINFOW,
[INFO] [stderr]    |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope
[INFO] [stderr]   --> src/command.rs:39:36
[INFO] [stderr]    |
[INFO] [stderr] 39 |         lpProcessInformation: *mut PROCESS_INFORMATION,
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]   --> src/command.rs:40:10
[INFO] [stderr]    |
[INFO] [stderr] 40 |     ) -> BOOL;
[INFO] [stderr]    |          ^^^^ help: a builtin type with a similar name exists: `bool`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/command.rs:43:33
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub struct EnvironmentBlock(pub LPVOID);
[INFO] [stderr]    |                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope
[INFO] [stderr]    --> src/command.rs:103:17
[INFO] [stderr]     |
[INFO] [stderr] 103 | struct ProcInfo(PROCESS_INFORMATION);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `STARTUPINFOW` in this scope
[INFO] [stderr]    --> src/command.rs:217:36
[INFO] [stderr]     |
[INFO] [stderr] 217 |     fn make_startup_info(&self) -> STARTUPINFOW {
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/pipe.rs:22:23
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct PipeHandle(HANDLE);
[INFO] [stderr]    |                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/pipe.rs:41:32
[INFO] [stderr]    |
[INFO] [stderr] 41 |     pub fn as_handle(&self) -> HANDLE {
[INFO] [stderr]    |                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/pipe.rs:94:29
[INFO] [stderr]    |
[INFO] [stderr] 94 |         struct HandleHolder(HANDLE);
[INFO] [stderr]    |                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stderr]    --> src/pipe.rs:189:6
[INFO] [stderr]     |
[INFO] [stderr] 189 | impl AsRawHandle for PipeHandle {
[INFO] [stderr]     |      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RawHandle` in this scope
[INFO] [stderr]    --> src/pipe.rs:190:32
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn as_raw_handle(&self) -> RawHandle {
[INFO] [stderr]     |                                ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/process.rs:12:20
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct Process(HANDLE);
[INFO] [stderr]    |                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/process.rs:29:25
[INFO] [stderr]    |
[INFO] [stderr] 29 |         desired_access: DWORD,
[INFO] [stderr]    |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/process.rs:31:14
[INFO] [stderr]    |
[INFO] [stderr] 31 |         pid: DWORD,
[INFO] [stderr]    |              ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/process.rs:45:32
[INFO] [stderr]    |
[INFO] [stderr] 45 |     pub fn as_handle(&self) -> HANDLE {
[INFO] [stderr]    |                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/process.rs:51:30
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pub fn with_handle(proc: HANDLE) -> Self {
[INFO] [stderr]    |                              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/process.rs:57:45
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl Process {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 57 |     pub fn wait_for(&self, duration: Option<DWORD>) -> IoResult<DWORD> {
[INFO] [stderr]    |                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/process.rs:57:65
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl Process {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 57 |     pub fn wait_for(&self, duration: Option<DWORD>) -> IoResult<DWORD> {
[INFO] [stderr]    |                                                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/process.rs:70:41
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl Process {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stderr] ...
[INFO] [stderr] 70 |     pub fn exit_code(&self) -> IoResult<DWORD> {
[INFO] [stderr]    |                                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/procthreadattr.rs:16:42
[INFO] [stderr]    |
[INFO] [stderr] 16 |     pub fn with_capacity(num_attributes: DWORD) -> IoResult<Self> {
[INFO] [stderr]    |                                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPPROC_THREAD_ATTRIBUTE_LIST` in this scope
[INFO] [stderr]   --> src/procthreadattr.rs:46:37
[INFO] [stderr]    |
[INFO] [stderr] 46 |     pub fn as_mut_ptr(&mut self) -> LPPROC_THREAD_ATTRIBUTE_LIST {
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:13:18
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub type HPCON = HANDLE;
[INFO] [stderr]    |                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `COORD` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:17:15
[INFO] [stderr]    |
[INFO] [stderr] 17 |         size: COORD,
[INFO] [stderr]    |               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:18:17
[INFO] [stderr]    |
[INFO] [stderr] 18 |         hInput: HANDLE,
[INFO] [stderr]    |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:19:18
[INFO] [stderr]    |
[INFO] [stderr] 19 |         hOutput: HANDLE,
[INFO] [stderr]    |                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:20:16
[INFO] [stderr]    |
[INFO] [stderr] 20 |         flags: DWORD,
[INFO] [stderr]    |                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:22:10
[INFO] [stderr]    |
[INFO] [stderr] 22 |     ) -> HRESULT,
[INFO] [stderr]    |          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `COORD` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:23:50
[INFO] [stderr]    |
[INFO] [stderr] 23 |     pub fn ResizePseudoConsole(hpc: HPCON, size: COORD) -> HRESULT,
[INFO] [stderr]    |                                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:23:60
[INFO] [stderr]    |
[INFO] [stderr] 23 |     pub fn ResizePseudoConsole(hpc: HPCON, size: COORD) -> HRESULT,
[INFO] [stderr]    |                                                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `COORD` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:62:22
[INFO] [stderr]    |
[INFO] [stderr] 62 |     pub fn new(size: COORD, input: PipeHandle, output: PipeHandle) -> IoResult<Self> {
[INFO] [stderr]    |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `COORD` in this scope
[INFO] [stderr]   --> src/psuedocon.rs:83:32
[INFO] [stderr]    |
[INFO] [stderr] 83 |     pub fn resize(&self, size: COORD) -> IoResult<()> {
[INFO] [stderr]    |                                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SID` in this scope
[INFO] [stderr]   --> src/sid.rs:12:31
[INFO] [stderr]    |
[INFO] [stderr] 12 |     fn as_sid(self) -> *const SID;
[INFO] [stderr]    |                               ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SID` in this scope
[INFO] [stderr]   --> src/sid.rs:15:23
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl AsSid for *const SID {
[INFO] [stderr]    |                       ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SID` in this scope
[INFO] [stderr]   --> src/sid.rs:16:31
[INFO] [stderr]    |
[INFO] [stderr] 16 |     fn as_sid(self) -> *const SID {
[INFO] [stderr]    |                               ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WELL_KNOWN_SID_TYPE` in this scope
[INFO] [stderr]   --> src/sid.rs:22:50
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub fn is_well_known<S: AsSid>(sid: S, sid_type: WELL_KNOWN_SID_TYPE) -> bool {
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/sid.rs:27:44
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub fn get_length_sid<S: AsSid>(sid: S) -> DWORD {
[INFO] [stderr]    |                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WELL_KNOWN_SID_TYPE` in this scope
[INFO] [stderr]   --> src/sid.rs:38:38
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub fn with_well_known(sid_type: WELL_KNOWN_SID_TYPE) -> IoResult<Self> {
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SID` in this scope
[INFO] [stderr]   --> src/sid.rs:77:31
[INFO] [stderr]    |
[INFO] [stderr] 77 |     fn as_sid(self) -> *const SID {
[INFO] [stderr]    |                               ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TOKEN_MANDATORY_LABEL` in this scope
[INFO] [stderr]   --> src/token.rs:69:28
[INFO] [stderr]    |
[INFO] [stderr] 69 |     fn as_label(&self) -> &TOKEN_MANDATORY_LABEL {
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SID` in this scope
[INFO] [stderr]   --> src/token.rs:74:29
[INFO] [stderr]    |
[INFO] [stderr] 74 |     fn sid(&self) -> *const SID {
[INFO] [stderr]    |                             ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]   --> src/token.rs:96:23
[INFO] [stderr]    |
[INFO] [stderr] 96 |     pub(crate) token: HANDLE,
[INFO] [stderr]    |                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PSECURITY_DESCRIPTOR` in this scope
[INFO] [stderr]    --> src/token.rs:107:42
[INFO] [stderr]     |
[INFO] [stderr] 107 | pub(crate) struct SecurityDescriptor(pub PSECURITY_DESCRIPTOR);
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SAFER_LEVEL_HANDLE` in this scope
[INFO] [stderr]    --> src/token.rs:241:28
[INFO] [stderr]     |
[INFO] [stderr] 241 |         struct SaferHandle(SAFER_LEVEL_HANDLE);
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TOKEN_TYPE` in this scope
[INFO] [stderr]    --> src/token.rs:302:37
[INFO] [stderr]     |
[INFO] [stderr] 302 |     fn duplicate(&self, token_type: TOKEN_TYPE) -> IoResult<Self> {
[INFO] [stderr]     |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TOKEN_ELEVATION_TYPE` in this scope
[INFO] [stderr]    --> src/token.rs:441:42
[INFO] [stderr]     |
[INFO] [stderr] 116 | impl Token {
[INFO] [stderr]     |     - help: you might be missing a type parameter: `<TOKEN_ELEVATION_TYPE>`
[INFO] [stderr] ...
[INFO] [stderr] 441 |     fn elevation_type(&self) -> IoResult<TOKEN_ELEVATION_TYPE> {
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not document `deelevate`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-type staticlib --crate-name deelevate src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=16d4d2b60a42f86c -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern lazy_static=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liblazy_static-21f48bfcdb21f88c.rmeta --extern pathsearch=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libpathsearch-f98d9386e3fd8080.rmeta --extern rand=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librand-be1dd934e7c27111.rmeta --extern shared_library=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libshared_library-15601eb4118bf9dc.rmeta --extern termwiz=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libtermwiz-b794f28db00e4120.rmeta --extern winapi=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libwinapi-7311d2840c89edd6.rmeta --extern-html-root-url 'lazy_static=https://docs.rs/lazy_static/1.4.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'pathsearch=https://docs.rs/pathsearch/0.2.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'rand=https://docs.rs/rand/0.8.5/x86_64-unknown-linux-gnu' --extern-html-root-url 'shared_library=https://docs.rs/shared_library/0.1.9/x86_64-unknown-linux-gnu' --extern-html-root-url 'termwiz=https://docs.rs/termwiz/0.15.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'winapi=https://docs.rs/winapi/0.3.9/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20220316-1.61.0-nightly-461e80780 --static-root-path / --cap-lints warn --disable-per-crate-search --crate-version 0.2.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "f60160918b130dc4e5ccbd25a2c87f5bbbf21f6de3c63803aacd6a7cc596806e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f60160918b130dc4e5ccbd25a2c87f5bbbf21f6de3c63803aacd6a7cc596806e", kill_on_drop: false }`
[INFO] [stdout] f60160918b130dc4e5ccbd25a2c87f5bbbf21f6de3c63803aacd6a7cc596806e