[INFO] cloning repository https://github.com/segura2010/obs-enjoyer-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/segura2010/obs-enjoyer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegura2010%2Fobs-enjoyer-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegura2010%2Fobs-enjoyer-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8896c5aa87869dd267f9de211c3b1554091b2c0f
[INFO] checking segura2010/obs-enjoyer-rs against try#8ac0915e346f9a2e49ca3951b642c55bd7d1eaab for pr-158447
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegura2010%2Fobs-enjoyer-rs" "/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/segura2010/obs-enjoyer-rs
[INFO] finished tweaking git repo https://github.com/segura2010/obs-enjoyer-rs
[INFO] tweaked toml for git repo https://github.com/segura2010/obs-enjoyer-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/segura2010/obs-enjoyer-rs on toolchain 8ac0915e346f9a2e49ca3951b642c55bd7d1eaab
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/segura2010/obs-enjoyer-rs 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" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking segura2010/obs-enjoyer-rs against try#8ac0915e346f9a2e49ca3951b642c55bd7d1eaab for pr-158447
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegura2010%2Fobs-enjoyer-rs" "/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/segura2010/obs-enjoyer-rs
[INFO] finished tweaking git repo https://github.com/segura2010/obs-enjoyer-rs
[INFO] tweaked toml for git repo https://github.com/segura2010/obs-enjoyer-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/segura2010/obs-enjoyer-rs on toolchain 8ac0915e346f9a2e49ca3951b642c55bd7d1eaab
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/segura2010/obs-enjoyer-rs 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" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v2.34.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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9bc84d0348ad11e900c899b77190bd7b35c47b20102cb76c5d30357feb3d14a6
[INFO] running `Command { std: "docker" "start" "9bc84d0348ad11e900c899b77190bd7b35c47b20102cb76c5d30357feb3d14a6", 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" "9bc84d0348ad11e900c899b77190bd7b35c47b20102cb76c5d30357feb3d14a6" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bc84d0348ad11e900c899b77190bd7b35c47b20102cb76c5d30357feb3d14a6", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9bc84d0348ad11e900c899b77190bd7b35c47b20102cb76c5d30357feb3d14a6" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking obs-enjoyer-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::processthreadsapi::{CreateProcessW, ResumeThread, PROCESS_INFORMATION, STARTUPINFOW};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winbase::CREATE_SUSPENDED;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::{shared::{minwindef::DWORD, ntdef::{HANDLE, NULL}}, um::{errhandlingapi::{AddVectoredExceptionHandler, GetLastError}, han...
[INFO] [stdout]   |              ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:65
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::{shared::{minwindef::DWORD, ntdef::{HANDLE, NULL}}, um::{errhandlingapi::{AddVectoredExceptionHandler, GetLastError}, han...
[INFO] [stdout]   |                                                                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `vc` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:590
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...TERS, PEXCEPTION_POINTERS, THREAD_ALL_ACCESS}}, vc::excpt::{EXCEPTION_CONTINUE_EXECUTION, EXCEPTION_CONTINUE_SEARCH}};
[INFO] [stdout]   |                                                    ^^ could not find `vc` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::{TRUE, FALSE};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winnt::{self, PROCESS_QUERY_INFORMATION};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::{shared::{minwindef::DWORD, ntdef::{HANDLE, NULL}}, um::{errhandlingapi::{AddVectoredExceptionHandler, GetLastError}, han...
[INFO] [stdout]   |              ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:65
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::{shared::{minwindef::DWORD, ntdef::{HANDLE, NULL}}, um::{errhandlingapi::{AddVectoredExceptionHandler, GetLastError}, han...
[INFO] [stdout]   |                                                                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `vc` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:590
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...TERS, PEXCEPTION_POINTERS, THREAD_ALL_ACCESS}}, vc::excpt::{EXCEPTION_CONTINUE_EXECUTION, EXCEPTION_CONTINUE_SEARCH}};
[INFO] [stdout]   |                                                    ^^ could not find `vc` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::{TRUE, FALSE};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::processthreadsapi::{OpenProcess};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::psapi::{EnumProcessModulesEx, GetModuleFileNameExW, LIST_MODULES_ALL};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winnt::{self, PROCESS_QUERY_INFORMATION};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/memory.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::minwindef::{HMODULE, LPVOID};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::memoryapi::{ReadProcessMemory};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::processthreadsapi::{OpenProcess};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::psapi::{EnumProcessModulesEx, GetModuleFileNameExW, LIST_MODULES_ALL};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/memory.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::minwindef::{HMODULE, LPVOID};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/memory.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::memoryapi::{ReadProcessMemory};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::processthreadsapi::{CreateProcessW, ResumeThread, PROCESS_INFORMATION, STARTUPINFOW};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winbase::CREATE_SUSPENDED;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:82:37
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let dll_path_addr = winapi::um::memoryapi::VirtualAllocEx(
[INFO] [stdout]    |                                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let saved_bytes = unsafe { winapi::um::memoryapi::VirtualAlloc(
[INFO] [stdout]    |                                        ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |             winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE, winapi::um::winnt::PAGE_EXECUTE_READWRITE);
[INFO] [stdout]    |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |         winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE,
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:84:53
[INFO] [stdout]    |
[INFO] [stdout] 84 |             winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE, winapi::um::winnt::PAGE_EXECUTE_READWRITE);
[INFO] [stdout]    |                                                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:84:85
[INFO] [stdout]    |
[INFO] [stdout] 84 |             winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE, winapi::um::winnt::PAGE_EXECUTE_READWRITE);
[INFO] [stdout]    |                                                                                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:19:49
[INFO] [stdout]    |
[INFO] [stdout] 19 |         winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE,
[INFO] [stdout]    |                                                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 | ...   winapi::um::memoryapi::WriteProcessMemory(process_info.hProcess, dll_path_addr as _, evil_dll.as_ptr() as _, evil_dll.len(), 0...
[INFO] [stdout]    |               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:89:39
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let kernel32_handle = winapi::um::libloaderapi::LoadLibraryA(CString::new("kernel32.dll").unwrap().as_ptr() as _);
[INFO] [stdout]    |                                       ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |         winapi::um::winnt::PAGE_EXECUTE_READWRITE) };
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:82:37
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let dll_path_addr = winapi::um::memoryapi::VirtualAllocEx(
[INFO] [stdout]    |                                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:90:41
[INFO] [stdout]    |
[INFO] [stdout] 90 | ...   let loadlibrarya_addr = winapi::um::libloaderapi::GetProcAddress(kernel32_handle, CString::new("LoadLibraryA").unwrap().as_ptr...
[INFO] [stdout]    |                                       ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let saved_bytes = unsafe { winapi::um::memoryapi::VirtualAlloc(
[INFO] [stdout]    |                                        ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |         winapi::um::memoryapi::VirtualProtect(originalfn_ptr as _, 15, winapi::um::winnt::PAGE_EXECUTE_READWRITE, &mut old_prot);
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:93:37
[INFO] [stdout]    |
[INFO] [stdout] 93 | ...   let thread_handle = winapi::um::processthreadsapi::CreateRemoteThread(process_info.hProcess, 0 as _, 0 as _, Some(std::mem::tr...
[INFO] [stdout]    |                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |         winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE,
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]    --> src/main.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |         winapi::um::handleapi::CloseHandle(process_info.hProcess);
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |             winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE, winapi::um::winnt::PAGE_EXECUTE_READWRITE);
[INFO] [stdout]    |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:26:74
[INFO] [stdout]    |
[INFO] [stdout] 26 |         winapi::um::memoryapi::VirtualProtect(originalfn_ptr as _, 15, winapi::um::winnt::PAGE_EXECUTE_READWRITE, &mut old_prot);
[INFO] [stdout]    |                                                                                ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]    --> src/main.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |         winapi::um::handleapi::CloseHandle(process_info.hThread);
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:19:49
[INFO] [stdout]    |
[INFO] [stdout] 19 |         winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE,
[INFO] [stdout]    |                                                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 |         winapi::um::memoryapi::VirtualProtect(originalfn_ptr as _, 15, old_prot, &mut old_prot);
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:84:53
[INFO] [stdout]    |
[INFO] [stdout] 84 |             winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE, winapi::um::winnt::PAGE_EXECUTE_READWRITE);
[INFO] [stdout]    |                                                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |         winapi::um::winnt::PAGE_EXECUTE_READWRITE) };
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `ctypes` in `winapi`
[INFO] [stdout]   --> src/memory.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub phandle: Option<*mut winapi::ctypes::c_void>,
[INFO] [stdout]    |                                      ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:84:85
[INFO] [stdout]    |
[INFO] [stdout] 84 |             winapi::um::winnt::MEM_COMMIT | winapi::um::winnt::MEM_RESERVE, winapi::um::winnt::PAGE_EXECUTE_READWRITE);
[INFO] [stdout]    |                                                                                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |         winapi::um::memoryapi::VirtualProtect(originalfn_ptr as _, 15, winapi::um::winnt::PAGE_EXECUTE_READWRITE, &mut old_prot);
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 | ...   winapi::um::memoryapi::WriteProcessMemory(process_info.hProcess, dll_path_addr as _, evil_dll.as_ptr() as _, evil_dll.len(), 0...
[INFO] [stdout]    |               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `ctypes` in `winapi`
[INFO] [stdout]   --> src/memory.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn new(h: *mut winapi::ctypes::c_void) -> Self {
[INFO] [stdout]    |                                ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:26:74
[INFO] [stdout]    |
[INFO] [stdout] 26 |         winapi::um::memoryapi::VirtualProtect(originalfn_ptr as _, 15, winapi::um::winnt::PAGE_EXECUTE_READWRITE, &mut old_prot);
[INFO] [stdout]    |                                                                                ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `ctypes` in `winapi`
[INFO] [stdout]   --> src/lib.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let phandle: *mut winapi::ctypes::c_void = rax as _;
[INFO] [stdout]    |                               ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:89:39
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let kernel32_handle = winapi::um::libloaderapi::LoadLibraryA(CString::new("kernel32.dll").unwrap().as_ptr() as _);
[INFO] [stdout]    |                                       ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:66:11
[INFO] [stdout]    |
[INFO] [stdout] 66 |         winapi::um::winnt::DLL_PROCESS_ATTACH => {
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/hook.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 |         winapi::um::memoryapi::VirtualProtect(originalfn_ptr as _, 15, old_prot, &mut old_prot);
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:90:41
[INFO] [stdout]    |
[INFO] [stdout] 90 | ...   let loadlibrarya_addr = winapi::um::libloaderapi::GetProcAddress(kernel32_handle, CString::new("LoadLibraryA").unwrap().as_ptr...
[INFO] [stdout]    |                                       ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 75 |         winapi::um::winnt::DLL_PROCESS_DETACH => {
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `ctypes` in `winapi`
[INFO] [stdout]   --> src/memory.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub phandle: Option<*mut winapi::ctypes::c_void>,
[INFO] [stdout]    |                                      ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `memory::ProcessMemoryManager`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use memory::ProcessMemoryManager;
[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 imports: `fs` and `io::Write`
[INFO] [stdout]  --> src/lib.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{fs, io::Write};
[INFO] [stdout]   |           ^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(naked_functions)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:93:37
[INFO] [stdout]    |
[INFO] [stdout] 93 | ...   let thread_handle = winapi::um::processthreadsapi::CreateRemoteThread(process_info.hProcess, 0 as _, 0 as _, Some(std::mem::tr...
[INFO] [stdout]    |                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]    --> src/main.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |         winapi::um::handleapi::CloseHandle(process_info.hProcess);
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `ctypes` in `winapi`
[INFO] [stdout]   --> src/memory.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn new(h: *mut winapi::ctypes::c_void) -> Self {
[INFO] [stdout]    |                                ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]    --> src/main.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |         winapi::um::handleapi::CloseHandle(process_info.hThread);
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `ctypes` in `winapi`
[INFO] [stdout]   --> src/lib.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let phandle: *mut winapi::ctypes::c_void = rax as _;
[INFO] [stdout]    |                               ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:66:11
[INFO] [stdout]    |
[INFO] [stdout] 66 |         winapi::um::winnt::DLL_PROCESS_ATTACH => {
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 75 |         winapi::um::winnt::DLL_PROCESS_DETACH => {
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `memory::ProcessMemoryManager`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use memory::ProcessMemoryManager;
[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 imports: `fs` and `io::Write`
[INFO] [stdout]  --> src/lib.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{fs, io::Write};
[INFO] [stdout]   |           ^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(naked_functions)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 48 |       let wide_cmd: Vec<u16> = OsStr::new(&cmd)
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 49 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/lib.rs:38:2
[INFO] [stdout]    |
[INFO] [stdout] 38 |     unsafe { std::arch::naked_asm!(
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `obs-enjoyer-rs` (bin "obs-enjoyer-rs" test) due to 14 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `obs-enjoyer-rs` (lib) due to 22 previous errors; 4 warnings emitted
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/lib.rs:38:2
[INFO] [stdout]    |
[INFO] [stdout] 38 |     unsafe { std::arch::naked_asm!(
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `obs-enjoyer-rs` (lib test) due to 22 previous errors; 4 warnings emitted
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 48 |       let wide_cmd: Vec<u16> = OsStr::new(&cmd)
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 49 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `obs-enjoyer-rs` (bin "obs-enjoyer-rs") due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "9bc84d0348ad11e900c899b77190bd7b35c47b20102cb76c5d30357feb3d14a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bc84d0348ad11e900c899b77190bd7b35c47b20102cb76c5d30357feb3d14a6", kill_on_drop: false }`
[INFO] [stdout] 9bc84d0348ad11e900c899b77190bd7b35c47b20102cb76c5d30357feb3d14a6
