[INFO] cloning repository https://github.com/andrefixplm/cli_admin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrefixplm/cli_admin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrefixplm%2Fcli_admin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrefixplm%2Fcli_admin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 07c2d5a21fe731a428dd451def2082b977c78379
[INFO] checking andrefixplm/cli_admin against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrefixplm%2Fcli_admin" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/andrefixplm/cli_admin
[INFO] finished tweaking git repo https://github.com/andrefixplm/cli_admin
[INFO] tweaked toml for git repo https://github.com/andrefixplm/cli_admin written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andrefixplm/cli_admin on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andrefixplm/cli_admin already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded symlink v0.1.0
[INFO] [stderr]   Downloaded sysinfo v0.33.1
[INFO] [stderr]   Downloaded windows-implement v0.57.0
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.27
[INFO] [stderr]   Downloaded ref-cast v1.0.27
[INFO] [stderr]   Downloaded darling_macro v0.24.1
[INFO] [stderr]   Downloaded libredox v0.1.23
[INFO] [stderr]   Downloaded instability v0.3.13
[INFO] [stderr]   Downloaded windows-interface v0.57.0
[INFO] [stderr]   Downloaded tracing-appender v0.2.5
[INFO] [stderr]   Downloaded schemars_derive v1.2.3
[INFO] [stderr]   Downloaded rmcp-macros v3.5.1
[INFO] [stderr]   Downloaded windows-core v0.57.0
[INFO] [stderr]   Downloaded serde_derive_internals v0.30.0
[INFO] [stderr]   Downloaded fuzzy-matcher v0.3.7
[INFO] [stderr]   Downloaded darling v0.24.1
[INFO] [stderr]   Downloaded darling_core v0.24.1
[INFO] [stderr]   Downloaded schemars v1.2.3
[INFO] [stderr]   Downloaded compact_str v0.8.2
[INFO] [stderr]   Downloaded tokio-util v0.7.20
[INFO] [stderr]   Downloaded rmcp v3.5.1
[INFO] [stderr]   Downloaded windows v0.57.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b98879cd9a049592385a2686bc45c0fc69332e46cb398483b5958915e6d0efb0
[INFO] running `Command { std: "docker" "start" "b98879cd9a049592385a2686bc45c0fc69332e46cb398483b5958915e6d0efb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b98879cd9a049592385a2686bc45c0fc69332e46cb398483b5958915e6d0efb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b98879cd9a049592385a2686bc45c0fc69332e46cb398483b5958915e6d0efb0" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b98879cd9a049592385a2686bc45c0fc69332e46cb398483b5958915e6d0efb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b98879cd9a049592385a2686bc45c0fc69332e46cb398483b5958915e6d0efb0" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]     Checking smallvec v1.16.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.20
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling crossbeam-deque v0.8.7
[INFO] [stderr]     Checking either v1.18.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking thread_local v1.1.10
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]    Compiling instability v0.3.13
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]     Checking indexmap v2.14.2
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking winnow v0.7.15
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking time-core v0.1.9
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]    Compiling syn v3.0.5
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking futures-core v0.3.34
[INFO] [stderr]     Checking unicode-segmentation v1.13.3
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking rayon-core v1.13.0
[INFO] [stderr]     Checking compact_str v0.8.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.16
[INFO] [stderr]     Checking clap_builder v4.6.6
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]     Checking symlink v0.1.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking serde_json v1.0.151
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking fuzzy-matcher v0.3.7
[INFO] [stderr]     Checking regex-automata v0.4.18
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking unicode-truncate v1.1.0
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.3
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]     Checking time v0.3.55
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking sysinfo v0.33.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling darling_core v0.24.1
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]    Compiling clap_derive v4.6.4
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking clap v4.6.6
[INFO] [stderr]     Checking tracing-appender v0.2.5
[INFO] [stderr]    Compiling darling_macro v0.24.1
[INFO] [stderr]    Compiling darling v0.24.1
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]     Checking ratatui v0.29.0
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking cli_admin v3.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/modules/services/scm.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/8773d2c75a8e90130dcce745a7ec4e66bb9963db/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows::Win32::System::Services::*;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/modules/support/winsvc.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/8773d2c75a8e90130dcce745a7ec4e66bb9963db/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/modules/services/scm.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::Win32::Foundation::{CloseHandle, BOOL, ERROR_MORE_DATA, HANDLE};
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/modules/services/scm.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::Security::{GetTokenInformation, TokenElevation, TOKEN_ELEVATION, TOKEN_QUERY};
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::System::Threading::{GetCurrentProcess, OpenProcessToken};
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::core::{PCWSTR, PWSTR};
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows::Win32::Foundation::CloseHandle`, `windows::Win32::Foundation::BOOL`, `windows::Win32::Foundation::ERROR_MORE_DATA`, `windows::Win32::Foundation::HANDLE`, `windows::Win32::Security::GetTokenInformation`, `windows::Win32::Security::TokenElevation`, `windows::Win32::Security::TOKEN_ELEVATION`, `windows::Win32::Security::TOKEN_QUERY`, `windows::Win32::System::Threading::GetCurrentProcess`, `windows::Win32::System::Threading::OpenProcessToken`, `windows::core::PCWSTR`, `windows::core::PWSTR`
[INFO] [stdout]   --> src/modules/services/scm.rs:8:34
[INFO] [stdout]    |
[INFO] [stdout]  8 | use windows::Win32::Foundation::{CloseHandle, BOOL, ERROR_MORE_DATA, HANDLE};
[INFO] [stdout]    |                                  ^^^^^^^^^^^  ^^^^  ^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]  9 | use windows::Win32::Security::{GetTokenInformation, TokenElevation, TOKEN_ELEVATION, TOKEN_QUERY};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 10 | use windows::Win32::System::Services::*;
[INFO] [stdout] 11 | use windows::Win32::System::Threading::{GetCurrentProcess, OpenProcessToken};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 | use windows::core::{PCWSTR, PWSTR};
[INFO] [stdout]    |                     ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/modules/services/scm.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/8773d2c75a8e90130dcce745a7ec4e66bb9963db/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows::Win32::System::Services::*;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/modules/support/winsvc.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/8773d2c75a8e90130dcce745a7ec4e66bb9963db/library/std/src/os/mod.rs:62:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated behind the `windows` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/modules/services/scm.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::Win32::Foundation::{CloseHandle, BOOL, ERROR_MORE_DATA, HANDLE};
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]  --> src/modules/services/scm.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::Security::{GetTokenInformation, TokenElevation, TOKEN_ELEVATION, TOKEN_QUERY};
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::System::Threading::{GetCurrentProcess, OpenProcessToken};
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::core::{PCWSTR, PWSTR};
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows::Win32::Foundation::CloseHandle`, `windows::Win32::Foundation::BOOL`, `windows::Win32::Foundation::ERROR_MORE_DATA`, `windows::Win32::Foundation::HANDLE`, `windows::Win32::Security::GetTokenInformation`, `windows::Win32::Security::TokenElevation`, `windows::Win32::Security::TOKEN_ELEVATION`, `windows::Win32::Security::TOKEN_QUERY`, `windows::Win32::System::Threading::GetCurrentProcess`, `windows::Win32::System::Threading::OpenProcessToken`, `windows::core::PCWSTR`, `windows::core::PWSTR`
[INFO] [stdout]   --> src/modules/services/scm.rs:8:34
[INFO] [stdout]    |
[INFO] [stdout]  8 | use windows::Win32::Foundation::{CloseHandle, BOOL, ERROR_MORE_DATA, HANDLE};
[INFO] [stdout]    |                                  ^^^^^^^^^^^  ^^^^  ^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]  9 | use windows::Win32::Security::{GetTokenInformation, TokenElevation, TOKEN_ELEVATION, TOKEN_QUERY};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 10 | use windows::Win32::System::Services::*;
[INFO] [stdout] 11 | use windows::Win32::System::Threading::{GetCurrentProcess, OpenProcessToken};
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 | use windows::core::{PCWSTR, PWSTR};
[INFO] [stdout]    |                     ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn codigo_win32(e: &windows::core::Error) -> u32 {
[INFO] [stdout]    |                     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:79:25
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn erro(acao: &str, e: &windows::core::Error) -> String {
[INFO] [stdout]    |                         ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn codigo_win32(e: &windows::core::Error) -> u32 {
[INFO] [stdout]    |                     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:79:25
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn erro(acao: &str, e: &windows::core::Error) -> String {
[INFO] [stdout]    |                         ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ScHandle(SC_HANDLE);
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn raw(&self) -> SC_HANDLE {
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CONNECT` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:114:25
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let scm = abrir_scm(SC_MANAGER_CONNECT)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_CURRENT_STATE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:123:22
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn traduz_estado(st: SERVICE_STATUS_CURRENT_STATE) -> SvcState {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_RUNNING` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:124:14
[INFO] [stdout]     |
[INFO] [stdout] 124 |     if st == SERVICE_RUNNING {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOPPED` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:126:21
[INFO] [stdout]     |
[INFO] [stdout] 126 |     } else if st == SERVICE_STOPPED {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_PAUSED` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |     } else if st == SERVICE_PAUSED {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:137:33
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let h = abrir_servico(nome, SERVICE_QUERY_STATUS)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:141:25
[INFO] [stdout]     |
[INFO] [stdout] 141 | unsafe fn ler_estado(h: SC_HANDLE) -> Result<SvcState, String> {
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_PROCESS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:145:29
[INFO] [stdout]     |
[INFO] [stdout] 145 |             &mut st as *mut SERVICE_STATUS_PROCESS as *mut u8,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_PROCESS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:146:33
[INFO] [stdout]     |
[INFO] [stdout] 146 |             std::mem::size_of::<SERVICE_STATUS_PROCESS>(),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 141 | unsafe fn ler_estado<SERVICE_STATUS_PROCESS>(h: SC_HANDLE) -> Result<SvcState, String> {
[INFO] [stdout]     |                     ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SC_STATUS_PROCESS_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:149:33
[INFO] [stdout]     |
[INFO] [stdout] 149 |         QueryServiceStatusEx(h, SC_STATUS_PROCESS_INFO, Some(bytes), &mut needed)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:157:25
[INFO] [stdout]     |
[INFO] [stdout] 157 | unsafe fn ler_config(h: SC_HANDLE) -> Result<Vec<u64>, String> {
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ScHandle(SC_HANDLE);
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `QUERY_SERVICE_CONFIGW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:165:43
[INFO] [stdout]     |
[INFO] [stdout] 165 |             Some(buf.as_mut_ptr() as *mut QUERY_SERVICE_CONFIGW),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:175:27
[INFO] [stdout]     |
[INFO] [stdout] 175 | unsafe fn ler_atrasado(h: SC_HANDLE) -> bool {
[INFO] [stdout]     |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:179:31
[INFO] [stdout]     |
[INFO] [stdout] 179 |             &mut info as *mut SERVICE_DELAYED_AUTO_START_INFO as *mut u8,
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:180:33
[INFO] [stdout]     |
[INFO] [stdout] 180 |             std::mem::size_of::<SERVICE_DELAYED_AUTO_START_INFO>(),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 175 | unsafe fn ler_atrasado<SERVICE_DELAYED_AUTO_START_INFO>(h: SC_HANDLE) -> bool {
[INFO] [stdout]     |                       +++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn raw(&self) -> SC_HANDLE {
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONFIG_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:183:39
[INFO] [stdout]     |
[INFO] [stdout] 183 |         match QueryServiceConfig2W(h, SERVICE_CONFIG_DELAYED_AUTO_START_INFO, Some(bytes), &mut needed) {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_START_TYPE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:190:26
[INFO] [stdout]     |
[INFO] [stdout] 190 | fn traduz_inicio(inicio: SERVICE_START_TYPE, atrasado: bool) -> StartType {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CONNECT` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:114:25
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let scm = abrir_scm(SC_MANAGER_CONNECT)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_CURRENT_STATE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:123:22
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn traduz_estado(st: SERVICE_STATUS_CURRENT_STATE) -> SvcState {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:191:18
[INFO] [stdout]     |
[INFO] [stdout] 191 |     if inicio == SERVICE_AUTO_START {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_RUNNING` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:124:14
[INFO] [stdout]     |
[INFO] [stdout] 124 |     if st == SERVICE_RUNNING {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_DEMAND_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:193:25
[INFO] [stdout]     |
[INFO] [stdout] 193 |     } else if inicio == SERVICE_DEMAND_START {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOPPED` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:126:21
[INFO] [stdout]     |
[INFO] [stdout] 126 |     } else if st == SERVICE_STOPPED {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_DISABLED` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:195:25
[INFO] [stdout]     |
[INFO] [stdout] 195 |     } else if inicio == SERVICE_DISABLED {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_PAUSED` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |     } else if st == SERVICE_PAUSED {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:204:33
[INFO] [stdout]     |
[INFO] [stdout] 204 |     let h = abrir_servico(nome, SERVICE_QUERY_STATUS | SERVICE_QUERY_CONFIG)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:137:33
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let h = abrir_servico(nome, SERVICE_QUERY_STATUS)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_CONFIG` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:204:56
[INFO] [stdout]     |
[INFO] [stdout] 204 |     let h = abrir_servico(nome, SERVICE_QUERY_STATUS | SERVICE_QUERY_CONFIG)?;
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:141:25
[INFO] [stdout]     |
[INFO] [stdout] 141 | unsafe fn ler_estado(h: SC_HANDLE) -> Result<SvcState, String> {
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `QUERY_SERVICE_CONFIGW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:208:45
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let cfg = &*(buf.as_ptr() as *const QUERY_SERVICE_CONFIGW);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_PROCESS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:145:29
[INFO] [stdout]     |
[INFO] [stdout] 145 |             &mut st as *mut SERVICE_STATUS_PROCESS as *mut u8,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_CONFIG` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:243:33
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let h = abrir_servico(nome, SERVICE_QUERY_CONFIG)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_PROCESS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:146:33
[INFO] [stdout]     |
[INFO] [stdout] 146 |             std::mem::size_of::<SERVICE_STATUS_PROCESS>(),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 141 | unsafe fn ler_estado<SERVICE_STATUS_PROCESS>(h: SC_HANDLE) -> Result<SvcState, String> {
[INFO] [stdout]     |                     ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `QUERY_SERVICE_CONFIGW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:246:45
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let cfg = &*(buf.as_ptr() as *const QUERY_SERVICE_CONFIGW);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ENUMERATE_DEPENDENTS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:256:33
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let h = abrir_servico(nome, SERVICE_ENUMERATE_DEPENDENTS)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SC_STATUS_PROCESS_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:149:33
[INFO] [stdout]     |
[INFO] [stdout] 149 |         QueryServiceStatusEx(h, SC_STATUS_PROCESS_INFO, Some(bytes), &mut needed)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACTIVE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:260:47
[INFO] [stdout]     |
[INFO] [stdout] 260 |         match EnumDependentServicesW(h.raw(), SERVICE_ACTIVE, None, 0, &mut needed, &mut count) {
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:157:25
[INFO] [stdout]     |
[INFO] [stdout] 157 | unsafe fn ler_config(h: SC_HANDLE) -> Result<Vec<u64>, String> {
[INFO] [stdout]     |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACTIVE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             SERVICE_ACTIVE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ENUM_SERVICE_STATUSW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:269:43
[INFO] [stdout]     |
[INFO] [stdout] 269 |             Some(buf.as_mut_ptr() as *mut ENUM_SERVICE_STATUSW),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `QUERY_SERVICE_CONFIGW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:165:43
[INFO] [stdout]     |
[INFO] [stdout] 165 |             Some(buf.as_mut_ptr() as *mut QUERY_SERVICE_CONFIGW),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ENUM_SERVICE_STATUSW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:276:40
[INFO] [stdout]     |
[INFO] [stdout] 276 |         let p = buf.as_ptr() as *const ENUM_SERVICE_STATUSW;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:287:41
[INFO] [stdout]     |
[INFO] [stdout] 287 |             let h = abrir_servico(nome, SERVICE_START)?;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:175:27
[INFO] [stdout]     |
[INFO] [stdout] 175 | unsafe fn ler_atrasado(h: SC_HANDLE) -> bool {
[INFO] [stdout]     |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:179:31
[INFO] [stdout]     |
[INFO] [stdout] 179 |             &mut info as *mut SERVICE_DELAYED_AUTO_START_INFO as *mut u8,
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOP` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:292:34
[INFO] [stdout]     |
[INFO] [stdout] 292 |                 Passo::Parar => (SERVICE_STOP, SERVICE_CONTROL_STOP),
[INFO] [stdout]     |                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:180:33
[INFO] [stdout]     |
[INFO] [stdout] 180 |             std::mem::size_of::<SERVICE_DELAYED_AUTO_START_INFO>(),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 175 | unsafe fn ler_atrasado<SERVICE_DELAYED_AUTO_START_INFO>(h: SC_HANDLE) -> bool {
[INFO] [stdout]     |                       +++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_STOP` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:292:48
[INFO] [stdout]     |
[INFO] [stdout] 292 |                 Passo::Parar => (SERVICE_STOP, SERVICE_CONTROL_STOP),
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_PAUSE_CONTINUE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:293:35
[INFO] [stdout]     |
[INFO] [stdout] 293 |                 Passo::Pausar => (SERVICE_PAUSE_CONTINUE, SERVICE_CONTROL_PAUSE),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_PAUSE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:293:59
[INFO] [stdout]     |
[INFO] [stdout] 293 |                 Passo::Pausar => (SERVICE_PAUSE_CONTINUE, SERVICE_CONTROL_PAUSE),
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONFIG_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:183:39
[INFO] [stdout]     |
[INFO] [stdout] 183 |         match QueryServiceConfig2W(h, SERVICE_CONFIG_DELAYED_AUTO_START_INFO, Some(bytes), &mut needed) {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_PAUSE_CONTINUE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:294:23
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 _ => (SERVICE_PAUSE_CONTINUE, SERVICE_CONTROL_CONTINUE),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_START_TYPE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:190:26
[INFO] [stdout]     |
[INFO] [stdout] 190 | fn traduz_inicio(inicio: SERVICE_START_TYPE, atrasado: bool) -> StartType {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_CONTINUE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:294:47
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 _ => (SERVICE_PAUSE_CONTINUE, SERVICE_CONTROL_CONTINUE),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:191:18
[INFO] [stdout]     |
[INFO] [stdout] 191 |     if inicio == SERVICE_AUTO_START {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_START_TYPE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:306:44
[INFO] [stdout]     |
[INFO] [stdout] 306 | fn mapa_inicio(tipo: StartType) -> Result<(SERVICE_START_TYPE, bool), String> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 306 | fn mapa_inicio<SERVICE_START_TYPE>(tipo: StartType) -> Result<(SERVICE_START_TYPE, bool), String> {
[INFO] [stdout]     |               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_DEMAND_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:193:25
[INFO] [stdout]     |
[INFO] [stdout] 193 |     } else if inicio == SERVICE_DEMAND_START {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:308:38
[INFO] [stdout]     |
[INFO] [stdout] 308 |         StartType::Automatico => Ok((SERVICE_AUTO_START, false)),
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_DISABLED` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:195:25
[INFO] [stdout]     |
[INFO] [stdout] 195 |     } else if inicio == SERVICE_DISABLED {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:309:46
[INFO] [stdout]     |
[INFO] [stdout] 309 |         StartType::AutomaticoAtrasado => Ok((SERVICE_AUTO_START, true)),
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:204:33
[INFO] [stdout]     |
[INFO] [stdout] 204 |     let h = abrir_servico(nome, SERVICE_QUERY_STATUS | SERVICE_QUERY_CONFIG)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_DEMAND_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:310:34
[INFO] [stdout]     |
[INFO] [stdout] 310 |         StartType::Manual => Ok((SERVICE_DEMAND_START, false)),
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_CONFIG` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:204:56
[INFO] [stdout]     |
[INFO] [stdout] 204 |     let h = abrir_servico(nome, SERVICE_QUERY_STATUS | SERVICE_QUERY_CONFIG)?;
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_DISABLED` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:311:40
[INFO] [stdout]     |
[INFO] [stdout] 311 |         StartType::Desabilitado => Ok((SERVICE_DISABLED, false)),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `QUERY_SERVICE_CONFIGW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:208:45
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let cfg = &*(buf.as_ptr() as *const QUERY_SERVICE_CONFIGW);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:316:31
[INFO] [stdout]     |
[INFO] [stdout] 316 | unsafe fn definir_atrasado(h: SC_HANDLE, atrasado: bool) -> Result<(), String> {
[INFO] [stdout]     |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SERVICE_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:318:20
[INFO] [stdout]     |
[INFO] [stdout] 318 |         let info = SERVICE_DELAYED_AUTO_START_INFO { fDelayedAutostart: BOOL::from(atrasado) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_CONFIG` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:243:33
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let h = abrir_servico(nome, SERVICE_QUERY_CONFIG)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `QUERY_SERVICE_CONFIGW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:246:45
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let cfg = &*(buf.as_ptr() as *const QUERY_SERVICE_CONFIGW);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONFIG_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |             SERVICE_CONFIG_DELAYED_AUTO_START_INFO,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ENUMERATE_DEPENDENTS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:256:33
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let h = abrir_servico(nome, SERVICE_ENUMERATE_DEPENDENTS)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CHANGE_CONFIG` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:331:33
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let h = abrir_servico(nome, SERVICE_CHANGE_CONFIG)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACTIVE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:260:47
[INFO] [stdout]     |
[INFO] [stdout] 260 |         match EnumDependentServicesW(h.raw(), SERVICE_ACTIVE, None, 0, &mut needed, &mut count) {
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_NO_CHANGE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:335:31
[INFO] [stdout]     |
[INFO] [stdout] 335 |             ENUM_SERVICE_TYPE(SERVICE_NO_CHANGE),
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ACTIVE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             SERVICE_ACTIVE,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_NO_CHANGE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:337:27
[INFO] [stdout]     |
[INFO] [stdout] 337 |             SERVICE_ERROR(SERVICE_NO_CHANGE),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ENUM_SERVICE_STATUSW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:269:43
[INFO] [stdout]     |
[INFO] [stdout] 269 |             Some(buf.as_mut_ptr() as *mut ENUM_SERVICE_STATUSW),
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:347:22
[INFO] [stdout]     |
[INFO] [stdout] 347 |         if inicio == SERVICE_AUTO_START {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CREATE_SERVICE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let scm = abrir_scm(SC_MANAGER_CREATE_SERVICE)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ENUM_SERVICE_STATUSW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:276:40
[INFO] [stdout]     |
[INFO] [stdout] 276 |         let p = buf.as_ptr() as *const ENUM_SERVICE_STATUSW;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:287:41
[INFO] [stdout]     |
[INFO] [stdout] 287 |             let h = abrir_servico(nome, SERVICE_START)?;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:366:13
[INFO] [stdout]     |
[INFO] [stdout] 366 |             SERVICE_QUERY_STATUS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_WIN32_OWN_PROCESS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:367:13
[INFO] [stdout]     |
[INFO] [stdout] 367 |             SERVICE_WIN32_OWN_PROCESS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOP` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:292:34
[INFO] [stdout]     |
[INFO] [stdout] 292 |                 Passo::Parar => (SERVICE_STOP, SERVICE_CONTROL_STOP),
[INFO] [stdout]     |                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ERROR_NORMAL` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:369:13
[INFO] [stdout]     |
[INFO] [stdout] 369 |             SERVICE_ERROR_NORMAL,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:379:22
[INFO] [stdout]     |
[INFO] [stdout] 379 |         if inicio == SERVICE_AUTO_START && atrasado {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_STOP` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:292:48
[INFO] [stdout]     |
[INFO] [stdout] 292 |                 Passo::Parar => (SERVICE_STOP, SERVICE_CONTROL_STOP),
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_PAUSE_CONTINUE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:293:35
[INFO] [stdout]     |
[INFO] [stdout] 293 |                 Passo::Pausar => (SERVICE_PAUSE_CONTINUE, SERVICE_CONTROL_PAUSE),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_PAUSE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:293:59
[INFO] [stdout]     |
[INFO] [stdout] 293 |                 Passo::Pausar => (SERVICE_PAUSE_CONTINUE, SERVICE_CONTROL_PAUSE),
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_PAUSE_CONTINUE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:294:23
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 _ => (SERVICE_PAUSE_CONTINUE, SERVICE_CONTROL_CONTINUE),
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_CONTINUE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:294:47
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 _ => (SERVICE_PAUSE_CONTINUE, SERVICE_CONTROL_CONTINUE),
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SERVICE_START_TYPE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:306:44
[INFO] [stdout]     |
[INFO] [stdout] 306 | fn mapa_inicio(tipo: StartType) -> Result<(SERVICE_START_TYPE, bool), String> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 306 | fn mapa_inicio<SERVICE_START_TYPE>(tipo: StartType) -> Result<(SERVICE_START_TYPE, bool), String> {
[INFO] [stdout]     |               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ipv4Addr` and `Ipv6Addr`
[INFO] [stdout]  --> src/modules/net/scanner.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{Ipv4Addr, Ipv6Addr};
[INFO] [stdout]   |                ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::OsString`
[INFO] [stdout]  --> src/modules/support/winsvc.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::OsString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:308:38
[INFO] [stdout]     |
[INFO] [stdout] 308 |         StartType::Automatico => Ok((SERVICE_AUTO_START, false)),
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:309:46
[INFO] [stdout]     |
[INFO] [stdout] 309 |         StartType::AutomaticoAtrasado => Ok((SERVICE_AUTO_START, true)),
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_DEMAND_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:310:34
[INFO] [stdout]     |
[INFO] [stdout] 310 |         StartType::Manual => Ok((SERVICE_DEMAND_START, false)),
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_DISABLED` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:311:40
[INFO] [stdout]     |
[INFO] [stdout] 311 |         StartType::Desabilitado => Ok((SERVICE_DISABLED, false)),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SC_HANDLE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:316:31
[INFO] [stdout]     |
[INFO] [stdout] 316 | unsafe fn definir_atrasado(h: SC_HANDLE, atrasado: bool) -> Result<(), String> {
[INFO] [stdout]     |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SERVICE_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:318:20
[INFO] [stdout]     |
[INFO] [stdout] 318 |         let info = SERVICE_DELAYED_AUTO_START_INFO { fDelayedAutostart: BOOL::from(atrasado) };
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONFIG_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |             SERVICE_CONFIG_DELAYED_AUTO_START_INFO,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_CHANGE_CONFIG` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:331:33
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let h = abrir_servico(nome, SERVICE_CHANGE_CONFIG)?;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_NO_CHANGE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:335:31
[INFO] [stdout]     |
[INFO] [stdout] 335 |             ENUM_SERVICE_TYPE(SERVICE_NO_CHANGE),
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_NO_CHANGE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:337:27
[INFO] [stdout]     |
[INFO] [stdout] 337 |             SERVICE_ERROR(SERVICE_NO_CHANGE),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:347:22
[INFO] [stdout]     |
[INFO] [stdout] 347 |         if inicio == SERVICE_AUTO_START {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CREATE_SERVICE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let scm = abrir_scm(SC_MANAGER_CREATE_SERVICE)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:366:13
[INFO] [stdout]     |
[INFO] [stdout] 366 |             SERVICE_QUERY_STATUS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_WIN32_OWN_PROCESS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:367:13
[INFO] [stdout]     |
[INFO] [stdout] 367 |             SERVICE_WIN32_OWN_PROCESS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_ERROR_NORMAL` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:369:13
[INFO] [stdout]     |
[INFO] [stdout] 369 |             SERVICE_ERROR_NORMAL,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SERVICE_AUTO_START` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:379:22
[INFO] [stdout]     |
[INFO] [stdout] 379 |         if inicio == SERVICE_AUTO_START && atrasado {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ipv4Addr` and `Ipv6Addr`
[INFO] [stdout]  --> src/modules/net/scanner.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{Ipv4Addr, Ipv6Addr};
[INFO] [stdout]   |                ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::OsString`
[INFO] [stdout]  --> src/modules/support/winsvc.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::OsString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let _ = CloseServiceHandle(self.0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/modules/services/scm.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 |     std::ffi::OsString::from(s).encode_wide().chain(std::iter::once(0)).collect()
[INFO] [stdout]    |                                 ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         OpenSCManagerW(PCWSTR::null(), PCWSTR::null(), acesso)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenServiceW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         OpenServiceW(scm.raw(), PCWSTR(w.as_ptr()), acesso)
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS_PROCESS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:143:22
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let mut st = SERVICE_STATUS_PROCESS::default();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS_PROCESS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceStatusEx` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         QueryServiceStatusEx(h, SC_STATUS_PROCESS_INFO, Some(bytes), &mut needed)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfigW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let _ = QueryServiceConfigW(h, None, 0, &mut needed);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfigW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         QueryServiceConfigW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SERVICE_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:177:24
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut info = SERVICE_DELAYED_AUTO_START_INFO::default();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SERVICE_DELAYED_AUTO_START_INFO`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfig2W` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:183:15
[INFO] [stdout]     |
[INFO] [stdout] 183 |         match QueryServiceConfig2W(h, SERVICE_CONFIG_DELAYED_AUTO_START_INFO, Some(bytes), &mut needed) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDependentServicesW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:260:15
[INFO] [stdout]     |
[INFO] [stdout] 260 |         match EnumDependentServicesW(h.raw(), SERVICE_ACTIVE, None, 0, &mut needed, &mut count) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDependentServicesW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         EnumDependentServicesW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StartServiceW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:288:22
[INFO] [stdout]     |
[INFO] [stdout] 288 |             unsafe { StartServiceW(h.raw(), None).map_err(|e| erro("StartService", &e)) }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:297:26
[INFO] [stdout]     |
[INFO] [stdout] 297 |             let mut st = SERVICE_STATUS::default();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ControlService` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:299:17
[INFO] [stdout]     |
[INFO] [stdout] 299 |                 ControlService(h.raw(), controle, &mut st).map_err(|e| erro("ControlService", &e))
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChangeServiceConfig2W` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:319:9
[INFO] [stdout]     |
[INFO] [stdout] 319 |         ChangeServiceConfig2W(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ENUM_SERVICE_TYPE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |             ENUM_SERVICE_TYPE(SERVICE_NO_CHANGE),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SERVICE_ERROR` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:337:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |             SERVICE_ERROR(SERVICE_NO_CHANGE),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChangeServiceConfigW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:333:9
[INFO] [stdout]     |
[INFO] [stdout] 333 |         ChangeServiceConfigW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateServiceW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:362:17
[INFO] [stdout]     |
[INFO] [stdout] 362 |         let h = CreateServiceW(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope
[INFO] [stdout]   --> src/modules/services/scm.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let _ = CloseServiceHandle(self.0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/modules/services/scm.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 |     std::ffi::OsString::from(s).encode_wide().chain(std::iter::once(0)).collect()
[INFO] [stdout]    |                                 ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         OpenSCManagerW(PCWSTR::null(), PCWSTR::null(), acesso)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenServiceW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         OpenServiceW(scm.raw(), PCWSTR(w.as_ptr()), acesso)
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS_PROCESS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:143:22
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let mut st = SERVICE_STATUS_PROCESS::default();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS_PROCESS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceStatusEx` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         QueryServiceStatusEx(h, SC_STATUS_PROCESS_INFO, Some(bytes), &mut needed)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfigW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let _ = QueryServiceConfigW(h, None, 0, &mut needed);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfigW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         QueryServiceConfigW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SERVICE_DELAYED_AUTO_START_INFO` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:177:24
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut info = SERVICE_DELAYED_AUTO_START_INFO::default();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SERVICE_DELAYED_AUTO_START_INFO`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfig2W` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:183:15
[INFO] [stdout]     |
[INFO] [stdout] 183 |         match QueryServiceConfig2W(h, SERVICE_CONFIG_DELAYED_AUTO_START_INFO, Some(bytes), &mut needed) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDependentServicesW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:260:15
[INFO] [stdout]     |
[INFO] [stdout] 260 |         match EnumDependentServicesW(h.raw(), SERVICE_ACTIVE, None, 0, &mut needed, &mut count) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDependentServicesW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         EnumDependentServicesW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StartServiceW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:288:22
[INFO] [stdout]     |
[INFO] [stdout] 288 |             unsafe { StartServiceW(h.raw(), None).map_err(|e| erro("StartService", &e)) }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:297:26
[INFO] [stdout]     |
[INFO] [stdout] 297 |             let mut st = SERVICE_STATUS::default();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ControlService` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:299:17
[INFO] [stdout]     |
[INFO] [stdout] 299 |                 ControlService(h.raw(), controle, &mut st).map_err(|e| erro("ControlService", &e))
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChangeServiceConfig2W` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:319:9
[INFO] [stdout]     |
[INFO] [stdout] 319 |         ChangeServiceConfig2W(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ENUM_SERVICE_TYPE` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |             ENUM_SERVICE_TYPE(SERVICE_NO_CHANGE),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SERVICE_ERROR` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:337:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |             SERVICE_ERROR(SERVICE_NO_CHANGE),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChangeServiceConfigW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:333:9
[INFO] [stdout]     |
[INFO] [stdout] 333 |         ChangeServiceConfigW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateServiceW` in this scope
[INFO] [stdout]    --> src/modules/services/scm.rs:362:17
[INFO] [stdout]     |
[INFO] [stdout] 362 |         let h = CreateServiceW(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cli_admin` (lib) due to 86 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cli_admin` (lib test) due to 86 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b98879cd9a049592385a2686bc45c0fc69332e46cb398483b5958915e6d0efb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b98879cd9a049592385a2686bc45c0fc69332e46cb398483b5958915e6d0efb0", kill_on_drop: false }`
[INFO] [stdout] b98879cd9a049592385a2686bc45c0fc69332e46cb398483b5958915e6d0efb0
