[INFO] cloning repository https://github.com/y4mari/Processya [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y4mari/Processya" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy4mari%2FProcessya", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy4mari%2FProcessya'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 197fee37ece8c367e1133d22832550373c619754 [INFO] checking y4mari/Processya against try#121a90d34197f711021eeb158e7f4184b8be8ceb for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy4mari%2FProcessya" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/y4mari/Processya on toolchain 121a90d34197f711021eeb158e7f4184b8be8ceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/y4mari/Processya [INFO] finished tweaking git repo https://github.com/y4mari/Processya [INFO] tweaked toml for git repo https://github.com/y4mari/Processya written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/y4mari/Processya already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9aa9473c0f249c5634ead74c3d40e3ea65f0d9fd831981fa235e8fb668462f62 [INFO] running `Command { std: "docker" "start" "-a" "9aa9473c0f249c5634ead74c3d40e3ea65f0d9fd831981fa235e8fb668462f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aa9473c0f249c5634ead74c3d40e3ea65f0d9fd831981fa235e8fb668462f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa9473c0f249c5634ead74c3d40e3ea65f0d9fd831981fa235e8fb668462f62", kill_on_drop: false }` [INFO] [stdout] 9aa9473c0f249c5634ead74c3d40e3ea65f0d9fd831981fa235e8fb668462f62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 807076d4b4197d819604b5228a30f381ec835346285e2ed153777aa904f85b14 [INFO] running `Command { std: "docker" "start" "-a" "807076d4b4197d819604b5228a30f381ec835346285e2ed153777aa904f85b14", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling ntapi v0.4.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking Processya v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::psapi::EnumProcessModules; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::tlhelp32::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump_child.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump_child.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump_child.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, Process32First, Process32Next, PROCESSENTRY32, TH32CS_SNAPPROCESS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump_child.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::{PROCESS_QUERY_INFORMATION, PROCESS_SUSPEND_RESUME, PROCESS_VM_OPERATION, PROCESS_VM_READ}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/dump.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::tlhelp32::PROCESSENTRY32; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/section.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/section.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/section.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::memoryapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/section.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/header.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/header.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/header.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::memoryapi::ReadProcessMemory; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/header.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/module.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/module.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::psapi::{GetModuleFileNameExA, GetModuleInformation, MODULEINFO}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/module.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::{HANDLE, LPSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::{PROCESS_QUERY_INFORMATION, PROCESS_SUSPEND_RESUME, PROCESS_VM_OPERATION, PROCESS_VM_READ}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi` [INFO] [stdout] --> src/dump/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use ntapi::ntpsapi::{NtResumeProcess, NtSuspendProcess}; [INFO] [stdout] | ^^^^^^^ could not find `ntpsapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::psapi::EnumProcessModules; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::tlhelp32::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump_child.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump_child.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump_child.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, Process32First, Process32Next, PROCESSENTRY32, TH32CS_SNAPPROCESS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump_child.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::{PROCESS_QUERY_INFORMATION, PROCESS_SUSPEND_RESUME, PROCESS_VM_OPERATION, PROCESS_VM_READ}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/dump.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::tlhelp32::PROCESSENTRY32; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/dump.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/section.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/section.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/section.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::memoryapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/section.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/header.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/header.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/header.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::memoryapi::ReadProcessMemory; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/header.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/module.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::HMODULE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/module.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::psapi::{GetModuleFileNameExA, GetModuleInformation, MODULEINFO}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/module.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::{HANDLE, LPSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dump/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/dump/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::{PROCESS_QUERY_INFORMATION, PROCESS_SUSPEND_RESUME, PROCESS_VM_OPERATION, PROCESS_VM_READ}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi` [INFO] [stdout] --> src/dump/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use ntapi::ntpsapi::{NtResumeProcess, NtSuspendProcess}; [INFO] [stdout] | ^^^^^^^ could not find `ntpsapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn find_proc bool>(func_e: F) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | fn find_proc bool>(func_e: F) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | fn find_proc bool, PROCESSENTRY32>(func_e: F) -> Result { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> src/process.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let mut entry: PROCESSENTRY32 = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn find_proc bool>(func_e: F) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | fn find_proc bool>(func_e: F) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | fn find_proc bool, PROCESSENTRY32>(func_e: F) -> Result { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> src/process.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let mut entry: PROCESSENTRY32 = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | entry.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | fn find_proc bool, PROCESSENTRY32>(func_e: F) -> Result { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_procentry_with_pid(pid: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_procentry_with_pid(pid: u32) -> Result { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_procentry_with_name(process_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_procentry_with_name(process_name: &str) -> Result { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/process.rs:61:50 [INFO] [stdout] | [INFO] [stdout] 61 | let hsnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/process.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | let mut me32: MODULEENTRY32 = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/process.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | me32.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_base_addr(pid: u32) -> Result { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/dump/section.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn dump_section(outfile: &mut File, h_proc: HANDLE, sectionv: &[IMAGE_SECTION_HEADER], base_addr: u64) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/section.rs:15:76 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn dump_section(outfile: &mut File, h_proc: HANDLE, sectionv: &[IMAGE_SECTION_HEADER], base_addr: u64) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/dump/section.rs:23:92 [INFO] [stdout] | [INFO] [stdout] 23 | if VirtualProtectEx(h_proc, real_addr as LPVOID, *sec.Misc.VirtualSize() as usize, PAGE_EXECUTE_READWRITE, &mut old_protect) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | entry.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | fn find_proc bool, PROCESSENTRY32>(func_e: F) -> Result { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_procentry_with_pid(pid: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_procentry_with_pid(pid: u32) -> Result { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_procentry_with_name(process_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_procentry_with_name(process_name: &str) -> Result { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/process.rs:61:50 [INFO] [stdout] | [INFO] [stdout] 61 | let hsnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/dump/section.rs:27:90 [INFO] [stdout] | [INFO] [stdout] 27 | if VirtualQueryEx(h_proc, real_addr as LPVOID, &mut mem_info, mem::size_of::()) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn dump_section(outfile: &mut File, h_proc: HANDLE, sectionv: &[IMAGE_SECTION_HEADER], base_addr: u64) -> Result<(), io::Error> { [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/process.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | let mut me32: MODULEENTRY32 = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/process.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | me32.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_base_addr(pid: u32) -> Result { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READONLY` in this scope [INFO] [stdout] --> src/dump/section.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | ... if mem_info.Protect != PAGE_READONLY && mem_info.Protect != PAGE_READWRITE && mem_info.Protect != PAGE_EXECUTE_READ && mem_info.Pro... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/dump/section.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn dump_section(outfile: &mut File, h_proc: HANDLE, sectionv: &[IMAGE_SECTION_HEADER], base_addr: u64) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/section.rs:15:76 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn dump_section(outfile: &mut File, h_proc: HANDLE, sectionv: &[IMAGE_SECTION_HEADER], base_addr: u64) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/dump/section.rs:32:73 [INFO] [stdout] | [INFO] [stdout] 32 | ... if mem_info.Protect != PAGE_READONLY && mem_info.Protect != PAGE_READWRITE && mem_info.Protect != PAGE_EXECUTE_READ && mem_info.Pro... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/dump/section.rs:23:92 [INFO] [stdout] | [INFO] [stdout] 23 | if VirtualProtectEx(h_proc, real_addr as LPVOID, *sec.Misc.VirtualSize() as usize, PAGE_EXECUTE_READWRITE, &mut old_protect) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/dump/section.rs:27:90 [INFO] [stdout] | [INFO] [stdout] 27 | if VirtualQueryEx(h_proc, real_addr as LPVOID, &mut mem_info, mem::size_of::()) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn dump_section(outfile: &mut File, h_proc: HANDLE, sectionv: &[IMAGE_SECTION_HEADER], base_addr: u64) -> Result<(), io::Error> { [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READ` in this scope [INFO] [stdout] --> src/dump/section.rs:32:111 [INFO] [stdout] | [INFO] [stdout] 32 | ...tect != PAGE_READWRITE && mem_info.Protect != PAGE_EXECUTE_READ && mem_info.Protect != PAGE_EXECUTE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READONLY` in this scope [INFO] [stdout] --> src/dump/section.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | ... if mem_info.Protect != PAGE_READONLY && mem_info.Protect != PAGE_READWRITE && mem_info.Protect != PAGE_EXECUTE_READ && mem_info.Pro... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/dump/section.rs:32:73 [INFO] [stdout] | [INFO] [stdout] 32 | ... if mem_info.Protect != PAGE_READONLY && mem_info.Protect != PAGE_READWRITE && mem_info.Protect != PAGE_EXECUTE_READ && mem_info.Pro... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READ` in this scope [INFO] [stdout] --> src/dump/section.rs:32:111 [INFO] [stdout] | [INFO] [stdout] 32 | ...tect != PAGE_READWRITE && mem_info.Protect != PAGE_EXECUTE_READ && mem_info.Protect != PAGE_EXECUTE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/dump/section.rs:32:152 [INFO] [stdout] | [INFO] [stdout] 32 | ...!= PAGE_EXECUTE_READ && mem_info.Protect != PAGE_EXECUTE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/dump/section.rs:32:152 [INFO] [stdout] | [INFO] [stdout] 32 | ...!= PAGE_EXECUTE_READ && mem_info.Protect != PAGE_EXECUTE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_WRITECOPY` in this scope [INFO] [stdout] --> src/dump/section.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | && mem_info.Protect != PAGE_EXECUTE_WRITECOPY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_CNT_UNINITIALIZED_DATA` in this scope [INFO] [stdout] --> src/dump/section.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | if OPT.zero_bss && sec.Characteristics & IMAGE_SCN_CNT_UNINITIALIZED_DATA != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_WRITECOPY` in this scope [INFO] [stdout] --> src/dump/section.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | && mem_info.Protect != PAGE_EXECUTE_WRITECOPY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_OPTIONAL_HEADER32` in this scope [INFO] [stdout] --> src/dump/header.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | impl OptHeader for IMAGE_OPTIONAL_HEADER32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:54:64 [INFO] [stdout] | [INFO] [stdout] 54 | fn get_size_of_struct_opt(&self) -> usize { mem::size_of::() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl OptHeader for IMAGE_OPTIONAL_HEADER32 { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_CNT_UNINITIALIZED_DATA` in this scope [INFO] [stdout] --> src/dump/section.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | if OPT.zero_bss && sec.Characteristics & IMAGE_SCN_CNT_UNINITIALIZED_DATA != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_OPTIONAL_HEADER64` in this scope [INFO] [stdout] --> src/dump/header.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | impl OptHeader for IMAGE_OPTIONAL_HEADER64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:94:64 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_size_of_struct_opt(&self) -> usize { mem::size_of::() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | impl OptHeader for IMAGE_OPTIONAL_HEADER64 { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:99:96 [INFO] [stdout] | [INFO] [stdout] 99 | ...fnew: i32, header_nt: &HeaderNt, sectionv: &[IMAGE_SECTION_HEADER]) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_CNT_CODE` in this scope [INFO] [stdout] --> src/dump/header.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | if sec.Characteristics & IMAGE_SCN_CNT_CODE != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_OPTIONAL_HEADER32` in this scope [INFO] [stdout] --> src/dump/header.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | impl OptHeader for IMAGE_OPTIONAL_HEADER32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_CNT_INITIALIZED_DATA` in this scope [INFO] [stdout] --> src/dump/header.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | if sec.Characteristics & IMAGE_SCN_CNT_INITIALIZED_DATA != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_CNT_UNINITIALIZED_DATA` in this scope [INFO] [stdout] --> src/dump/header.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | if sec.Characteristics & IMAGE_SCN_CNT_UNINITIALIZED_DATA != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:120:62 [INFO] [stdout] | [INFO] [stdout] 120 | let mut nt32 = *(header_nt.nt_header.0 as *const IMAGE_NT_HEADERS32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:54:64 [INFO] [stdout] | [INFO] [stdout] 54 | fn get_size_of_struct_opt(&self) -> usize { mem::size_of::() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl OptHeader for IMAGE_OPTIONAL_HEADER32 { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:125:62 [INFO] [stdout] | [INFO] [stdout] 125 | let mut nt64 = *(header_nt.nt_header.0 as *const IMAGE_NT_HEADERS64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:131:75 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(offs) = recl_symptr_table(header_nt.nt_header.0 as *const IMAGE_NT_HEADERS32, sectionv) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:171:46 [INFO] [stdout] | [INFO] [stdout] 171 | pub unsafe fn recl_symptr_table(nt_h: *const IMAGE_NT_HEADERS32, sectionv: &[IMAGE_SECTION_HEADER]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_OPTIONAL_HEADER64` in this scope [INFO] [stdout] --> src/dump/header.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | impl OptHeader for IMAGE_OPTIONAL_HEADER64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:94:64 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_size_of_struct_opt(&self) -> usize { mem::size_of::() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 58 | impl OptHeader for IMAGE_OPTIONAL_HEADER64 { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:99:96 [INFO] [stdout] | [INFO] [stdout] 99 | ...fnew: i32, header_nt: &HeaderNt, sectionv: &[IMAGE_SECTION_HEADER]) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_CNT_CODE` in this scope [INFO] [stdout] --> src/dump/header.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | if sec.Characteristics & IMAGE_SCN_CNT_CODE != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_CNT_INITIALIZED_DATA` in this scope [INFO] [stdout] --> src/dump/header.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | if sec.Characteristics & IMAGE_SCN_CNT_INITIALIZED_DATA != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_SCN_CNT_UNINITIALIZED_DATA` in this scope [INFO] [stdout] --> src/dump/header.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | if sec.Characteristics & IMAGE_SCN_CNT_UNINITIALIZED_DATA != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:120:62 [INFO] [stdout] | [INFO] [stdout] 120 | let mut nt32 = *(header_nt.nt_header.0 as *const IMAGE_NT_HEADERS32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:125:62 [INFO] [stdout] | [INFO] [stdout] 125 | let mut nt64 = *(header_nt.nt_header.0 as *const IMAGE_NT_HEADERS64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:171:78 [INFO] [stdout] | [INFO] [stdout] 171 | pub unsafe fn recl_symptr_table(nt_h: *const IMAGE_NT_HEADERS32, sectionv: &[IMAGE_SECTION_HEADER]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:131:75 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(offs) = recl_symptr_table(header_nt.nt_header.0 as *const IMAGE_NT_HEADERS32, sectionv) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/dump/header.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io:... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:171:46 [INFO] [stdout] | [INFO] [stdout] 171 | pub unsafe fn recl_symptr_table(nt_h: *const IMAGE_NT_HEADERS32, sectionv: &[IMAGE_SECTION_HEADER]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:171:78 [INFO] [stdout] | [INFO] [stdout] 171 | pub unsafe fn recl_symptr_table(nt_h: *const IMAGE_NT_HEADERS32, sectionv: &[IMAGE_SECTION_HEADER]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:196:112 [INFO] [stdout] | [INFO] [stdout] 196 | ...ut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | let mut dos_header: IMAGE_DOS_HEADER = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:199:111 [INFO] [stdout] | [INFO] [stdout] 199 | ..._of_mut!(dos_header) as LPVOID, mem::size_of::(), &mut 0) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/dump/header.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io:... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | let mut nt32: IMAGE_NT_HEADERS32 = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:196:112 [INFO] [stdout] | [INFO] [stdout] 196 | ...ut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:213:99 [INFO] [stdout] | [INFO] [stdout] 213 | if ReadProcessMemory(h_proc, *addr, ptr::addr_of_mut!(nt32) as LPVOID, mem::size_of::(), &mut 0) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | let mut dos_header: IMAGE_DOS_HEADER = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:218:54 [INFO] [stdout] | [INFO] [stdout] 218 | *addr = (*addr as usize + mem::size_of::()) as LPVOID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:199:111 [INFO] [stdout] | [INFO] [stdout] 199 | ..._of_mut!(dos_header) as LPVOID, mem::size_of::(), &mut 0) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | let mut nt64: IMAGE_NT_HEADERS64 = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | let mut nt32: IMAGE_NT_HEADERS32 = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:213:99 [INFO] [stdout] | [INFO] [stdout] 213 | if ReadProcessMemory(h_proc, *addr, ptr::addr_of_mut!(nt32) as LPVOID, mem::size_of::(), &mut 0) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:223:99 [INFO] [stdout] | [INFO] [stdout] 223 | if ReadProcessMemory(h_proc, *addr, ptr::addr_of_mut!(nt64) as LPVOID, mem::size_of::(), &mut 0) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/dump/header.rs:218:54 [INFO] [stdout] | [INFO] [stdout] 218 | *addr = (*addr as usize + mem::size_of::()) as LPVOID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:228:54 [INFO] [stdout] | [INFO] [stdout] 228 | *addr = (*addr as usize + mem::size_of::()) as LPVOID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | let mut nt64: IMAGE_NT_HEADERS64 = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:243:43 [INFO] [stdout] | [INFO] [stdout] 243 | let mut sectionv = vec![mem::zeroed::(); num_sec as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:223:99 [INFO] [stdout] | [INFO] [stdout] 223 | if ReadProcessMemory(h_proc, *addr, ptr::addr_of_mut!(nt64) as LPVOID, mem::size_of::(), &mut 0) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:244:36 [INFO] [stdout] | [INFO] [stdout] 244 | let size_secb = mem::size_of::() * num_sec as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/dump/header.rs:228:54 [INFO] [stdout] | [INFO] [stdout] 228 | *addr = (*addr as usize + mem::size_of::()) as LPVOID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:243:43 [INFO] [stdout] | [INFO] [stdout] 243 | let mut sectionv = vec![mem::zeroed::(); num_sec as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/dump/header.rs:244:36 [INFO] [stdout] | [INFO] [stdout] 244 | let size_secb = mem::size_of::() * num_sec as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn dump_header(h_proc: HANDLE, base_addr: u64, addr: &mut LPVOID, outfile: &mut File) -> Result, io::Error> { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/process.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/process.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if Process32First(snapshot, &mut entry) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/process.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if Process32Next(snapshot, &mut entry) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/process.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let hsnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope [INFO] [stdout] --> src/process.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | if Module32First(hsnapshot, &mut me32) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/process.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/process.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if Process32First(snapshot, &mut entry) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/process.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if Process32Next(snapshot, &mut entry) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/process.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let hsnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope [INFO] [stdout] --> src/process.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | if Module32First(hsnapshot, &mut me32) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/dump/section.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if VirtualProtectEx(h_proc, real_addr as LPVOID, *sec.Misc.VirtualSize() as usize, PAGE_EXECUTE_READWRITE, &mut old_protect) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQueryEx` in this scope [INFO] [stdout] --> src/dump/section.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if VirtualQueryEx(h_proc, real_addr as LPVOID, &mut mem_info, mem::size_of::()) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> src/dump/section.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | ... if ReadProcessMemory(h_proc, real_addr as LPVOID, sec_content.as_mut_ptr() as LPVOID, sec.SizeOfRawData as usize, &mut byte_read) =... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/dump/section.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | if rs && VirtualProtectEx(h_proc, real_addr as LPVOID, *sec.Misc.VirtualSize() as usize, old_protect, &mut old_protect) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/dump/section.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if VirtualProtectEx(h_proc, real_addr as LPVOID, *sec.Misc.VirtualSize() as usize, PAGE_EXECUTE_READWRITE, &mut old_protect) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQueryEx` in this scope [INFO] [stdout] --> src/dump/section.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if VirtualQueryEx(h_proc, real_addr as LPVOID, &mut mem_info, mem::size_of::()) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> src/dump/section.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | ... if ReadProcessMemory(h_proc, real_addr as LPVOID, sec_content.as_mut_ptr() as LPVOID, sec.SizeOfRawData as usize, &mut byte_read) =... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/dump/section.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | if rs && VirtualProtectEx(h_proc, real_addr as LPVOID, *sec.Misc.VirtualSize() as usize, old_protect, &mut old_protect) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Processya` (bin "Processya" test) due to 82 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Processya` (bin "Processya") due to 82 previous errors [INFO] running `Command { std: "docker" "inspect" "807076d4b4197d819604b5228a30f381ec835346285e2ed153777aa904f85b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "807076d4b4197d819604b5228a30f381ec835346285e2ed153777aa904f85b14", kill_on_drop: false }` [INFO] [stdout] 807076d4b4197d819604b5228a30f381ec835346285e2ed153777aa904f85b14