[INFO] fetching crate deelevate 0.2.0... [INFO] testing deelevate-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate deelevate 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate deelevate 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate deelevate 0.2.0 [INFO] finished tweaking crates.io crate deelevate 0.2.0 [INFO] tweaked toml for crates.io crate deelevate 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate deelevate 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded filedescriptor v0.8.2 [INFO] [stderr] Downloaded pathsearch v0.2.0 [INFO] [stderr] Downloaded vtparse v0.6.0 [INFO] [stderr] Downloaded termwiz v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf263f40ab65452e9c5f04358952d45220665f06e6d76f1abd473bc45a50a286 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cf263f40ab65452e9c5f04358952d45220665f06e6d76f1abd473bc45a50a286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf263f40ab65452e9c5f04358952d45220665f06e6d76f1abd473bc45a50a286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf263f40ab65452e9c5f04358952d45220665f06e6d76f1abd473bc45a50a286", kill_on_drop: false }` [INFO] [stdout] cf263f40ab65452e9c5f04358952d45220665f06e6d76f1abd473bc45a50a286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0eb33375c2c8438db88402ec71b4b783f74844d9f6e9c769fefdc5208e97381f [INFO] running `Command { std: "docker" "start" "-a" "0eb33375c2c8438db88402ec71b4b783f74844d9f6e9c769fefdc5208e97381f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling memmem v0.1.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling pathsearch v0.2.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling vtparse v0.6.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling filedescriptor v0.8.2 [INFO] [stderr] Compiling termwiz v0.15.0 [INFO] [stderr] Compiling deelevate v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/bridge.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bridge.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bridge.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::consoleapi::{GetConsoleMode, SetConsoleMode}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bridge.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::consoleapi::{ReadConsoleW, WriteConsoleW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bridge.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::fileapi::GetFileType; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bridge.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winbase::FILE_TYPE_CHAR; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bridge.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::wincon::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bridge.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::wincontypes::COORD; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/command.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/command.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::{BOOL, DWORD, LPVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/command.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::combaseapi::CoInitializeEx; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/command.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/command.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::objbase::{COINIT_APARTMENTTHREADED, COINIT_DISABLE_OLE1DDE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/command.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/command.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::shellapi::{ShellExecuteExW, SEE_MASK_NOCLOSEPROCESS, SHELLEXECUTEINFOW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/command.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::userenv::{CreateEnvironmentBlock, DestroyEnvironmentBlock}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/command.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winbase::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/command.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winnt::{HANDLE, LPCWSTR, LPWSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/command.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winuser::{SW_HIDE, SW_SHOWNORMAL}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/pipe.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/pipe.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::winerror::ERROR_PIPE_CONNECTED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::fileapi::{CreateFileW, FlushFileBuffers, ReadFile, WriteFile, OPEN_EXISTING}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::handleapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::namedpipeapi::{ConnectNamedPipe, CreateNamedPipeW, CreatePipe}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::processthreadsapi::GetCurrentProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::processthreadsapi::GetCurrentProcessId; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winnt::{DUPLICATE_SAME_ACCESS, GENERIC_READ, GENERIC_WRITE, HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::processthreadsapi::{GetExitCodeProcess, OpenProcess}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::synchapi::WaitForSingleObject; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winbase::{INFINITE, WAIT_FAILED}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/procthreadattr.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/procthreadattr.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/psuedocon.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::io::AsRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/psuedocon.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/psuedocon.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::winerror::{HRESULT, S_OK}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/psuedocon.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::handleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/psuedocon.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::wincon::COORD; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/psuedocon.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/sid.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/sid.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::winerror::ERROR_INSUFFICIENT_BUFFER; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/sid.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/sid.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::securitybaseapi::{CreateWellKnownSid, GetLengthSid, IsWellKnownSid}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/sid.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::SID; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/sid.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::WELL_KNOWN_SID_TYPE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/token.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{BOOL, DWORD}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/token.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::winerror::{ERROR_INSUFFICIENT_BUFFER, ERROR_SUCCESS}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::accctrl::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::aclapi::SetEntriesInAclW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::minwinbase::LPTR; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::processthreadsapi::{GetCurrentProcess, OpenProcessToken}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::securitybaseapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winbase::{LocalAlloc, LocalFree}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::winsafer::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::winuser::{GetShellWindow, GetWindowThreadProcessId}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/pipe.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { winapi::um::ioapiset::CancelIoEx(handle.0, null_mut()) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/bridge.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bridge.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 27 | impl BridgePtyClient { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn run(&self, mut command: Command) -> IoResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bridge.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct BridgeServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 88 | input_mode: Option, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bridge.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct BridgeServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | output_mode: Option, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bridge.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_console_mode(pipe: &PipeHandle) -> IoResult { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleMode` in this scope [INFO] [stdout] --> src/bridge.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let res = unsafe { GetConsoleMode(pipe.as_handle(), &mut mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bridge.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | fn set_console_mode(pipe: &PipeHandle, mode: DWORD) -> IoResult<()> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/bridge.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | let res = unsafe { SetConsoleMode(pipe.as_handle(), mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteConsoleW` in this scope [INFO] [stdout] --> src/bridge.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | WriteConsoleW( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stdout] --> src/bridge.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | fn is_pty_stream(f: &F) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileType` in this scope [INFO] [stdout] --> src/bridge.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | unsafe { GetFileType(handle as _) == FILE_TYPE_CHAR } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_TYPE_CHAR` in this scope [INFO] [stdout] --> src/bridge.rs:160:42 [INFO] [stdout] | [INFO] [stdout] 160 | unsafe { GetFileType(handle as _) == FILE_TYPE_CHAR } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_VIRTUAL_TERMINAL_INPUT` in this scope [INFO] [stdout] --> src/bridge.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | ENABLE_VIRTUAL_TERMINAL_INPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/bridge.rs:254:35 [INFO] [stdout] | [INFO] [stdout] 254 | let mut console_info: CONSOLE_SCREEN_BUFFER_INFO = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleScreenBufferInfo` in this scope [INFO] [stdout] --> src/bridge.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | let res = unsafe { GetConsoleScreenBufferInfo(conout.as_handle(), &mut console_info) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_PROCESSED_OUTPUT` in this scope [INFO] [stdout] --> src/bridge.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | ENABLE_PROCESSED_OUTPUT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_WRAP_AT_EOL_OUTPUT` in this scope [INFO] [stdout] --> src/bridge.rs:299:23 [INFO] [stdout] | [INFO] [stdout] 299 | | ENABLE_WRAP_AT_EOL_OUTPUT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_VIRTUAL_TERMINAL_PROCESSING` in this scope [INFO] [stdout] --> src/bridge.rs:300:23 [INFO] [stdout] | [INFO] [stdout] 300 | | ENABLE_VIRTUAL_TERMINAL_PROCESSING [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DISABLE_NEWLINE_AUTO_RETURN` in this scope [INFO] [stdout] --> src/bridge.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | | DISABLE_NEWLINE_AUTO_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bridge.rs:310:55 [INFO] [stdout] | [INFO] [stdout] 163 | impl BridgeServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn serve(mut self, proc: Process) -> IoResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadConsoleW` in this scope [INFO] [stdout] --> src/bridge.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | ReadConsoleW( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/command.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | hToken: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/command.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | dwLogonFlags: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/command.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | lpApplicationName: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/command.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | lpCommandLine: LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/command.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | dwCreationFlags: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/command.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | lpEnvironment: LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/command.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | lpCurrentDirectory: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> src/command.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | lpStartupInfo: *mut STARTUPINFOW, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/command.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | lpProcessInformation: *mut PROCESS_INFORMATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/command.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | ) -> BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/command.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct EnvironmentBlock(pub LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyEnvironmentBlock` in this scope [INFO] [stdout] --> src/command.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct EnvironmentBlock(pub LPVOID); [INFO] [stdout] | ---------------------------------------- similarly named tuple struct `EnvironmentBlock` defined here [INFO] [stdout] ... [INFO] [stdout] 47 | DestroyEnvironmentBlock(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `EnvironmentBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEnvironmentBlock` in this scope [INFO] [stdout] --> src/command.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct EnvironmentBlock(pub LPVOID); [INFO] [stdout] | ---------------------------------------- similarly named tuple struct `EnvironmentBlock` defined here [INFO] [stdout] ... [INFO] [stdout] 59 | if unsafe { CreateEnvironmentBlock(&mut block, token.token, inherit as _) } != 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `EnvironmentBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/command.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | struct ProcInfo(PROCESS_INFORMATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/command.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | CloseHandle(self.0.hProcess); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/command.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | CloseHandle(self.0.hThread); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> src/command.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | fn make_startup_info(&self) -> STARTUPINFOW { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> src/command.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | let mut si: STARTUPINFOW = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> src/command.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 144 | impl Command { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 219 | si.cb = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STARTF_USESHOWWINDOW` in this scope [INFO] [stdout] --> src/command.rs:223:27 [INFO] [stdout] | [INFO] [stdout] 223 | si.dwFlags |= STARTF_USESHOWWINDOW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/command.rs:224:30 [INFO] [stdout] | [INFO] [stdout] 224 | si.wShowWindow = SW_HIDE as _; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STARTF_USESTDHANDLES` in this scope [INFO] [stdout] --> src/command.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | si.dwFlags |= STARTF_USESTDHANDLES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/command.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | si.hStdInput = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/command.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | si.hStdOutput = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/command.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | si.hStdError = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/command.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | CoInitializeEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/command.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope [INFO] [stdout] --> src/command.rs:251:44 [INFO] [stdout] | [INFO] [stdout] 251 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SHELLEXECUTEINFOW` in this scope [INFO] [stdout] --> src/command.rs:258:24 [INFO] [stdout] | [INFO] [stdout] 258 | let mut info = SHELLEXECUTEINFOW { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHELLEXECUTEINFOW` in this scope [INFO] [stdout] --> src/command.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 144 | impl Command { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 259 | cbSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEE_MASK_NOCLOSEPROCESS` in this scope [INFO] [stdout] --> src/command.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | fMask: SEE_MASK_NOCLOSEPROCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stdout] --> src/command.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | SW_HIDE [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope [INFO] [stdout] --> src/command.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | SW_SHOWNORMAL [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShellExecuteExW` in this scope [INFO] [stdout] --> src/command.rs:280:28 [INFO] [stdout] | [INFO] [stdout] 280 | let res = unsafe { ShellExecuteExW(&mut info) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `STARTUPINFOEXW` in this scope [INFO] [stdout] --> src/command.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | let mut si = STARTUPINFOEXW { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOEXW` in this scope [INFO] [stdout] --> src/command.rs:297:49 [INFO] [stdout] | [INFO] [stdout] 144 | impl Command { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 297 | si.StartupInfo.cb = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope [INFO] [stdout] --> src/command.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | CreateProcessW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXTENDED_STARTUPINFO_PRESENT` in this scope [INFO] [stdout] --> src/command.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | EXTENDED_STARTUPINFO_PRESENT | CREATE_UNICODE_ENVIRONMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_UNICODE_ENVIRONMENT` in this scope [INFO] [stdout] --> src/command.rs:318:48 [INFO] [stdout] | [INFO] [stdout] 318 | EXTENDED_STARTUPINFO_PRESENT | CREATE_UNICODE_ENVIRONMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope [INFO] [stdout] --> src/command.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | CreateProcessW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_UNICODE_ENVIRONMENT` in this scope [INFO] [stdout] --> src/command.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | CREATE_UNICODE_ENVIRONMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessAsUserW` in this scope [INFO] [stdout] --> src/command.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | CreateProcessAsUserW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_UNICODE_ENVIRONMENT` in this scope [INFO] [stdout] --> src/command.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | CREATE_UNICODE_ENVIRONMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_UNICODE_ENVIRONMENT` in this scope [INFO] [stdout] --> src/command.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | CREATE_UNICODE_ENVIRONMENT| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_DEFAULT_ERROR_MODE` in this scope [INFO] [stdout] --> src/command.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | CREATE_DEFAULT_ERROR_MODE| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_NEW_CONSOLE` in this scope [INFO] [stdout] --> src/command.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | CREATE_NEW_CONSOLE| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_NEW_PROCESS_GROUP` in this scope [INFO] [stdout] --> src/command.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | CREATE_NEW_PROCESS_GROUP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/pipe.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct PipeHandle(HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetHandleInformation` in this scope [INFO] [stdout] --> src/pipe.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | let res = unsafe { SetHandleInformation(self.0, HANDLE_FLAG_INHERIT, 1) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HANDLE_FLAG_INHERIT` in this scope [INFO] [stdout] --> src/pipe.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 30 | let res = unsafe { SetHandleInformation(self.0, HANDLE_FLAG_INHERIT, 1) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/pipe.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/pipe.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | let mut security_attr = SECURITY_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/pipe.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 28 | impl PipeHandle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | nLength: std::mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateNamedPipeW` in this scope [INFO] [stdout] --> src/pipe.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | CreateNamedPipeW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_ACCESS_DUPLEX` in this scope [INFO] [stdout] --> src/pipe.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | PIPE_ACCESS_DUPLEX | FILE_FLAG_FIRST_PIPE_INSTANCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_FIRST_PIPE_INSTANCE` in this scope [INFO] [stdout] --> src/pipe.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | PIPE_ACCESS_DUPLEX | FILE_FLAG_FIRST_PIPE_INSTANCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_TYPE_BYTE` in this scope [INFO] [stdout] --> src/pipe.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_REJECT_REMOTE_CLIENTS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_READMODE_BYTE` in this scope [INFO] [stdout] --> src/pipe.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_REJECT_REMOTE_CLIENTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_REJECT_REMOTE_CLIENTS` in this scope [INFO] [stdout] --> src/pipe.rs:65:55 [INFO] [stdout] | [INFO] [stdout] 65 | PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_REJECT_REMOTE_CLIENTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/pipe.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | if handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/pipe.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | struct HandleHolder(HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ConnectNamedPipe` in this scope [INFO] [stdout] --> src/pipe.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | let res = unsafe { ConnectNamedPipe(self.0, null_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/pipe.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | let err = unsafe { GetLastError() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_PIPE_CONNECTED` in this scope [INFO] [stdout] --> src/pipe.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | if res == 0 && err != ERROR_PIPE_CONNECTED { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/pipe.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | let proc = unsafe { GetCurrentProcess() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/pipe.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | let mut duped = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DuplicateHandle` in this scope [INFO] [stdout] --> src/pipe.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | DuplicateHandle( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUPLICATE_SAME_ACCESS` in this scope [INFO] [stdout] --> src/pipe.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | DUPLICATE_SAME_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/pipe.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | let mut security_attr = SECURITY_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/pipe.rs:159:42 [INFO] [stdout] | [INFO] [stdout] 28 | impl PipeHandle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 159 | nLength: std::mem::size_of::() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileW` in this scope [INFO] [stdout] --> src/pipe.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | CreateFileW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/pipe.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/pipe.rs:169:32 [INFO] [stdout] | [INFO] [stdout] 169 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/pipe.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/pipe.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | if handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stdout] --> src/pipe.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 189 | impl AsRawHandle for PipeHandle { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/pipe.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | fn as_raw_handle(&self) -> RawHandle { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stdout] --> src/pipe.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | self.as_handle() as RawHandle [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/pipe.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | CloseHandle(self.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/pipe.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in this scope [INFO] [stdout] --> src/pipe.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | WriteFile( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FlushFileBuffers` in this scope [INFO] [stdout] --> src/pipe.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | if unsafe { FlushFileBuffers(self.0) } != 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcessId` in this scope [INFO] [stdout] --> src/pipe.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { GetCurrentProcessId() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/pipe.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | let mut sa = SECURITY_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/pipe.rs:296:42 [INFO] [stdout] | [INFO] [stdout] 291 | impl PipePair { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 296 | nLength: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/pipe.rs:300:23 [INFO] [stdout] | [INFO] [stdout] 300 | let mut read: HANDLE = INVALID_HANDLE_VALUE as _; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/pipe.rs:300:32 [INFO] [stdout] | [INFO] [stdout] 300 | let mut read: HANDLE = INVALID_HANDLE_VALUE as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/pipe.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | let mut write: HANDLE = INVALID_HANDLE_VALUE as _; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/pipe.rs:301:33 [INFO] [stdout] | [INFO] [stdout] 301 | let mut write: HANDLE = INVALID_HANDLE_VALUE as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreatePipe` in this scope [INFO] [stdout] --> src/pipe.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | if unsafe { CreatePipe(&mut read, &mut write, &mut sa, 0) } == 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Process(HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/process.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | CloseHandle(self.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | desired_access: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pid: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/process.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let proc = unsafe { OpenProcess(desired_access, inherit_handles as _, pid) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/process.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | if proc == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn as_handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn with_handle(proc: HANDLE) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 26 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn wait_for(&self, duration: Option) -> IoResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 26 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn wait_for(&self, duration: Option) -> IoResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/process.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let res = unsafe { WaitForSingleObject(self.0, duration.unwrap_or(INFINITE)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/process.rs:58:75 [INFO] [stdout] | [INFO] [stdout] 58 | let res = unsafe { WaitForSingleObject(self.0, duration.unwrap_or(INFINITE)) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_FAILED` in this scope [INFO] [stdout] --> src/process.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | if res == WAIT_FAILED { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 26 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn exit_code(&self) -> IoResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetExitCodeProcess` in this scope [INFO] [stdout] --> src/process.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | if unsafe { GetExitCodeProcess(self.0, &mut exit_code) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/procthreadattr.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn with_capacity(num_attributes: DWORD) -> IoResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeProcThreadAttributeList` in this scope [INFO] [stdout] --> src/procthreadattr.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | InitializeProcThreadAttributeList( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeProcThreadAttributeList` in this scope [INFO] [stdout] --> src/procthreadattr.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | InitializeProcThreadAttributeList(attr_ptr, num_attributes, 0, &mut bytes_required) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPPROC_THREAD_ATTRIBUTE_LIST` in this scope [INFO] [stdout] --> src/procthreadattr.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_mut_ptr(&mut self) -> LPPROC_THREAD_ATTRIBUTE_LIST { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateProcThreadAttribute` in this scope [INFO] [stdout] --> src/procthreadattr.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | UpdateProcThreadAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteProcThreadAttributeList` in this scope [INFO] [stdout] --> src/procthreadattr.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { DeleteProcThreadAttributeList(self.as_mut_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/psuedocon.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub type HPCON = HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/psuedocon.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | size: COORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/psuedocon.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | hInput: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/psuedocon.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | hOutput: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/psuedocon.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | flags: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/psuedocon.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/psuedocon.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn ResizePseudoConsole(hpc: HPCON, size: COORD) -> HRESULT, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/psuedocon.rs:23:60 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn ResizePseudoConsole(hpc: HPCON, size: COORD) -> HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/psuedocon.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(size: COORD, input: PipeHandle, output: PipeHandle) -> IoResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/psuedocon.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let mut con: HPCON = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/psuedocon.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | if result != S_OK { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/psuedocon.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn resize(&self, size: COORD) -> IoResult<()> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/psuedocon.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | if result != S_OK { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SID` in this scope [INFO] [stdout] --> src/sid.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn as_sid(self) -> *const SID; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SID` in this scope [INFO] [stdout] --> src/sid.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | impl AsSid for *const SID { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SID` in this scope [INFO] [stdout] --> src/sid.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_sid(self) -> *const SID { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WELL_KNOWN_SID_TYPE` in this scope [INFO] [stdout] --> src/sid.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn is_well_known(sid: S, sid_type: WELL_KNOWN_SID_TYPE) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWellKnownSid` in this scope [INFO] [stdout] --> src/sid.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let result = unsafe { IsWellKnownSid(sid.as_sid() as *mut _, sid_type) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/sid.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_length_sid(sid: S) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLengthSid` in this scope [INFO] [stdout] --> src/sid.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { GetLengthSid(sid.as_sid() as *mut _) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WELL_KNOWN_SID_TYPE` in this scope [INFO] [stdout] --> src/sid.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn with_well_known(sid_type: WELL_KNOWN_SID_TYPE) -> IoResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/sid.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let mut size: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWellKnownSid` in this scope [INFO] [stdout] --> src/sid.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | CreateWellKnownSid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sid.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | err = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope [INFO] [stdout] --> src/sid.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | if err != ERROR_INSUFFICIENT_BUFFER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWellKnownSid` in this scope [INFO] [stdout] --> src/sid.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | if CreateWellKnownSid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SID` in this scope [INFO] [stdout] --> src/sid.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | fn as_sid(self) -> *const SID { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SID` in this scope [INFO] [stdout] --> src/sid.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | self.data.as_ptr() as *const SID [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_MANDATORY_LABEL` in this scope [INFO] [stdout] --> src/token.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | fn as_label(&self) -> &TOKEN_MANDATORY_LABEL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_MANDATORY_LABEL` in this scope [INFO] [stdout] --> src/token.rs:71:50 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { &*(self.data.as_ptr() as *const TOKEN_MANDATORY_LABEL) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SID` in this scope [INFO] [stdout] --> src/token.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | fn sid(&self) -> *const SID { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SID` in this scope [INFO] [stdout] --> src/token.rs:78:45 [INFO] [stdout] | [INFO] [stdout] 78 | self.as_label().Label.Sid as *const SID [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WinHighLabelSid` in this scope [INFO] [stdout] --> src/token.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | is_well_known(self.sid(), WinHighLabelSid) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/token.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) token: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/token.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | CloseHandle(self.token); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSECURITY_DESCRIPTOR` in this scope [INFO] [stdout] --> src/token.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) struct SecurityDescriptor(pub PSECURITY_DESCRIPTOR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LocalFree` in this scope [INFO] [stdout] --> src/token.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | LocalFree(self.0); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/token.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let mut token: HANDLE = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/token.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | let mut token: HANDLE = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> src/token.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | OpenProcessToken( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/token.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope [INFO] [stdout] --> src/token.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | TOKEN_QUERY | TOKEN_DUPLICATE | TOKEN_IMPERSONATE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_DUPLICATE` in this scope [INFO] [stdout] --> src/token.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | TOKEN_QUERY | TOKEN_DUPLICATE | TOKEN_IMPERSONATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_IMPERSONATE` in this scope [INFO] [stdout] --> src/token.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | TOKEN_QUERY | TOKEN_DUPLICATE | TOKEN_IMPERSONATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EXPLICIT_ACCESSW` in this scope [INFO] [stdout] --> src/token.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let mut ea = EXPLICIT_ACCESSW { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/token.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | grfAccessPermissions: GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/token.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 141 | grfAccessPermissions: GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SET_ACCESS` in this scope [INFO] [stdout] --> src/token.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | grfAccessMode: SET_ACCESS, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NO_INHERITANCE` in this scope [INFO] [stdout] --> src/token.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | grfInheritance: NO_INHERITANCE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TRUSTEE_W` in this scope [INFO] [stdout] --> src/token.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | Trustee: TRUSTEE_W { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUSTEE_IS_SID` in this scope [INFO] [stdout] --> src/token.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | TrusteeForm: TRUSTEE_IS_SID, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUSTEE_IS_USER` in this scope [INFO] [stdout] --> src/token.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | TrusteeType: TRUSTEE_IS_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NO_MULTIPLE_TRUSTEE` in this scope [INFO] [stdout] --> src/token.rs:147:43 [INFO] [stdout] | [INFO] [stdout] 147 | MultipleTrusteeOperation: NO_MULTIPLE_TRUSTEE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PACL` in this scope [INFO] [stdout] --> src/token.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | let mut acl: PACL = null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetEntriesInAclW` in this scope [INFO] [stdout] --> src/token.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | let res = unsafe { SetEntriesInAclW(1, &mut ea, null_mut(), &mut acl) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> src/token.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | if res != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LocalAlloc` in this scope [INFO] [stdout] --> src/token.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | let sd = SecurityDescriptor(unsafe { LocalAlloc(LPTR, SECURITY_DESCRIPTOR_MIN_LENGTH) }); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LPTR` in this scope [INFO] [stdout] --> src/token.rs:162:57 [INFO] [stdout] | [INFO] [stdout] 162 | let sd = SecurityDescriptor(unsafe { LocalAlloc(LPTR, SECURITY_DESCRIPTOR_MIN_LENGTH) }); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECURITY_DESCRIPTOR_MIN_LENGTH` in this scope [INFO] [stdout] --> src/token.rs:162:63 [INFO] [stdout] | [INFO] [stdout] 162 | let sd = SecurityDescriptor(unsafe { LocalAlloc(LPTR, SECURITY_DESCRIPTOR_MIN_LENGTH) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitializeSecurityDescriptor` in this scope [INFO] [stdout] --> src/token.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | let res = unsafe { InitializeSecurityDescriptor(sd.0, SECURITY_DESCRIPTOR_REVISION) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECURITY_DESCRIPTOR_REVISION` in this scope [INFO] [stdout] --> src/token.rs:163:63 [INFO] [stdout] | [INFO] [stdout] 163 | let res = unsafe { InitializeSecurityDescriptor(sd.0, SECURITY_DESCRIPTOR_REVISION) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetSecurityDescriptorDacl` in this scope [INFO] [stdout] --> src/token.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) struct SecurityDescriptor(pub PSECURITY_DESCRIPTOR); [INFO] [stdout] | --------------------------------------------------------------- similarly named tuple struct `SecurityDescriptor` defined here [INFO] [stdout] ... [INFO] [stdout] 173 | let res = unsafe { SetSecurityDescriptorDacl(sd.0, dacl_present, acl, default_dacl) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `SecurityDescriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetShellWindow` in this scope [INFO] [stdout] --> src/token.rs:190:37 [INFO] [stdout] | [INFO] [stdout] 190 | let shell_window = unsafe { GetShellWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/token.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | let mut shell_pid: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/token.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | let _thread_id = unsafe { GetWindowThreadProcessId(shell_window, &mut shell_pid) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/token.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | let proc = Process::with_process_id(PROCESS_QUERY_INFORMATION, false, shell_pid)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/token.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | let mut token: HANDLE = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/token.rs:203:33 [INFO] [stdout] | [INFO] [stdout] 203 | let mut token: HANDLE = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> src/token.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | let res = unsafe { OpenProcessToken(proc.as_handle(), TOKEN_DUPLICATE, &mut token) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_DUPLICATE` in this scope [INFO] [stdout] --> src/token.rs:204:63 [INFO] [stdout] | [INFO] [stdout] 204 | let res = unsafe { OpenProcessToken(proc.as_handle(), TOKEN_DUPLICATE, &mut token) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SAFER_LEVEL_HANDLE` in this scope [INFO] [stdout] --> src/token.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | let mut level: SAFER_LEVEL_HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SaferCreateLevel` in this scope [INFO] [stdout] --> src/token.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | SaferCreateLevel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SAFER_SCOPEID_USER` in this scope [INFO] [stdout] --> src/token.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | SAFER_SCOPEID_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SAFER_LEVELID_NORMALUSER` in this scope [INFO] [stdout] --> src/token.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | SAFER_LEVELID_NORMALUSER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SAFER_LEVEL_OPEN` in this scope [INFO] [stdout] --> src/token.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | SAFER_LEVEL_OPEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SAFER_LEVEL_HANDLE` in this scope [INFO] [stdout] --> src/token.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | struct SaferHandle(SAFER_LEVEL_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SaferCloseLevel` in this scope [INFO] [stdout] --> src/token.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | unsafe { SaferCloseLevel(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/token.rs:249:25 [INFO] [stdout] | [INFO] [stdout] 249 | let mut token = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SaferComputeTokenFromLevel` in this scope [INFO] [stdout] --> src/token.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | unsafe { SaferComputeTokenFromLevel(level.0, self.token, &mut token, 0, null_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WinMediumLabelSid` in this scope [INFO] [stdout] --> src/token.rs:265:52 [INFO] [stdout] | [INFO] [stdout] 265 | let medium = WellKnownSid::with_well_known(WinMediumLabelSid)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_MANDATORY_LABEL` in this scope [INFO] [stdout] --> src/token.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 266 | let mut tml = TOKEN_MANDATORY_LABEL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SID_AND_ATTRIBUTES` in this scope [INFO] [stdout] --> src/token.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | Label: SID_AND_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SE_GROUP_INTEGRITY` in this scope [INFO] [stdout] --> src/token.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | Attributes: SE_GROUP_INTEGRITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTokenInformation` in this scope [INFO] [stdout] --> src/token.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | SetTokenInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `TokenIntegrityLevel` [INFO] [stdout] --> src/token.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 64 | / struct TokenIntegrityLevel { [INFO] [stdout] 65 | | data: Vec, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- `TokenIntegrityLevel` defined here [INFO] [stdout] ... [INFO] [stdout] 276 | TokenIntegrityLevel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `TokenIntegrityLevel { data: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_MANDATORY_LABEL` in this scope [INFO] [stdout] --> src/token.rs:277:34 [INFO] [stdout] | [INFO] [stdout] 277 | &mut tml as *mut TOKEN_MANDATORY_LABEL as *mut _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenImpersonation` in this scope [INFO] [stdout] --> src/token.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | self.duplicate(TokenImpersonation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenPrimary` in this scope [INFO] [stdout] --> src/token.rs:299:24 [INFO] [stdout] | [INFO] [stdout] 299 | self.duplicate(TokenPrimary) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_TYPE` in this scope [INFO] [stdout] --> src/token.rs:302:37 [INFO] [stdout] | [INFO] [stdout] 302 | fn duplicate(&self, token_type: TOKEN_TYPE) -> IoResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/token.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | let mut dup: HANDLE = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/token.rs:303:31 [INFO] [stdout] | [INFO] [stdout] 303 | let mut dup: HANDLE = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DuplicateTokenEx` in this scope [INFO] [stdout] --> src/token.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | DuplicateTokenEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_SESSIONID` in this scope [INFO] [stdout] --> src/token.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | TOKEN_ADJUST_SESSIONID [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_DEFAULT` in this scope [INFO] [stdout] --> src/token.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | | TOKEN_ADJUST_DEFAULT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_ASSIGN_PRIMARY` in this scope [INFO] [stdout] --> src/token.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | | TOKEN_ASSIGN_PRIMARY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_IMPERSONATE` in this scope [INFO] [stdout] --> src/token.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | | TOKEN_IMPERSONATE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_DUPLICATE` in this scope [INFO] [stdout] --> src/token.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | | TOKEN_DUPLICATE [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope [INFO] [stdout] --> src/token.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | | TOKEN_QUERY, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SecurityImpersonation` in this scope [INFO] [stdout] --> src/token.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | SecurityImpersonation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/token.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | let mut is_member: BOOL = 0; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CheckTokenMembership` in this scope [INFO] [stdout] --> src/token.rs:335:22 [INFO] [stdout] | [INFO] [stdout] 335 | unsafe { CheckTokenMembership(self.token, sid.as_sid() as *mut _, &mut is_member) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WinBuiltinAdministratorsSid` in this scope [INFO] [stdout] --> src/token.rs:349:52 [INFO] [stdout] | [INFO] [stdout] 349 | let admins = WellKnownSid::with_well_known(WinBuiltinAdministratorsSid)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/token.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | let mut size: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTokenInformation` in this scope [INFO] [stdout] --> src/token.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | GetTokenInformation(self.token, TokenUser, null_mut(), 0, &mut size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenUser` in this scope [INFO] [stdout] --> src/token.rs:363:45 [INFO] [stdout] | [INFO] [stdout] 363 | GetTokenInformation(self.token, TokenUser, null_mut(), 0, &mut size); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/token.rs:364:19 [INFO] [stdout] | [INFO] [stdout] 364 | err = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope [INFO] [stdout] --> src/token.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | if err != ERROR_INSUFFICIENT_BUFFER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTokenInformation` in this scope [INFO] [stdout] --> src/token.rs:379:16 [INFO] [stdout] | [INFO] [stdout] 379 | if GetTokenInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenUser` in this scope [INFO] [stdout] --> src/token.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | TokenUser, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/token.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 399 | let mut size: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTokenInformation` in this scope [INFO] [stdout] --> src/token.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | GetTokenInformation(self.token, TokenIntegrityLevel, null_mut(), 0, &mut size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `TokenIntegrityLevel` [INFO] [stdout] --> src/token.rs:403:45 [INFO] [stdout] | [INFO] [stdout] 64 | / struct TokenIntegrityLevel { [INFO] [stdout] 65 | | data: Vec, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- `TokenIntegrityLevel` defined here [INFO] [stdout] ... [INFO] [stdout] 403 | GetTokenInformation(self.token, TokenIntegrityLevel, null_mut(), 0, &mut size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `TokenIntegrityLevel { data: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/token.rs:404:19 [INFO] [stdout] | [INFO] [stdout] 404 | err = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope [INFO] [stdout] --> src/token.rs:408:19 [INFO] [stdout] | [INFO] [stdout] 408 | if err != ERROR_INSUFFICIENT_BUFFER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTokenInformation` in this scope [INFO] [stdout] --> src/token.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 419 | if GetTokenInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `TokenIntegrityLevel` [INFO] [stdout] --> src/token.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 64 | / struct TokenIntegrityLevel { [INFO] [stdout] 65 | | data: Vec, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- `TokenIntegrityLevel` defined here [INFO] [stdout] ... [INFO] [stdout] 421 | TokenIntegrityLevel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `TokenIntegrityLevel { data: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION_TYPE` in this scope [INFO] [stdout] --> src/token.rs:441:42 [INFO] [stdout] | [INFO] [stdout] 116 | impl Token { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 441 | fn elevation_type(&self) -> IoResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION_TYPE` in this scope [INFO] [stdout] --> src/token.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 442 | let mut ele_type: TOKEN_ELEVATION_TYPE = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/token.rs:443:23 [INFO] [stdout] | [INFO] [stdout] 443 | let mut size: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTokenInformation` in this scope [INFO] [stdout] --> src/token.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | GetTokenInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenElevationType` in this scope [INFO] [stdout] --> src/token.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | TokenElevationType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION_TYPE` in this scope [INFO] [stdout] --> src/token.rs:448:39 [INFO] [stdout] | [INFO] [stdout] 448 | &mut ele_type as *mut TOKEN_ELEVATION_TYPE as *mut _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenElevationTypeFull` in this scope [INFO] [stdout] --> src/token.rs:466:24 [INFO] [stdout] | [INFO] [stdout] 466 | if ele_type == TokenElevationTypeFull { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImpersonateLoggedOnUser` in this scope [INFO] [stdout] --> src/token.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | let res = unsafe { ImpersonateLoggedOnUser(self.token) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 321 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deelevate` due to 322 previous errors [INFO] running `Command { std: "docker" "inspect" "0eb33375c2c8438db88402ec71b4b783f74844d9f6e9c769fefdc5208e97381f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb33375c2c8438db88402ec71b4b783f74844d9f6e9c769fefdc5208e97381f", kill_on_drop: false }` [INFO] [stdout] 0eb33375c2c8438db88402ec71b4b783f74844d9f6e9c769fefdc5208e97381f