[INFO] cloning repository https://github.com/0xsyk0/RustHarderService
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xsyk0/RustHarderService" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xsyk0%2FRustHarderService", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xsyk0%2FRustHarderService'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d96e9def1fa081fce7a5e22c45ca52826568dc12
[INFO] checking 0xsyk0/RustHarderService against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xsyk0%2FRustHarderService" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xsyk0/RustHarderService
[INFO] finished tweaking git repo https://github.com/0xsyk0/RustHarderService
[INFO] tweaked toml for git repo https://github.com/0xsyk0/RustHarderService written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xsyk0/RustHarderService on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xsyk0/RustHarderService 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 462edf494268eadc137c24706fad9572614ed41657d64a31e14a444fb499488a
[INFO] running `Command { std: "docker" "start" "-a" "462edf494268eadc137c24706fad9572614ed41657d64a31e14a444fb499488a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "462edf494268eadc137c24706fad9572614ed41657d64a31e14a444fb499488a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "462edf494268eadc137c24706fad9572614ed41657d64a31e14a444fb499488a", kill_on_drop: false }`
[INFO] [stdout] 462edf494268eadc137c24706fad9572614ed41657d64a31e14a444fb499488a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97bf1096d4f32ee81d926b7c49dbc51f4640c8a8a61747edde08572fe86c7b90
[INFO] running `Command { std: "docker" "start" "-a" "97bf1096d4f32ee81d926b7c49dbc51f4640c8a8a61747edde08572fe86c7b90", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]     Checking bytes v1.7.2
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking once_cell v1.20.1
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]    Compiling cc v1.1.22
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking rustls-pki-types v1.9.0
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking indexmap v2.5.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking ipnet v2.10.0
[INFO] [stderr]     Checking windows-service v0.5.0
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking h2 v0.4.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.4.1
[INFO] [stderr]     Checking hyper-util v0.1.9
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.8
[INFO] [stderr]     Checking RustHarderService v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/serviceapp.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::basetsd::SIZE_T;
[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/serviceapp.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::minwindef::{BOOL, DWORD, LPVOID, LPCVOID, FALSE};
[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/serviceapp.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::ntdef::HANDLE;
[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/serviceapp.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::libloaderapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/serviceapp.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::minwinbase::*;
[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/serviceapp.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/serviceapp.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::sysinfoapi::{GlobalMemoryStatusEx, MEMORYSTATUSEX};
[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/serviceapp.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::winbase::CREATE_SUSPENDED; 
[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/serviceapp.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::shared::basetsd::ULONG_PTR;
[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/serviceapp.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winnt::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::service`, `windows_service::service_manager`
[INFO] [stdout]  --> src/register.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     service::{
[INFO] [stdout]   |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout] 5 |     service_manager::{ServiceManager, ServiceManagerAccess},
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ could not find `service_manager` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service`, `windows_service::service_control_handler`, `windows_service::service_control_handler`, `windows_service::service_dispatcher`, `windows_service::Result`
[INFO] [stdout]   --> src/main.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     define_windows_service,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ no `define_windows_service` in the root
[INFO] [stdout]  8 |     service::{
[INFO] [stdout]    |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     service_control_handler::{self, ServiceControlHandlerResult},
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^   ^^^^ no `service_control_handler` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 13 |     service_dispatcher, Result,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^  ^^^^^^ no `Result` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     no `service_dispatcher` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these items instead:
[INFO] [stdout]            crate::thread::Result
[INFO] [stdout]            std::fmt::Result
[INFO] [stdout]            std::io::Result
[INFO] [stdout]            std::result::Result
[INFO] [stdout]            std::thread::Result
[INFO] [stdout]            core::fmt::Result
[INFO] [stdout]            core::result::Result
[INFO] [stdout]            reqwest::Result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/serviceapp.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::basetsd::SIZE_T;
[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/serviceapp.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::minwindef::{BOOL, DWORD, LPVOID, LPCVOID, FALSE};
[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/serviceapp.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::ntdef::HANDLE;
[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/serviceapp.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::libloaderapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/serviceapp.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::minwinbase::*;
[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/serviceapp.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/serviceapp.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::sysinfoapi::{GlobalMemoryStatusEx, MEMORYSTATUSEX};
[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/serviceapp.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::winbase::CREATE_SUSPENDED; 
[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/serviceapp.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::shared::basetsd::ULONG_PTR;
[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/serviceapp.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winnt::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::service`, `windows_service::service_manager`
[INFO] [stdout]  --> src/register.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     service::{
[INFO] [stdout]   |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout] 5 |     service_manager::{ServiceManager, ServiceManagerAccess},
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ could not find `service_manager` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service`, `windows_service::service_control_handler`, `windows_service::service_control_handler`, `windows_service::service_dispatcher`, `windows_service::Result`
[INFO] [stdout]   --> src/main.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     define_windows_service,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ no `define_windows_service` in the root
[INFO] [stdout]  8 |     service::{
[INFO] [stdout]    |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     service_control_handler::{self, ServiceControlHandlerResult},
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^   ^^^^ no `service_control_handler` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 13 |     service_dispatcher, Result,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^  ^^^^^^ no `Result` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     no `service_dispatcher` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these items instead:
[INFO] [stdout]            crate::thread::Result
[INFO] [stdout]            std::fmt::Result
[INFO] [stdout]            std::io::Result
[INFO] [stdout]            std::result::Result
[INFO] [stdout]            std::thread::Result
[INFO] [stdout]            core::fmt::Result
[INFO] [stdout]            core::result::Result
[INFO] [stdout]            reqwest::Result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPCSTR` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:53
[INFO] [stdout]    |
[INFO] [stdout] 65 | type CreateProcessAFunc = unsafe extern "system" fn(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID...
[INFO] [stdout]    |                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPSTR` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:61
[INFO] [stdout]    |
[INFO] [stdout] 65 | type CreateProcessAFunc = unsafe extern "system" fn(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID...
[INFO] [stdout]    |                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPSECURITY_ATTRIBUTES` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:68
[INFO] [stdout]    |
[INFO] [stdout] 65 | type CreateProcessAFunc = unsafe extern "system" fn(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID...
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPSECURITY_ATTRIBUTES` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:91
[INFO] [stdout]    |
[INFO] [stdout] 65 | ... fn(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATI...
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPCSTR` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:135
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...TES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION) -> BOOL;
[INFO] [stdout]    |                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPSTARTUPINFOA` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:143
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...ITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION) -> BOOL;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPPROCESS_INFORMATION` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:159
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...L, DWORD, LPVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION) -> BOOL;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PAPCFUNC` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:67:51
[INFO] [stdout]    |
[INFO] [stdout] 67 | type QueueUserAPCFunc = unsafe extern "system" fn(PAPCFUNC, HANDLE, ULONG_PTR) -> BOOL;
[INFO] [stdout]    |                                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `STARTUPINFOA` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut si: STARTUPINFOA = unsafe { std::mem::zeroed() };
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_INFORMATION` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut pi: PROCESS_INFORMATION = unsafe { std::mem::zeroed() };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:145:86
[INFO] [stdout]     |
[INFO] [stdout] 145 | ...   let shell_address = pw_virtual_alloc_ex(pi.hProcess, null_mut(), alloc_size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
[INFO] [stdout]     |                                                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:145:99
[INFO] [stdout]     |
[INFO] [stdout] 145 | ...Process, null_mut(), alloc_size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
[INFO] [stdout]     |                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:145:112
[INFO] [stdout]     |
[INFO] [stdout] 145 | ...), alloc_size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]   --> src/main.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn service_main(_arguments: Vec<std::ffi::OsString>) {
[INFO] [stdout]    | ---------------------------------------------------- similarly named function `service_main` defined here
[INFO] [stdout] ...
[INFO] [stdout] 59 |     if let Err(e) = service_dispatcher::start(SERVICE_NAME, ffi_service_main) {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `service_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/main.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{thread, time::Duration};
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:36:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |             let _value: ULONG_PTR = GetCurrentThreadId() as ULONG_PTR;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPCSTR` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:53
[INFO] [stdout]    |
[INFO] [stdout] 65 | type CreateProcessAFunc = unsafe extern "system" fn(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID...
[INFO] [stdout]    |                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPSTR` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:61
[INFO] [stdout]    |
[INFO] [stdout] 65 | type CreateProcessAFunc = unsafe extern "system" fn(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID...
[INFO] [stdout]    |                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPSECURITY_ATTRIBUTES` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:68
[INFO] [stdout]    |
[INFO] [stdout] 65 | type CreateProcessAFunc = unsafe extern "system" fn(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID...
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPSECURITY_ATTRIBUTES` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:91
[INFO] [stdout]    |
[INFO] [stdout] 65 | ... fn(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATI...
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPCSTR` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:135
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...TES, LPSECURITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION) -> BOOL;
[INFO] [stdout]    |                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPSTARTUPINFOA` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:143
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...ITY_ATTRIBUTES, BOOL, DWORD, LPVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION) -> BOOL;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPPROCESS_INFORMATION` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:65:159
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...L, DWORD, LPVOID, LPCSTR, LPSTARTUPINFOA, LPPROCESS_INFORMATION) -> BOOL;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PAPCFUNC` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:67:51
[INFO] [stdout]    |
[INFO] [stdout] 67 | type QueueUserAPCFunc = unsafe extern "system" fn(PAPCFUNC, HANDLE, ULONG_PTR) -> BOOL;
[INFO] [stdout]    |                                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let module_handle = GetModuleHandleA(module_cstr.as_ptr());
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:55:28
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let proc_address = GetProcAddress(module_handle, proc_name_cstr.as_ptr());
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `STARTUPINFOA` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut si: STARTUPINFOA = unsafe { std::mem::zeroed() };
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_INFORMATION` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut pi: PROCESS_INFORMATION = unsafe { std::mem::zeroed() };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:145:86
[INFO] [stdout]     |
[INFO] [stdout] 145 | ...   let shell_address = pw_virtual_alloc_ex(pi.hProcess, null_mut(), alloc_size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
[INFO] [stdout]     |                                                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:145:99
[INFO] [stdout]     |
[INFO] [stdout] 145 | ...Process, null_mut(), alloc_size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
[INFO] [stdout]     |                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:145:112
[INFO] [stdout]     |
[INFO] [stdout] 145 | ...), alloc_size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]   --> src/main.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn service_main(_arguments: Vec<std::ffi::OsString>) {
[INFO] [stdout]    | ---------------------------------------------------- similarly named function `service_main` defined here
[INFO] [stdout] ...
[INFO] [stdout] 59 |     if let Err(e) = service_dispatcher::start(SERVICE_NAME, ffi_service_main) {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `service_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/main.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{thread, time::Duration};
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         ResumeThread(pi.hThread);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:36:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |             let _value: ULONG_PTR = GetCurrentThreadId() as ULONG_PTR;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let module_handle = GetModuleHandleA(module_cstr.as_ptr());
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/serviceapp.rs:55:28
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let proc_address = GetProcAddress(module_handle, proc_name_cstr.as_ptr());
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]    --> src/serviceapp.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         ResumeThread(pi.hThread);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustHarderService` (bin "RustHarderService") due to 30 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustHarderService` (bin "RustHarderService" test) due to 30 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "97bf1096d4f32ee81d926b7c49dbc51f4640c8a8a61747edde08572fe86c7b90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97bf1096d4f32ee81d926b7c49dbc51f4640c8a8a61747edde08572fe86c7b90", kill_on_drop: false }`
[INFO] [stdout] 97bf1096d4f32ee81d926b7c49dbc51f4640c8a8a61747edde08572fe86c7b90
