[INFO] cloning repository https://github.com/amcarthur/hammer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amcarthur/hammer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcarthur%2Fhammer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcarthur%2Fhammer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dacfa9a5675b5d66dec12cba229ac2d02ce9b068 [INFO] checking amcarthur/hammer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcarthur%2Fhammer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amcarthur/hammer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amcarthur/hammer [INFO] finished tweaking git repo https://github.com/amcarthur/hammer [INFO] tweaked toml for git repo https://github.com/amcarthur/hammer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/amcarthur/hammer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pe v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65c9eba54b9d079bed3fedce52fabd903ae77f8f40a349f400197dad7537305d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "65c9eba54b9d079bed3fedce52fabd903ae77f8f40a349f400197dad7537305d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65c9eba54b9d079bed3fedce52fabd903ae77f8f40a349f400197dad7537305d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c9eba54b9d079bed3fedce52fabd903ae77f8f40a349f400197dad7537305d", kill_on_drop: false }` [INFO] [stdout] 65c9eba54b9d079bed3fedce52fabd903ae77f8f40a349f400197dad7537305d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4f868edb6e0b8d272b69c793f33f3a68ce7883c8185876d687cd017ac47135a [INFO] running `Command { std: "docker" "start" "-a" "d4f868edb6e0b8d272b69c793f33f3a68ce7883c8185876d687cd017ac47135a", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking widestring v0.2.2 [INFO] [stderr] Checking pe v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking hammer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | winapi::winnt::PROCESS_CREATE_THREAD [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | | winapi::winnt::PROCESS_QUERY_INFORMATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | | winapi::winnt::PROCESS_VM_OPERATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | | winapi::winnt::PROCESS_VM_WRITE [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | | winapi::winnt::PROCESS_VM_READ [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | let remote_module: winapi::minwindef::HMODULE = find_remote_module_by_path(*p, dll_path_real); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | winapi::winnt::PROCESS_CREATE_THREAD [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | | winapi::winnt::PROCESS_QUERY_INFORMATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | | winapi::winnt::PROCESS_VM_OPERATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | | winapi::winnt::PROCESS_VM_WRITE [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | | winapi::winnt::PROCESS_VM_READ [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:142:40 [INFO] [stdout] | [INFO] [stdout] 142 | let module_handle: winapi::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:249:25 [INFO] [stdout] | [INFO] [stdout] 249 | winapi::winnt::PROCESS_CREATE_THREAD [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:250:27 [INFO] [stdout] | [INFO] [stdout] 250 | | winapi::winnt::PROCESS_QUERY_INFORMATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:251:27 [INFO] [stdout] | [INFO] [stdout] 251 | | winapi::winnt::PROCESS_VM_OPERATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | | winapi::winnt::PROCESS_VM_WRITE [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 253 | | winapi::winnt::PROCESS_VM_READ [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | let module_handle: winapi::minwindef::HMODULE = find_remote_module_by_name(*p, &module_arg); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:269:39 [INFO] [stdout] | [INFO] [stdout] 269 | let argument_ptr: winapi::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 297 | let mut process_entry = winapi::tlhelp32::PROCESSENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:298:40 [INFO] [stdout] | [INFO] [stdout] 298 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:307:32 [INFO] [stdout] | [INFO] [stdout] 307 | szExeFile: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:310:68 [INFO] [stdout] | [INFO] [stdout] 310 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPPROCESS, 0); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:315:84 [INFO] [stdout] | [INFO] [stdout] 315 | if kernel32::Process32FirstW(snapshot, &mut process_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:316:89 [INFO] [stdout] | [INFO] [stdout] 316 | while kernel32::Process32NextW(snapshot, &mut process_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:333:76 [INFO] [stdout] | [INFO] [stdout] 333 | fn find_remote_module_by_path(process_id: u32, dll_path: &Path) -> winapi::minwindef::HMODULE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:335:36 [INFO] [stdout] | [INFO] [stdout] 335 | let mut module_entry = winapi::tlhelp32::MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:336:40 [INFO] [stdout] | [INFO] [stdout] 336 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:344:31 [INFO] [stdout] | [INFO] [stdout] 344 | szModule: [0; winapi::tlhelp32::MAX_MODULE_NAME32 + 1], [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:345:32 [INFO] [stdout] | [INFO] [stdout] 345 | szExePath: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:348:68 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:350:36 [INFO] [stdout] | [INFO] [stdout] 350 | let mut module_handle: winapi::minwindef::HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:352:82 [INFO] [stdout] | [INFO] [stdout] 352 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:354:87 [INFO] [stdout] | [INFO] [stdout] 354 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:372:86 [INFO] [stdout] | [INFO] [stdout] 372 | fn find_remote_module_by_name(process_id: u32, module_name: &WideCString) -> winapi::minwindef::HMODULE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:374:36 [INFO] [stdout] | [INFO] [stdout] 374 | let mut module_entry = winapi::tlhelp32::MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:375:40 [INFO] [stdout] | [INFO] [stdout] 375 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:383:31 [INFO] [stdout] | [INFO] [stdout] 383 | szModule: [0; winapi::tlhelp32::MAX_MODULE_NAME32 + 1], [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | szExePath: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:387:68 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:389:36 [INFO] [stdout] | [INFO] [stdout] 389 | let mut module_handle: winapi::minwindef::HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:391:82 [INFO] [stdout] | [INFO] [stdout] 391 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:393:87 [INFO] [stdout] | [INFO] [stdout] 393 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:412:78 [INFO] [stdout] | [INFO] [stdout] 412 | fn find_remote_module_path_by_handle(process_id: u32, module_handle: winapi::minwindef::HMODULE) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:414:36 [INFO] [stdout] | [INFO] [stdout] 414 | let mut module_entry = winapi::tlhelp32::MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:415:40 [INFO] [stdout] | [INFO] [stdout] 415 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:423:31 [INFO] [stdout] | [INFO] [stdout] 423 | szModule: [0; winapi::tlhelp32::MAX_MODULE_NAME32 + 1], [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:424:32 [INFO] [stdout] | [INFO] [stdout] 424 | szExePath: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:427:68 [INFO] [stdout] | [INFO] [stdout] 427 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:431:82 [INFO] [stdout] | [INFO] [stdout] 431 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:433:87 [INFO] [stdout] | [INFO] [stdout] 433 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | winapi::winnt::PROCESS_CREATE_THREAD [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | | winapi::winnt::PROCESS_QUERY_INFORMATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | | winapi::winnt::PROCESS_VM_OPERATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | | winapi::winnt::PROCESS_VM_WRITE [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | | winapi::winnt::PROCESS_VM_READ [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | let remote_module: winapi::minwindef::HMODULE = find_remote_module_by_path(*p, dll_path_real); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:451:86 [INFO] [stdout] | [INFO] [stdout] 451 | fn find_remote_module_base_address_by_handle(process_id: u32, module_handle: winapi::minwindef::HMODULE) -> *mut winapi::BYTE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | winapi::winnt::PROCESS_CREATE_THREAD [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | | winapi::winnt::PROCESS_QUERY_INFORMATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | | winapi::winnt::PROCESS_VM_OPERATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | | winapi::winnt::PROCESS_VM_WRITE [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | | winapi::winnt::PROCESS_VM_READ [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:142:40 [INFO] [stdout] | [INFO] [stdout] 142 | let module_handle: winapi::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:453:36 [INFO] [stdout] | [INFO] [stdout] 453 | let mut module_entry = winapi::tlhelp32::MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:454:40 [INFO] [stdout] | [INFO] [stdout] 454 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:462:31 [INFO] [stdout] | [INFO] [stdout] 462 | szModule: [0; winapi::tlhelp32::MAX_MODULE_NAME32 + 1], [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 463 | szExePath: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:466:68 [INFO] [stdout] | [INFO] [stdout] 466 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:470:82 [INFO] [stdout] | [INFO] [stdout] 470 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:472:87 [INFO] [stdout] | [INFO] [stdout] 472 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:488:58 [INFO] [stdout] | [INFO] [stdout] 488 | fn open_process(process_id: u32, desired_access: winapi::minwindef::DWORD) -> winapi::HANDLE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:491:72 [INFO] [stdout] | [INFO] [stdout] 491 | process_handle = kernel32::OpenProcess(desired_access, winapi::minwindef::FALSE, process_id); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:249:25 [INFO] [stdout] | [INFO] [stdout] 249 | winapi::winnt::PROCESS_CREATE_THREAD [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:250:27 [INFO] [stdout] | [INFO] [stdout] 250 | | winapi::winnt::PROCESS_QUERY_INFORMATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:251:27 [INFO] [stdout] | [INFO] [stdout] 251 | | winapi::winnt::PROCESS_VM_OPERATION [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | | winapi::winnt::PROCESS_VM_WRITE [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 253 | | winapi::winnt::PROCESS_VM_READ [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | let module_handle: winapi::minwindef::HMODULE = find_remote_module_by_name(*p, &module_arg); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:269:39 [INFO] [stdout] | [INFO] [stdout] 269 | let argument_ptr: winapi::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:504:34 [INFO] [stdout] | [INFO] [stdout] 504 | let kernel32_module: winapi::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:505:39 [INFO] [stdout] | [INFO] [stdout] 505 | let load_library_address: winapi::minwindef::FARPROC; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 297 | let mut process_entry = winapi::tlhelp32::PROCESSENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:298:40 [INFO] [stdout] | [INFO] [stdout] 298 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:533:101 [INFO] [stdout] | [INFO] [stdout] 533 | ...ess_handle, null_mut(), dll_path_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:307:32 [INFO] [stdout] | [INFO] [stdout] 307 | szExeFile: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:533:130 [INFO] [stdout] | [INFO] [stdout] 533 | ...ath_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:533:157 [INFO] [stdout] | [INFO] [stdout] 533 | ...M_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:541:36 [INFO] [stdout] | [INFO] [stdout] 541 | let mut bytes_written: winapi::basetsd::SIZE_T = 0; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:542:41 [INFO] [stdout] | [INFO] [stdout] 542 | let bytes_written_ptr: *mut winapi::basetsd::SIZE_T = &mut bytes_written as *mut _ as *mut winapi::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:310:68 [INFO] [stdout] | [INFO] [stdout] 310 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPPROCESS, 0); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:542:104 [INFO] [stdout] | [INFO] [stdout] 542 | let bytes_written_ptr: *mut winapi::basetsd::SIZE_T = &mut bytes_written as *mut _ as *mut winapi::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:543:26 [INFO] [stdout] | [INFO] [stdout] 543 | let wpm_ret: winapi::minwindef::BOOL; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:315:84 [INFO] [stdout] | [INFO] [stdout] 315 | if kernel32::Process32FirstW(snapshot, &mut process_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:549:27 [INFO] [stdout] | [INFO] [stdout] 549 | if wpm_ret == winapi::minwindef::FALSE || bytes_written < dll_path_size { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:316:89 [INFO] [stdout] | [INFO] [stdout] 316 | while kernel32::Process32NextW(snapshot, &mut process_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:552:91 [INFO] [stdout] | [INFO] [stdout] 552 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:557:32 [INFO] [stdout] | [INFO] [stdout] 557 | let mut thread_id: winapi::minwindef::DWORD = 0; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:558:37 [INFO] [stdout] | [INFO] [stdout] 558 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:558:97 [INFO] [stdout] | [INFO] [stdout] 558 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:560:188 [INFO] [stdout] | [INFO] [stdout] 560 | ...ern "system" fn(lpThreadParameter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(load_library_address)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:560:218 [INFO] [stdout] | [INFO] [stdout] 560 | ...ter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(load_library_address)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:562:32 [INFO] [stdout] | [INFO] [stdout] 562 | let thread_handle: winapi::winnt::HANDLE; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:570:91 [INFO] [stdout] | [INFO] [stdout] 570 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:333:76 [INFO] [stdout] | [INFO] [stdout] 333 | fn find_remote_module_by_path(process_id: u32, dll_path: &Path) -> winapi::minwindef::HMODULE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:576:62 [INFO] [stdout] | [INFO] [stdout] 576 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:335:36 [INFO] [stdout] | [INFO] [stdout] 335 | let mut module_entry = winapi::tlhelp32::MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:336:40 [INFO] [stdout] | [INFO] [stdout] 336 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:344:31 [INFO] [stdout] | [INFO] [stdout] 344 | szModule: [0; winapi::tlhelp32::MAX_MODULE_NAME32 + 1], [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:345:32 [INFO] [stdout] | [INFO] [stdout] 345 | szExePath: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:578:87 [INFO] [stdout] | [INFO] [stdout] 578 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:583:73 [INFO] [stdout] | [INFO] [stdout] 583 | fn eject_library(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE) -> bool { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:589:34 [INFO] [stdout] | [INFO] [stdout] 589 | let kernel32_module: winapi::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:590:39 [INFO] [stdout] | [INFO] [stdout] 590 | let free_library_address: winapi::minwindef::FARPROC; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:348:68 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:350:36 [INFO] [stdout] | [INFO] [stdout] 350 | let mut module_handle: winapi::minwindef::HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:352:82 [INFO] [stdout] | [INFO] [stdout] 352 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:613:32 [INFO] [stdout] | [INFO] [stdout] 613 | let mut thread_id: winapi::minwindef::DWORD = 0; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:614:37 [INFO] [stdout] | [INFO] [stdout] 614 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:354:87 [INFO] [stdout] | [INFO] [stdout] 354 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:614:97 [INFO] [stdout] | [INFO] [stdout] 614 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:616:188 [INFO] [stdout] | [INFO] [stdout] 616 | ...ern "system" fn(lpThreadParameter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(free_library_address)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:616:218 [INFO] [stdout] | [INFO] [stdout] 616 | ...ter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(free_library_address)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:618:32 [INFO] [stdout] | [INFO] [stdout] 618 | let thread_handle: winapi::winnt::HANDLE; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:372:86 [INFO] [stdout] | [INFO] [stdout] 372 | fn find_remote_module_by_name(process_id: u32, module_name: &WideCString) -> winapi::minwindef::HMODULE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:629:62 [INFO] [stdout] | [INFO] [stdout] 629 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:374:36 [INFO] [stdout] | [INFO] [stdout] 374 | let mut module_entry = winapi::tlhelp32::MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:375:40 [INFO] [stdout] | [INFO] [stdout] 375 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:383:31 [INFO] [stdout] | [INFO] [stdout] 383 | szModule: [0; winapi::tlhelp32::MAX_MODULE_NAME32 + 1], [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | szExePath: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:648:34 [INFO] [stdout] | [INFO] [stdout] 648 | let working_dir_opt: winapi::winnt::LPCWSTR = if working_directory_str.len() > 0 { working_directory_str.as_ptr() } else { null_mut() }; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `processthreadsapi` in `winapi` [INFO] [stdout] --> src/main.rs:650:36 [INFO] [stdout] | [INFO] [stdout] 650 | let mut startup_info = winapi::processthreadsapi::STARTUPINFOW { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `processthreadsapi` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `processthreadsapi` in `winapi` [INFO] [stdout] --> src/main.rs:651:36 [INFO] [stdout] | [INFO] [stdout] 651 | cb: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `processthreadsapi` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:387:68 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:389:36 [INFO] [stdout] | [INFO] [stdout] 389 | let mut module_handle: winapi::minwindef::HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `processthreadsapi` in `winapi` [INFO] [stdout] --> src/main.rs:671:36 [INFO] [stdout] | [INFO] [stdout] 671 | let mut process_info = winapi::processthreadsapi::PROCESS_INFORMATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `processthreadsapi` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:678:26 [INFO] [stdout] | [INFO] [stdout] 678 | let success: winapi::minwindef::BOOL; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:391:82 [INFO] [stdout] | [INFO] [stdout] 391 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:686:21 [INFO] [stdout] | [INFO] [stdout] 686 | winapi::minwindef::FALSE, [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:687:21 [INFO] [stdout] | [INFO] [stdout] 687 | winapi::winbase::NORMAL_PRIORITY_CLASS | winapi::winbase::CREATE_SUSPENDED, [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:687:62 [INFO] [stdout] | [INFO] [stdout] 687 | winapi::winbase::NORMAL_PRIORITY_CLASS | winapi::winbase::CREATE_SUSPENDED, [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | if success == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:712:80 [INFO] [stdout] | [INFO] [stdout] 712 | fn call_remote_function(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE, function_name: &CString, argument: win... [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:712:143 [INFO] [stdout] | [INFO] [stdout] 712 | ...function_name: &CString, argument: winapi::minwindef::LPVOID, argument_size: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:393:87 [INFO] [stdout] | [INFO] [stdout] 393 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:806:102 [INFO] [stdout] | [INFO] [stdout] 806 | ...ess_handle, null_mut(), argument_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:806:131 [INFO] [stdout] | [INFO] [stdout] 806 | ...ent_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:806:158 [INFO] [stdout] | [INFO] [stdout] 806 | ...M_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:814:40 [INFO] [stdout] | [INFO] [stdout] 814 | let mut bytes_written: winapi::basetsd::SIZE_T = 0; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:815:45 [INFO] [stdout] | [INFO] [stdout] 815 | let bytes_written_ptr: *mut winapi::basetsd::SIZE_T = &mut bytes_written as *mut _ as *mut winapi::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:815:108 [INFO] [stdout] | [INFO] [stdout] 815 | let bytes_written_ptr: *mut winapi::basetsd::SIZE_T = &mut bytes_written as *mut _ as *mut winapi::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:816:30 [INFO] [stdout] | [INFO] [stdout] 816 | let wpm_ret: winapi::minwindef::BOOL; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:412:78 [INFO] [stdout] | [INFO] [stdout] 412 | fn find_remote_module_path_by_handle(process_id: u32, module_handle: winapi::minwindef::HMODULE) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:822:31 [INFO] [stdout] | [INFO] [stdout] 822 | if wpm_ret == winapi::minwindef::FALSE || bytes_written < argument_size { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:414:36 [INFO] [stdout] | [INFO] [stdout] 414 | let mut module_entry = winapi::tlhelp32::MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:825:92 [INFO] [stdout] | [INFO] [stdout] 825 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:415:40 [INFO] [stdout] | [INFO] [stdout] 415 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:831:32 [INFO] [stdout] | [INFO] [stdout] 831 | let mut thread_id: winapi::minwindef::DWORD = 0; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:423:31 [INFO] [stdout] | [INFO] [stdout] 423 | szModule: [0; winapi::tlhelp32::MAX_MODULE_NAME32 + 1], [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:832:37 [INFO] [stdout] | [INFO] [stdout] 832 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:424:32 [INFO] [stdout] | [INFO] [stdout] 424 | szExePath: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:832:97 [INFO] [stdout] | [INFO] [stdout] 832 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:427:68 [INFO] [stdout] | [INFO] [stdout] 427 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:834:173 [INFO] [stdout] | [INFO] [stdout] 834 | ...fe extern "system" fn(lpParameter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(resolved_fn)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:834:203 [INFO] [stdout] | [INFO] [stdout] 834 | ...ter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(resolved_fn)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:836:32 [INFO] [stdout] | [INFO] [stdout] 836 | let thread_handle: winapi::winnt::HANDLE; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:431:82 [INFO] [stdout] | [INFO] [stdout] 431 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:433:87 [INFO] [stdout] | [INFO] [stdout] 433 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:845:92 [INFO] [stdout] | [INFO] [stdout] 845 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:852:62 [INFO] [stdout] | [INFO] [stdout] 852 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:855:88 [INFO] [stdout] | [INFO] [stdout] 855 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | let process_handle: winapi::HANDLE = open_process( [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { kernel32::CloseHandle( process_handle ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:128:41 [INFO] [stdout] | [INFO] [stdout] 128 | let process_handle: winapi::HANDLE = open_process( [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { kernel32::CloseHandle( process_handle ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:247:41 [INFO] [stdout] | [INFO] [stdout] 247 | let process_handle: winapi::HANDLE = open_process( [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:272:70 [INFO] [stdout] | [INFO] [stdout] 272 | argument_ptr = argument_arg.as_ptr() as *mut winapi::c_void; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:286:35 [INFO] [stdout] | [INFO] [stdout] 286 | unsafe { kernel32::CloseHandle( process_handle ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:310:35 [INFO] [stdout] | [INFO] [stdout] 310 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPPROCESS, 0); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | if kernel32::Process32FirstW(snapshot, &mut process_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:316:33 [INFO] [stdout] | [INFO] [stdout] 316 | while kernel32::Process32NextW(snapshot, &mut process_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/main.rs:317:45 [INFO] [stdout] | [INFO] [stdout] 317 | let wide_str:OsString = OsStringExt::from_wide(&process_entry.szExeFile); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 317 | let wide_str:OsString = OsString::from_wide(&process_entry.szExeFile); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:326:25 [INFO] [stdout] | [INFO] [stdout] 326 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:327:22 [INFO] [stdout] | [INFO] [stdout] 327 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:348:35 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:354:33 [INFO] [stdout] | [INFO] [stdout] 354 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:451:86 [INFO] [stdout] | [INFO] [stdout] 451 | fn find_remote_module_base_address_by_handle(process_id: u32, module_handle: winapi::minwindef::HMODULE) -> *mut winapi::BYTE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/main.rs:355:45 [INFO] [stdout] | [INFO] [stdout] 355 | let wide_str:OsString = OsStringExt::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 355 | let wide_str:OsString = OsString::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:365:25 [INFO] [stdout] | [INFO] [stdout] 365 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:393:33 [INFO] [stdout] | [INFO] [stdout] 393 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/main.rs:394:45 [INFO] [stdout] | [INFO] [stdout] 394 | let wide_str:OsString = OsStringExt::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 394 | let wide_str:OsString = OsString::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:405:25 [INFO] [stdout] | [INFO] [stdout] 405 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:406:22 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:413:27 [INFO] [stdout] | [INFO] [stdout] 413 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:427:35 [INFO] [stdout] | [INFO] [stdout] 427 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:431:27 [INFO] [stdout] | [INFO] [stdout] 431 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:453:36 [INFO] [stdout] | [INFO] [stdout] 453 | let mut module_entry = winapi::tlhelp32::MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:433:33 [INFO] [stdout] | [INFO] [stdout] 433 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:454:40 [INFO] [stdout] | [INFO] [stdout] 454 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:462:31 [INFO] [stdout] | [INFO] [stdout] 462 | szModule: [0; winapi::tlhelp32::MAX_MODULE_NAME32 + 1], [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 463 | szExePath: [0; winapi::minwindef::MAX_PATH] [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/main.rs:435:49 [INFO] [stdout] | [INFO] [stdout] 435 | let wide_str:OsString = OsStringExt::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 435 | let wide_str:OsString = OsString::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:445:22 [INFO] [stdout] | [INFO] [stdout] 445 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in crate `winapi` [INFO] [stdout] --> src/main.rs:451:122 [INFO] [stdout] | [INFO] [stdout] 451 | fn find_remote_module_base_address_by_handle(process_id: u32, module_handle: winapi::minwindef::HMODULE) -> *mut winapi::BYTE { [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:452:27 [INFO] [stdout] | [INFO] [stdout] 452 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:466:35 [INFO] [stdout] | [INFO] [stdout] 466 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tlhelp32` in `winapi` [INFO] [stdout] --> src/main.rs:466:68 [INFO] [stdout] | [INFO] [stdout] 466 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^ could not find `tlhelp32` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in crate `winapi` [INFO] [stdout] --> src/main.rs:468:40 [INFO] [stdout] | [INFO] [stdout] 468 | let mut base_address: *mut winapi::BYTE = null_mut(); [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:482:22 [INFO] [stdout] | [INFO] [stdout] 482 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:488:87 [INFO] [stdout] | [INFO] [stdout] 488 | fn open_process(process_id: u32, desired_access: winapi::minwindef::DWORD) -> winapi::HANDLE { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:489:33 [INFO] [stdout] | [INFO] [stdout] 489 | let process_handle: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in crate `kernel32` [INFO] [stdout] --> src/main.rs:491:36 [INFO] [stdout] | [INFO] [stdout] 491 | process_handle = kernel32::OpenProcess(desired_access, winapi::minwindef::FALSE, process_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:497:43 [INFO] [stdout] | [INFO] [stdout] 497 | fn inject_library(process_handle: winapi::HANDLE, dll_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:506:37 [INFO] [stdout] | [INFO] [stdout] 506 | let remote_string: *mut winapi::c_void; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:470:82 [INFO] [stdout] | [INFO] [stdout] 470 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:512:37 [INFO] [stdout] | [INFO] [stdout] 512 | kernel32_module = kernel32::GetModuleHandleW(kernel32_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in crate `kernel32` [INFO] [stdout] --> src/main.rs:521:42 [INFO] [stdout] | [INFO] [stdout] 521 | load_library_address = kernel32::GetProcAddress(kernel32_module, load_library_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | ... remote_string = kernel32::VirtualAllocEx(process_handle, null_mut(), dll_path_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:472:87 [INFO] [stdout] | [INFO] [stdout] 472 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in crate `kernel32` [INFO] [stdout] --> src/main.rs:546:29 [INFO] [stdout] | [INFO] [stdout] 546 | ... wpm_ret = kernel32::WriteProcessMemory(process_handle, remote_string, dll_path_str.encode_wide().collect::>().as_ptr() as *c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:546:153 [INFO] [stdout] | [INFO] [stdout] 546 | ...ide().collect::>().as_ptr() as *const winapi::c_void, dll_path_size, bytes_written_ptr); [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:552:23 [INFO] [stdout] | [INFO] [stdout] 552 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:488:58 [INFO] [stdout] | [INFO] [stdout] 488 | fn open_process(process_id: u32, desired_access: winapi::minwindef::DWORD) -> winapi::HANDLE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:560:127 [INFO] [stdout] | [INFO] [stdout] 560 | ... unsafe {Some(::std::mem::transmute::<*const winapi::c_void, unsafe extern "system" fn(lpThreadParameter: winapi::minwindef::LPVOID) -... [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in crate `kernel32` [INFO] [stdout] --> src/main.rs:564:35 [INFO] [stdout] | [INFO] [stdout] 564 | thread_handle = kernel32::CreateRemoteThread(process_handle, null_mut(), 0, start_routine, remote_string, 0, thread_id_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in crate `kernel32` [INFO] [stdout] --> src/main.rs:576:19 [INFO] [stdout] | [INFO] [stdout] 576 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:577:19 [INFO] [stdout] | [INFO] [stdout] 577 | kernel32::CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:578:19 [INFO] [stdout] | [INFO] [stdout] 578 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:583:42 [INFO] [stdout] | [INFO] [stdout] 583 | fn eject_library(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE) -> bool { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:596:37 [INFO] [stdout] | [INFO] [stdout] 596 | kernel32_module = kernel32::GetModuleHandleW(kernel32_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in crate `kernel32` [INFO] [stdout] --> src/main.rs:605:42 [INFO] [stdout] | [INFO] [stdout] 605 | free_library_address = kernel32::GetProcAddress(kernel32_module, free_library_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:616:127 [INFO] [stdout] | [INFO] [stdout] 616 | ... unsafe {Some(::std::mem::transmute::<*const winapi::c_void, unsafe extern "system" fn(lpThreadParameter: winapi::minwindef::LPVOID) -... [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in crate `kernel32` [INFO] [stdout] --> src/main.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | ... thread_handle = kernel32::CreateRemoteThread(process_handle, null_mut(), 0, start_routine, module_handle as *mut winapi::c_void, 0,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:620:130 [INFO] [stdout] | [INFO] [stdout] 620 | ...t(), 0, start_routine, module_handle as *mut winapi::c_void, 0, thread_id_ptr); [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in crate `kernel32` [INFO] [stdout] --> src/main.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 629 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:630:19 [INFO] [stdout] | [INFO] [stdout] 630 | kernel32::CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:681:29 [INFO] [stdout] | [INFO] [stdout] 681 | success = kernel32::CreateProcessW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:491:72 [INFO] [stdout] | [INFO] [stdout] 491 | process_handle = kernel32::OpenProcess(desired_access, winapi::minwindef::FALSE, process_id); [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in crate `kernel32` [INFO] [stdout] --> src/main.rs:700:23 [INFO] [stdout] | [INFO] [stdout] 700 | kernel32::ResumeThread(process_info.hThread); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:712:49 [INFO] [stdout] | [INFO] [stdout] 712 | fn call_remote_function(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE, function_name: &CString, argument: win... [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessId` in crate `kernel32` [INFO] [stdout] --> src/main.rs:723:46 [INFO] [stdout] | [INFO] [stdout] 723 | let process_id: u32 = unsafe { kernel32::GetProcessId(process_handle) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:796:87 [INFO] [stdout] | [INFO] [stdout] 796 | let resolved_fn = (module_base_addr as usize + offset as usize) as *const winapi::c_void; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:504:34 [INFO] [stdout] | [INFO] [stdout] 504 | let kernel32_module: winapi::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:803:38 [INFO] [stdout] | [INFO] [stdout] 803 | let mut remote_arg: *mut winapi::c_void = null_mut(); [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:505:39 [INFO] [stdout] | [INFO] [stdout] 505 | let load_library_address: winapi::minwindef::FARPROC; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:806:36 [INFO] [stdout] | [INFO] [stdout] 806 | ... remote_arg = kernel32::VirtualAllocEx(process_handle, null_mut(), argument_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_CO... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in crate `kernel32` [INFO] [stdout] --> src/main.rs:819:33 [INFO] [stdout] | [INFO] [stdout] 819 | wpm_ret = kernel32::WriteProcessMemory(process_handle, remote_arg, argument, argument_size, bytes_written_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:825:27 [INFO] [stdout] | [INFO] [stdout] 825 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:834:118 [INFO] [stdout] | [INFO] [stdout] 834 | ... unsafe {Some(::std::mem::transmute::<*const winapi::c_void, unsafe extern "system" fn(lpParameter: winapi::minwindef::LPVOID) -> wina... [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in crate `kernel32` [INFO] [stdout] --> src/main.rs:838:35 [INFO] [stdout] | [INFO] [stdout] 838 | thread_handle = kernel32::CreateRemoteThread(process_handle, null_mut(), 0, start_routine, remote_arg, 0, thread_id_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:845:27 [INFO] [stdout] | [INFO] [stdout] 845 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in crate `kernel32` [INFO] [stdout] --> src/main.rs:852:19 [INFO] [stdout] | [INFO] [stdout] 852 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:853:19 [INFO] [stdout] | [INFO] [stdout] 853 | kernel32::CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:855:23 [INFO] [stdout] | [INFO] [stdout] 855 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:533:101 [INFO] [stdout] | [INFO] [stdout] 533 | ...ess_handle, null_mut(), dll_path_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:533:130 [INFO] [stdout] | [INFO] [stdout] 533 | ...ath_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:533:157 [INFO] [stdout] | [INFO] [stdout] 533 | ...M_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:541:36 [INFO] [stdout] | [INFO] [stdout] 541 | let mut bytes_written: winapi::basetsd::SIZE_T = 0; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:542:41 [INFO] [stdout] | [INFO] [stdout] 542 | let bytes_written_ptr: *mut winapi::basetsd::SIZE_T = &mut bytes_written as *mut _ as *mut winapi::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:542:104 [INFO] [stdout] | [INFO] [stdout] 542 | let bytes_written_ptr: *mut winapi::basetsd::SIZE_T = &mut bytes_written as *mut _ as *mut winapi::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:543:26 [INFO] [stdout] | [INFO] [stdout] 543 | let wpm_ret: winapi::minwindef::BOOL; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:549:27 [INFO] [stdout] | [INFO] [stdout] 549 | if wpm_ret == winapi::minwindef::FALSE || bytes_written < dll_path_size { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:552:91 [INFO] [stdout] | [INFO] [stdout] 552 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:557:32 [INFO] [stdout] | [INFO] [stdout] 557 | let mut thread_id: winapi::minwindef::DWORD = 0; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:558:37 [INFO] [stdout] | [INFO] [stdout] 558 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:558:97 [INFO] [stdout] | [INFO] [stdout] 558 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:560:188 [INFO] [stdout] | [INFO] [stdout] 560 | ...ern "system" fn(lpThreadParameter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(load_library_address)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:560:218 [INFO] [stdout] | [INFO] [stdout] 560 | ...ter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(load_library_address)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:562:32 [INFO] [stdout] | [INFO] [stdout] 562 | let thread_handle: winapi::winnt::HANDLE; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:570:91 [INFO] [stdout] | [INFO] [stdout] 570 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:576:62 [INFO] [stdout] | [INFO] [stdout] 576 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:578:87 [INFO] [stdout] | [INFO] [stdout] 578 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:583:73 [INFO] [stdout] | [INFO] [stdout] 583 | fn eject_library(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE) -> bool { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:589:34 [INFO] [stdout] | [INFO] [stdout] 589 | let kernel32_module: winapi::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:590:39 [INFO] [stdout] | [INFO] [stdout] 590 | let free_library_address: winapi::minwindef::FARPROC; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:613:32 [INFO] [stdout] | [INFO] [stdout] 613 | let mut thread_id: winapi::minwindef::DWORD = 0; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:614:37 [INFO] [stdout] | [INFO] [stdout] 614 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:614:97 [INFO] [stdout] | [INFO] [stdout] 614 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:616:188 [INFO] [stdout] | [INFO] [stdout] 616 | ...ern "system" fn(lpThreadParameter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(free_library_address)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:616:218 [INFO] [stdout] | [INFO] [stdout] 616 | ...ter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(free_library_address)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:618:32 [INFO] [stdout] | [INFO] [stdout] 618 | let thread_handle: winapi::winnt::HANDLE; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:629:62 [INFO] [stdout] | [INFO] [stdout] 629 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:648:34 [INFO] [stdout] | [INFO] [stdout] 648 | let working_dir_opt: winapi::winnt::LPCWSTR = if working_directory_str.len() > 0 { working_directory_str.as_ptr() } else { null_mut() }; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `processthreadsapi` in `winapi` [INFO] [stdout] --> src/main.rs:650:36 [INFO] [stdout] | [INFO] [stdout] 650 | let mut startup_info = winapi::processthreadsapi::STARTUPINFOW { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `processthreadsapi` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `processthreadsapi` in `winapi` [INFO] [stdout] --> src/main.rs:651:36 [INFO] [stdout] | [INFO] [stdout] 651 | cb: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `processthreadsapi` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `processthreadsapi` in `winapi` [INFO] [stdout] --> src/main.rs:671:36 [INFO] [stdout] | [INFO] [stdout] 671 | let mut process_info = winapi::processthreadsapi::PROCESS_INFORMATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `processthreadsapi` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:678:26 [INFO] [stdout] | [INFO] [stdout] 678 | let success: winapi::minwindef::BOOL; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:686:21 [INFO] [stdout] | [INFO] [stdout] 686 | winapi::minwindef::FALSE, [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:687:21 [INFO] [stdout] | [INFO] [stdout] 687 | winapi::winbase::NORMAL_PRIORITY_CLASS | winapi::winbase::CREATE_SUSPENDED, [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:687:62 [INFO] [stdout] | [INFO] [stdout] 687 | winapi::winbase::NORMAL_PRIORITY_CLASS | winapi::winbase::CREATE_SUSPENDED, [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | if success == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:712:80 [INFO] [stdout] | [INFO] [stdout] 712 | fn call_remote_function(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE, function_name: &CString, argument: win... [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:712:143 [INFO] [stdout] | [INFO] [stdout] 712 | ...function_name: &CString, argument: winapi::minwindef::LPVOID, argument_size: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:806:102 [INFO] [stdout] | [INFO] [stdout] 806 | ...ess_handle, null_mut(), argument_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:806:131 [INFO] [stdout] | [INFO] [stdout] 806 | ...ent_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:806:158 [INFO] [stdout] | [INFO] [stdout] 806 | ...M_RESERVE | winapi::winnt::MEM_COMMIT, winapi::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:814:40 [INFO] [stdout] | [INFO] [stdout] 814 | let mut bytes_written: winapi::basetsd::SIZE_T = 0; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:815:45 [INFO] [stdout] | [INFO] [stdout] 815 | let bytes_written_ptr: *mut winapi::basetsd::SIZE_T = &mut bytes_written as *mut _ as *mut winapi::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `basetsd` in `winapi` [INFO] [stdout] --> src/main.rs:815:108 [INFO] [stdout] | [INFO] [stdout] 815 | let bytes_written_ptr: *mut winapi::basetsd::SIZE_T = &mut bytes_written as *mut _ as *mut winapi::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^ could not find `basetsd` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:816:30 [INFO] [stdout] | [INFO] [stdout] 816 | let wpm_ret: winapi::minwindef::BOOL; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:822:31 [INFO] [stdout] | [INFO] [stdout] 822 | if wpm_ret == winapi::minwindef::FALSE || bytes_written < argument_size { [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:825:92 [INFO] [stdout] | [INFO] [stdout] 825 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:831:32 [INFO] [stdout] | [INFO] [stdout] 831 | let mut thread_id: winapi::minwindef::DWORD = 0; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:832:37 [INFO] [stdout] | [INFO] [stdout] 832 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:832:97 [INFO] [stdout] | [INFO] [stdout] 832 | let thread_id_ptr: *mut winapi::minwindef::DWORD = &mut thread_id as *mut _ as *mut winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:834:173 [INFO] [stdout] | [INFO] [stdout] 834 | ...fe extern "system" fn(lpParameter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(resolved_fn)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `minwindef` in `winapi` [INFO] [stdout] --> src/main.rs:834:203 [INFO] [stdout] | [INFO] [stdout] 834 | ...ter: winapi::minwindef::LPVOID) -> winapi::minwindef::DWORD>(resolved_fn)) } }; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:836:32 [INFO] [stdout] | [INFO] [stdout] 836 | let thread_handle: winapi::winnt::HANDLE; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:845:92 [INFO] [stdout] | [INFO] [stdout] 845 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winbase` in `winapi` [INFO] [stdout] --> src/main.rs:852:62 [INFO] [stdout] | [INFO] [stdout] 852 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^ could not find `winbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winnt` in `winapi` [INFO] [stdout] --> src/main.rs:855:88 [INFO] [stdout] | [INFO] [stdout] 855 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | let process_handle: winapi::HANDLE = open_process( [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { kernel32::CloseHandle( process_handle ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:128:41 [INFO] [stdout] | [INFO] [stdout] 128 | let process_handle: winapi::HANDLE = open_process( [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { kernel32::CloseHandle( process_handle ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:247:41 [INFO] [stdout] | [INFO] [stdout] 247 | let process_handle: winapi::HANDLE = open_process( [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:272:70 [INFO] [stdout] | [INFO] [stdout] 272 | argument_ptr = argument_arg.as_ptr() as *mut winapi::c_void; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:286:35 [INFO] [stdout] | [INFO] [stdout] 286 | unsafe { kernel32::CloseHandle( process_handle ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:310:35 [INFO] [stdout] | [INFO] [stdout] 310 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPPROCESS, 0); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | if kernel32::Process32FirstW(snapshot, &mut process_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:316:33 [INFO] [stdout] | [INFO] [stdout] 316 | while kernel32::Process32NextW(snapshot, &mut process_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/main.rs:317:45 [INFO] [stdout] | [INFO] [stdout] 317 | let wide_str:OsString = OsStringExt::from_wide(&process_entry.szExeFile); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 317 | let wide_str:OsString = OsString::from_wide(&process_entry.szExeFile); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:326:25 [INFO] [stdout] | [INFO] [stdout] 326 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:327:22 [INFO] [stdout] | [INFO] [stdout] 327 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:334:27 [INFO] [stdout] | [INFO] [stdout] 334 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:348:35 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:354:33 [INFO] [stdout] | [INFO] [stdout] 354 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/main.rs:355:45 [INFO] [stdout] | [INFO] [stdout] 355 | let wide_str:OsString = OsStringExt::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 355 | let wide_str:OsString = OsString::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:365:25 [INFO] [stdout] | [INFO] [stdout] 365 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:393:33 [INFO] [stdout] | [INFO] [stdout] 393 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/main.rs:394:45 [INFO] [stdout] | [INFO] [stdout] 394 | let wide_str:OsString = OsStringExt::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 394 | let wide_str:OsString = OsString::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:405:25 [INFO] [stdout] | [INFO] [stdout] 405 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:406:22 [INFO] [stdout] | [INFO] [stdout] 406 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:413:27 [INFO] [stdout] | [INFO] [stdout] 413 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:427:35 [INFO] [stdout] | [INFO] [stdout] 427 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:431:27 [INFO] [stdout] | [INFO] [stdout] 431 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:433:33 [INFO] [stdout] | [INFO] [stdout] 433 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/main.rs:435:49 [INFO] [stdout] | [INFO] [stdout] 435 | let wide_str:OsString = OsStringExt::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 435 | let wide_str:OsString = OsString::from_wide(&module_entry.szExePath); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:445:22 [INFO] [stdout] | [INFO] [stdout] 445 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in crate `winapi` [INFO] [stdout] --> src/main.rs:451:122 [INFO] [stdout] | [INFO] [stdout] 451 | fn find_remote_module_base_address_by_handle(process_id: u32, module_handle: winapi::minwindef::HMODULE) -> *mut winapi::BYTE { [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:452:27 [INFO] [stdout] | [INFO] [stdout] 452 | let snapshot: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32` [INFO] [stdout] --> src/main.rs:466:35 [INFO] [stdout] | [INFO] [stdout] 466 | unsafe { snapshot = kernel32::CreateToolhelp32Snapshot(winapi::tlhelp32::TH32CS_SNAPMODULE, process_id); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in crate `winapi` [INFO] [stdout] --> src/main.rs:468:40 [INFO] [stdout] | [INFO] [stdout] 468 | let mut base_address: *mut winapi::BYTE = null_mut(); [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | if kernel32::Module32FirstW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | while kernel32::Module32NextW(snapshot, &mut module_entry) == winapi::minwindef::TRUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in crate `winapi` [INFO] [stdout] --> src/main.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | if snapshot != winapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:482:22 [INFO] [stdout] | [INFO] [stdout] 482 | unsafe { kernel32::CloseHandle( snapshot ); } [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:488:87 [INFO] [stdout] | [INFO] [stdout] 488 | fn open_process(process_id: u32, desired_access: winapi::minwindef::DWORD) -> winapi::HANDLE { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:489:33 [INFO] [stdout] | [INFO] [stdout] 489 | let process_handle: winapi::HANDLE; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in crate `kernel32` [INFO] [stdout] --> src/main.rs:491:36 [INFO] [stdout] | [INFO] [stdout] 491 | process_handle = kernel32::OpenProcess(desired_access, winapi::minwindef::FALSE, process_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:497:43 [INFO] [stdout] | [INFO] [stdout] 497 | fn inject_library(process_handle: winapi::HANDLE, dll_path: &Path) -> bool { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:506:37 [INFO] [stdout] | [INFO] [stdout] 506 | let remote_string: *mut winapi::c_void; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:512:37 [INFO] [stdout] | [INFO] [stdout] 512 | kernel32_module = kernel32::GetModuleHandleW(kernel32_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in crate `kernel32` [INFO] [stdout] --> src/main.rs:521:42 [INFO] [stdout] | [INFO] [stdout] 521 | load_library_address = kernel32::GetProcAddress(kernel32_module, load_library_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | ... remote_string = kernel32::VirtualAllocEx(process_handle, null_mut(), dll_path_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in crate `kernel32` [INFO] [stdout] --> src/main.rs:546:29 [INFO] [stdout] | [INFO] [stdout] 546 | ... wpm_ret = kernel32::WriteProcessMemory(process_handle, remote_string, dll_path_str.encode_wide().collect::>().as_ptr() as *c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:546:153 [INFO] [stdout] | [INFO] [stdout] 546 | ...ide().collect::>().as_ptr() as *const winapi::c_void, dll_path_size, bytes_written_ptr); [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:552:23 [INFO] [stdout] | [INFO] [stdout] 552 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:560:127 [INFO] [stdout] | [INFO] [stdout] 560 | ... unsafe {Some(::std::mem::transmute::<*const winapi::c_void, unsafe extern "system" fn(lpThreadParameter: winapi::minwindef::LPVOID) -... [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in crate `kernel32` [INFO] [stdout] --> src/main.rs:564:35 [INFO] [stdout] | [INFO] [stdout] 564 | thread_handle = kernel32::CreateRemoteThread(process_handle, null_mut(), 0, start_routine, remote_string, 0, thread_id_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in crate `kernel32` [INFO] [stdout] --> src/main.rs:576:19 [INFO] [stdout] | [INFO] [stdout] 576 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:577:19 [INFO] [stdout] | [INFO] [stdout] 577 | kernel32::CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:578:19 [INFO] [stdout] | [INFO] [stdout] 578 | kernel32::VirtualFreeEx(process_handle, remote_string, dll_path_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:583:42 [INFO] [stdout] | [INFO] [stdout] 583 | fn eject_library(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE) -> bool { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:596:37 [INFO] [stdout] | [INFO] [stdout] 596 | kernel32_module = kernel32::GetModuleHandleW(kernel32_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in crate `kernel32` [INFO] [stdout] --> src/main.rs:605:42 [INFO] [stdout] | [INFO] [stdout] 605 | free_library_address = kernel32::GetProcAddress(kernel32_module, free_library_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:616:127 [INFO] [stdout] | [INFO] [stdout] 616 | ... unsafe {Some(::std::mem::transmute::<*const winapi::c_void, unsafe extern "system" fn(lpThreadParameter: winapi::minwindef::LPVOID) -... [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in crate `kernel32` [INFO] [stdout] --> src/main.rs:620:35 [INFO] [stdout] | [INFO] [stdout] 620 | ... thread_handle = kernel32::CreateRemoteThread(process_handle, null_mut(), 0, start_routine, module_handle as *mut winapi::c_void, 0,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:620:130 [INFO] [stdout] | [INFO] [stdout] 620 | ...t(), 0, start_routine, module_handle as *mut winapi::c_void, 0, thread_id_ptr); [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in crate `kernel32` [INFO] [stdout] --> src/main.rs:629:19 [INFO] [stdout] | [INFO] [stdout] 629 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:630:19 [INFO] [stdout] | [INFO] [stdout] 630 | kernel32::CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:681:29 [INFO] [stdout] | [INFO] [stdout] 681 | success = kernel32::CreateProcessW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in crate `kernel32` [INFO] [stdout] --> src/main.rs:700:23 [INFO] [stdout] | [INFO] [stdout] 700 | kernel32::ResumeThread(process_info.hThread); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in crate `winapi` [INFO] [stdout] --> src/main.rs:712:49 [INFO] [stdout] | [INFO] [stdout] 712 | fn call_remote_function(process_handle: winapi::HANDLE, module_handle: winapi::minwindef::HMODULE, function_name: &CString, argument: win... [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessId` in crate `kernel32` [INFO] [stdout] --> src/main.rs:723:46 [INFO] [stdout] | [INFO] [stdout] 723 | let process_id: u32 = unsafe { kernel32::GetProcessId(process_handle) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:796:87 [INFO] [stdout] | [INFO] [stdout] 796 | let resolved_fn = (module_base_addr as usize + offset as usize) as *const winapi::c_void; [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:803:38 [INFO] [stdout] | [INFO] [stdout] 803 | let mut remote_arg: *mut winapi::c_void = null_mut(); [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:806:36 [INFO] [stdout] | [INFO] [stdout] 806 | ... remote_arg = kernel32::VirtualAllocEx(process_handle, null_mut(), argument_size, winapi::winnt::MEM_RESERVE | winapi::winnt::MEM_CO... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in crate `kernel32` [INFO] [stdout] --> src/main.rs:819:33 [INFO] [stdout] | [INFO] [stdout] 819 | wpm_ret = kernel32::WriteProcessMemory(process_handle, remote_arg, argument, argument_size, bytes_written_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:825:27 [INFO] [stdout] | [INFO] [stdout] 825 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in crate `winapi` [INFO] [stdout] --> src/main.rs:834:118 [INFO] [stdout] | [INFO] [stdout] 834 | ... unsafe {Some(::std::mem::transmute::<*const winapi::c_void, unsafe extern "system" fn(lpParameter: winapi::minwindef::LPVOID) -> wina... [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in crate `kernel32` [INFO] [stdout] --> src/main.rs:838:35 [INFO] [stdout] | [INFO] [stdout] 838 | thread_handle = kernel32::CreateRemoteThread(process_handle, null_mut(), 0, start_routine, remote_arg, 0, thread_id_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:845:27 [INFO] [stdout] | [INFO] [stdout] 845 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in crate `kernel32` [INFO] [stdout] --> src/main.rs:852:19 [INFO] [stdout] | [INFO] [stdout] 852 | kernel32::WaitForSingleObject(thread_handle, winapi::winbase::INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32` [INFO] [stdout] --> src/main.rs:853:19 [INFO] [stdout] | [INFO] [stdout] 853 | kernel32::CloseHandle(thread_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in crate `kernel32` [INFO] [stdout] --> src/main.rs:855:23 [INFO] [stdout] | [INFO] [stdout] 855 | kernel32::VirtualFreeEx(process_handle, remote_arg, argument_size, winapi::winnt::MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `kernel32` [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:546:92 [INFO] [stdout] | [INFO] [stdout] 546 | ... wpm_ret = kernel32::WriteProcessMemory(process_handle, remote_string, dll_path_str.encode_wide().collect::>().as_ptr() as *c... [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 206 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hammer` [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] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:546:92 [INFO] [stdout] | [INFO] [stdout] 546 | ... wpm_ret = kernel32::WriteProcessMemory(process_handle, remote_string, dll_path_str.encode_wide().collect::>().as_ptr() as *c... [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 206 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d4f868edb6e0b8d272b69c793f33f3a68ce7883c8185876d687cd017ac47135a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f868edb6e0b8d272b69c793f33f3a68ce7883c8185876d687cd017ac47135a", kill_on_drop: false }` [INFO] [stdout] d4f868edb6e0b8d272b69c793f33f3a68ce7883c8185876d687cd017ac47135a