[INFO] updating cached repository https://github.com/maroider/syringe
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 5dbe818dc147f57f388d9df8ec303ed41a701fb3
[INFO] checking maroider/syringe against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaroider%2Fsyringe" "/workspace/builds/worker-2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/maroider/syringe on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/maroider/syringe
[INFO] finished tweaking git repo https://github.com/maroider/syringe
[INFO] tweaked toml for git repo https://github.com/maroider/syringe written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/maroider/syringe already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 688f4f446dac75e00b357f0fe047296d9dbd5c24f623b9f38a4fd821e627ea4a
[INFO] running `"docker" "start" "-a" "688f4f446dac75e00b357f0fe047296d9dbd5c24f623b9f38a4fd821e627ea4a"`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking syringe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: This crate is currently only compatible with Windows
[INFO] [stderr]  --> src/main.rs:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | compile_error!("This crate is currently only compatible with Windows");
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: This crate is currently only compatible with Windows
[INFO] [stderr]  --> src/main.rs:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | compile_error!("This crate is currently only compatible with Windows");
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/main.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     os::windows::ffi::{OsStrExt, OsStringExt},
[INFO] [stderr]    |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     shared::minwindef::FALSE,
[INFO] [stderr]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     um::{
[INFO] [stderr]    |     ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]   --> src/main.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     ctypes::{c_char, c_void},
[INFO] [stderr]    |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/main.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     os::windows::ffi::{OsStrExt, OsStringExt},
[INFO] [stderr]    |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stderr]   --> src/main.rs:56:22
[INFO] [stderr]    |
[INFO] [stderr] 56 |         let handle = OpenProcess(
[INFO] [stderr]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     shared::minwindef::FALSE,
[INFO] [stderr]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     um::{
[INFO] [stderr]    |     ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]   --> src/main.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     ctypes::{c_char, c_void},
[INFO] [stderr]    |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_CREATE_THREAD` in this scope
[INFO] [stderr]   --> src/main.rs:57:13
[INFO] [stderr]    |
[INFO] [stderr] 57 |             PROCESS_CREATE_THREAD
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stderr]   --> src/main.rs:58:19
[INFO] [stderr]    |
[INFO] [stderr] 58 |                 | PROCESS_QUERY_INFORMATION
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_VM_OPERATION` in this scope
[INFO] [stderr]   --> src/main.rs:59:19
[INFO] [stderr]    |
[INFO] [stderr] 59 |                 | PROCESS_VM_OPERATION
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope
[INFO] [stderr]   --> src/main.rs:60:19
[INFO] [stderr]    |
[INFO] [stderr] 60 |                 | PROCESS_VM_WRITE
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stderr]   --> src/main.rs:61:19
[INFO] [stderr]    |
[INFO] [stderr] 61 |                 | PROCESS_VM_READ,
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]   --> src/main.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 62 |             FALSE,
[INFO] [stderr]    |             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope
[INFO] [stderr]   --> src/main.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |             VirtualAllocEx(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stderr]   --> src/main.rs:82:17
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 MEM_COMMIT | MEM_RESERVE,
[INFO] [stderr]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stderr]   --> src/main.rs:82:30
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 MEM_COMMIT | MEM_RESERVE,
[INFO] [stderr]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stderr]   --> src/main.rs:83:17
[INFO] [stderr]    |
[INFO] [stderr] 83 |                 PAGE_EXECUTE_READWRITE,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stderr]   --> src/main.rs:95:9
[INFO] [stderr]    |
[INFO] [stderr] 95 |         WriteProcessMemory(
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stderr]    --> src/main.rs:112:13
[INFO] [stderr]     |
[INFO] [stderr] 112 |             GetProcAddress(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stderr]    --> src/main.rs:113:17
[INFO] [stderr]     |
[INFO] [stderr] 113 |                 GetModuleHandleA("Kernel32\0".as_ptr() as *const c_char),
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope
[INFO] [stderr]    --> src/main.rs:126:13
[INFO] [stderr]     |
[INFO] [stderr] 126 |             CreateRemoteThread(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPTHREAD_START_ROUTINE` in this scope
[INFO] [stderr]    --> src/main.rs:130:37
[INFO] [stderr]     |
[INFO] [stderr] 54  | fn inject_dll(pid: u32, dll: &Path) -> WinapiResult<()> {
[INFO] [stderr]     |              - help: you might be missing a type parameter: `<LPTHREAD_START_ROUTINE>`
[INFO] [stderr] ...
[INFO] [stderr] 130 |                 mem::transmute::<_, LPTHREAD_START_ROUTINE>(load_library_w_function_address),
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope
[INFO] [stderr]    --> src/main.rs:145:17
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if unsafe { WaitForSingleObject(thread, INFINITE) } == WAIT_FAILED {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INFINITE` in this scope
[INFO] [stderr]    --> src/main.rs:145:45
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if unsafe { WaitForSingleObject(thread, INFINITE) } == WAIT_FAILED {
[INFO] [stderr]     |                                             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WAIT_FAILED` in this scope
[INFO] [stderr]    --> src/main.rs:145:60
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if unsafe { WaitForSingleObject(thread, INFINITE) } == WAIT_FAILED {
[INFO] [stderr]     |                                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope
[INFO] [stderr]    --> src/main.rs:154:9
[INFO] [stderr]     |
[INFO] [stderr] 154 |         VirtualFreeEx(
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stderr]    --> src/main.rs:158:13
[INFO] [stderr]     |
[INFO] [stderr] 158 |             MEM_RELEASE,
[INFO] [stderr]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/main.rs:163:14
[INFO] [stderr]     |
[INFO] [stderr] 163 |     unsafe { CloseHandle(thread) };
[INFO] [stderr]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/main.rs:166:14
[INFO] [stderr]     |
[INFO] [stderr] 166 |     unsafe { CloseHandle(process_handle) };
[INFO] [stderr]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]    --> src/main.rs:180:29
[INFO] [stderr]     |
[INFO] [stderr] 180 |         let code = unsafe { GetLastError() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope
[INFO] [stderr]    --> src/main.rs:191:13
[INFO] [stderr]     |
[INFO] [stderr] 191 |             FormatMessageW(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_ALLOCATE_BUFFER` in this scope
[INFO] [stderr]    --> src/main.rs:192:17
[INFO] [stderr]     |
[INFO] [stderr] 192 |                 FORMAT_MESSAGE_ALLOCATE_BUFFER
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope
[INFO] [stderr]    --> src/main.rs:193:23
[INFO] [stderr]     |
[INFO] [stderr] 193 |                     | FORMAT_MESSAGE_FROM_SYSTEM
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope
[INFO] [stderr]    --> src/main.rs:194:23
[INFO] [stderr]     |
[INFO] [stderr] 194 |                     | FORMAT_MESSAGE_IGNORE_INSERTS,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MAKELANGID` in this scope
[INFO] [stderr]    --> src/main.rs:197:17
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) as u32,
[INFO] [stderr]     |                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `LANG_NEUTRAL` in this scope
[INFO] [stderr]    --> src/main.rs:197:28
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) as u32,
[INFO] [stderr]     |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SUBLANG_DEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:197:42
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) as u32,
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stderr]   --> src/main.rs:56:22
[INFO] [stderr]    |
[INFO] [stderr] 56 |         let handle = OpenProcess(
[INFO] [stderr]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_CREATE_THREAD` in this scope
[INFO] [stderr]   --> src/main.rs:57:13
[INFO] [stderr]    |
[INFO] [stderr] 57 |             PROCESS_CREATE_THREAD
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stderr]   --> src/main.rs:58:19
[INFO] [stderr]    |
[INFO] [stderr] 58 |                 | PROCESS_QUERY_INFORMATION
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_VM_OPERATION` in this scope
[INFO] [stderr]   --> src/main.rs:59:19
[INFO] [stderr]    |
[INFO] [stderr] 59 |                 | PROCESS_VM_OPERATION
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope
[INFO] [stderr]   --> src/main.rs:60:19
[INFO] [stderr]    |
[INFO] [stderr] 60 |                 | PROCESS_VM_WRITE
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stderr]   --> src/main.rs:61:19
[INFO] [stderr]    |
[INFO] [stderr] 61 |                 | PROCESS_VM_READ,
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stderr]   --> src/main.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 62 |             FALSE,
[INFO] [stderr]    |             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope
[INFO] [stderr]   --> src/main.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |             VirtualAllocEx(
[INFO] [stderr]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stderr]   --> src/main.rs:82:17
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 MEM_COMMIT | MEM_RESERVE,
[INFO] [stderr]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stderr]   --> src/main.rs:82:30
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 MEM_COMMIT | MEM_RESERVE,
[INFO] [stderr]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stderr]   --> src/main.rs:83:17
[INFO] [stderr]    |
[INFO] [stderr] 83 |                 PAGE_EXECUTE_READWRITE,
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope
[INFO] [stderr]   --> src/main.rs:95:9
[INFO] [stderr]    |
[INFO] [stderr] 95 |         WriteProcessMemory(
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stderr]    --> src/main.rs:112:13
[INFO] [stderr]     |
[INFO] [stderr] 112 |             GetProcAddress(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stderr]    --> src/main.rs:113:17
[INFO] [stderr]     |
[INFO] [stderr] 113 |                 GetModuleHandleA("Kernel32\0".as_ptr() as *const c_char),
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope
[INFO] [stderr]    --> src/main.rs:126:13
[INFO] [stderr]     |
[INFO] [stderr] 126 |             CreateRemoteThread(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPTHREAD_START_ROUTINE` in this scope
[INFO] [stderr]    --> src/main.rs:130:37
[INFO] [stderr]     |
[INFO] [stderr] 54  | fn inject_dll(pid: u32, dll: &Path) -> WinapiResult<()> {
[INFO] [stderr]     |              - help: you might be missing a type parameter: `<LPTHREAD_START_ROUTINE>`
[INFO] [stderr] ...
[INFO] [stderr] 130 |                 mem::transmute::<_, LPTHREAD_START_ROUTINE>(load_library_w_function_address),
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope
[INFO] [stderr]    --> src/main.rs:145:17
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if unsafe { WaitForSingleObject(thread, INFINITE) } == WAIT_FAILED {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `INFINITE` in this scope
[INFO] [stderr]    --> src/main.rs:145:45
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if unsafe { WaitForSingleObject(thread, INFINITE) } == WAIT_FAILED {
[INFO] [stderr]     |                                             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WAIT_FAILED` in this scope
[INFO] [stderr]    --> src/main.rs:145:60
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if unsafe { WaitForSingleObject(thread, INFINITE) } == WAIT_FAILED {
[INFO] [stderr]     |                                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope
[INFO] [stderr]    --> src/main.rs:154:9
[INFO] [stderr]     |
[INFO] [stderr] 154 |         VirtualFreeEx(
[INFO] [stderr]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stderr]    --> src/main.rs:158:13
[INFO] [stderr]     |
[INFO] [stderr] 158 |             MEM_RELEASE,
[INFO] [stderr]     |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/main.rs:163:14
[INFO] [stderr]     |
[INFO] [stderr] 163 |     unsafe { CloseHandle(thread) };
[INFO] [stderr]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stderr]    --> src/main.rs:166:14
[INFO] [stderr]     |
[INFO] [stderr] 166 |     unsafe { CloseHandle(process_handle) };
[INFO] [stderr]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stderr]    --> src/main.rs:180:29
[INFO] [stderr]     |
[INFO] [stderr] 180 |         let code = unsafe { GetLastError() };
[INFO] [stderr]     |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope
[INFO] [stderr]    --> src/main.rs:191:13
[INFO] [stderr]     |
[INFO] [stderr] 191 |             FormatMessageW(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_ALLOCATE_BUFFER` in this scope
[INFO] [stderr]    --> src/main.rs:192:17
[INFO] [stderr]     |
[INFO] [stderr] 192 |                 FORMAT_MESSAGE_ALLOCATE_BUFFER
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope
[INFO] [stderr]    --> src/main.rs:193:23
[INFO] [stderr]     |
[INFO] [stderr] 193 |                     | FORMAT_MESSAGE_FROM_SYSTEM
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope
[INFO] [stderr]    --> src/main.rs:194:23
[INFO] [stderr]     |
[INFO] [stderr] 194 |                     | FORMAT_MESSAGE_IGNORE_INSERTS,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MAKELANGID` in this scope
[INFO] [stderr]    --> src/main.rs:197:17
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) as u32,
[INFO] [stderr]     |                 ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `LANG_NEUTRAL` in this scope
[INFO] [stderr]    --> src/main.rs:197:28
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) as u32,
[INFO] [stderr]     |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SUBLANG_DEFAULT` in this scope
[INFO] [stderr]    --> src/main.rs:197:42
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) as u32,
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/main.rs:73:55
[INFO] [stderr]    |
[INFO] [stderr] 73 |     let payload_file_path: Vec<u16> = dll.as_os_str().encode_wide().chain(iter::once(0)).collect();
[INFO] [stderr]    |                                                       ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/main.rs:73:55
[INFO] [stderr]    |
[INFO] [stderr] 73 |     let payload_file_path: Vec<u16> = dll.as_os_str().encode_wide().chain(iter::once(0)).collect();
[INFO] [stderr]    |                                                       ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]    --> src/main.rs:210:33
[INFO] [stderr]     |
[INFO] [stderr] 210 |         let message = OsString::from_wide(message_slice);
[INFO] [stderr]     |                                 ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 38 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]    --> src/main.rs:210:33
[INFO] [stderr]     |
[INFO] [stderr] 210 |         let message = OsString::from_wide(message_slice);
[INFO] [stderr]     |                                 ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 38 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `syringe`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `syringe`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "688f4f446dac75e00b357f0fe047296d9dbd5c24f623b9f38a4fd821e627ea4a"`
[INFO] running `"docker" "rm" "-f" "688f4f446dac75e00b357f0fe047296d9dbd5c24f623b9f38a4fd821e627ea4a"`
[INFO] [stdout] 688f4f446dac75e00b357f0fe047296d9dbd5c24f623b9f38a4fd821e627ea4a
