[INFO] cloning repository https://github.com/naari3/ppt-undo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naari3/ppt-undo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc7be494e3048425e0b7d09afe436bae24b83497 [INFO] checking naari3/ppt-undo against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naari3/ppt-undo on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/naari3/ppt-undo [INFO] finished tweaking git repo https://github.com/naari3/ppt-undo [INFO] tweaked toml for git repo https://github.com/naari3/ppt-undo written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/naari3/ppt-undo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aff48f2c93815b9c3a44bdae8e41b4ee98b5ac73c7946ce57b52ad4305c16c00 [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" "aff48f2c93815b9c3a44bdae8e41b4ee98b5ac73c7946ce57b52ad4305c16c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aff48f2c93815b9c3a44bdae8e41b4ee98b5ac73c7946ce57b52ad4305c16c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aff48f2c93815b9c3a44bdae8e41b4ee98b5ac73c7946ce57b52ad4305c16c00", kill_on_drop: false }` [INFO] [stdout] aff48f2c93815b9c3a44bdae8e41b4ee98b5ac73c7946ce57b52ad4305c16c00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f34b18e0a52a957e5d31ee29c062523cdc3994ce29ed295a68210edff5591e9a [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" "f34b18e0a52a957e5d31ee29c062523cdc3994ce29ed295a68210edff5591e9a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking process-memory v0.4.0 [INFO] [stderr] Checking ppt-undo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/sync_ppt.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | 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: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::debugapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::minwinbase::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{GetThreadContext, OpenProcess, OpenThread, SetThreadContext}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/sync_ppt.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | 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: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::debugapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::minwinbase::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{GetThreadContext, OpenProcess, OpenThread, SetThreadContext}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/sync_ppt.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um::debugapi::*`, `winapi::um::errhandlingapi::GetLastError`, `winapi::um::handleapi::CloseHandle`, `winapi::um::memoryapi::ReadProcessMemory`, `winapi::um::memoryapi::WriteProcessMemory`, `winapi::um::minwinbase::*`, `winapi::um::processthreadsapi::GetThreadContext`, `winapi::um::processthreadsapi::OpenProcess`, `winapi::um::processthreadsapi::OpenThread`, `winapi::um::processthreadsapi::SetThreadContext`, `winapi::um::psapi::EnumProcessModules`, `winapi::um::psapi::EnumProcesses`, `winapi::um::psapi::GetModuleBaseNameW`, `winapi::um::winbase::*`, `winapi::um::winnt::*` [INFO] [stdout] --> src/sync_ppt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::debugapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use winapi::um::minwinbase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{GetThreadContext, OpenProcess, OpenThread, SetThreadContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use winapi::um::winbase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um::debugapi::*`, `winapi::um::errhandlingapi::GetLastError`, `winapi::um::handleapi::CloseHandle`, `winapi::um::memoryapi::ReadProcessMemory`, `winapi::um::memoryapi::WriteProcessMemory`, `winapi::um::minwinbase::*`, `winapi::um::processthreadsapi::GetThreadContext`, `winapi::um::processthreadsapi::OpenProcess`, `winapi::um::processthreadsapi::OpenThread`, `winapi::um::processthreadsapi::SetThreadContext`, `winapi::um::psapi::EnumProcessModules`, `winapi::um::psapi::EnumProcesses`, `winapi::um::psapi::GetModuleBaseNameW`, `winapi::um::winbase::*`, `winapi::um::winnt::*` [INFO] [stdout] --> src/sync_ppt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::debugapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use winapi::um::minwinbase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use winapi::um::processthreadsapi::{GetThreadContext, OpenProcess, OpenThread, SetThreadContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use winapi::um::winbase::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONTEXT` [INFO] [stdout] --> src/sync_ppt.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | let mut regs = CONTEXT::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `CONTEXT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONTEXT` [INFO] [stdout] --> src/sync_ppt.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | let mut regs = CONTEXT::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `CONTEXT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONTEXT` [INFO] [stdout] --> src/sync_ppt.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | let mut regs = CONTEXT::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `CONTEXT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/state.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_from_proc(handle: HANDLE) -> Result { [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/state.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_seed(handle: HANDLE) -> Result { [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/state.rs:86:44 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_is_current_piece_active(handle: HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DebugActiveProcess` in this scope [INFO] [stdout] --> src/sync_ppt.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | w!(DebugActiveProcess(pid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 45 | w!(DebugActiveProcess(pid)); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_PROCESS_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | if dbg_event.dwDebugEventCode != CREATE_PROCESS_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | let mut continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope [INFO] [stdout] --> src/sync_ppt.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | ContinueDebugEvent(pid, tid, continue_kind); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DebugActiveProcessStop` in this scope [INFO] [stdout] --> src/sync_ppt.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | w!(DebugActiveProcessStop(pid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 59 | w!(DebugActiveProcessStop(pid)); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/sync_ppt.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | CloseHandle(thread); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | unsafe fn wait_for_event() -> DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForDebugEvent` in this scope [INFO] [stdout] --> src/sync_ppt.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | WaitForDebugEvent(&mut event, INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | WaitForDebugEvent(&mut event, INFINITE); [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/sync_ppt.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | process: HANDLE, [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/sync_ppt.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 147 | fn breakpoint( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 153 | ) -> Result { [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/sync_ppt.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | w!(ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 157 | / w!(ReadProcessMemory( [INFO] [stdout] 158 | | process, [INFO] [stdout] 159 | | address as *mut _, [INFO] [stdout] 160 | | &mut original as *mut _ as *mut _, [INFO] [stdout] 161 | | 1, [INFO] [stdout] 162 | | &mut rw, [INFO] [stdout] 163 | | )); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/sync_ppt.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | w!(WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 165 | / w!(WriteProcessMemory( [INFO] [stdout] 166 | | process, [INFO] [stdout] 167 | | address as *mut _, [INFO] [stdout] 168 | | &0xCC as *const _ as *const _, [INFO] [stdout] 169 | | 1, [INFO] [stdout] 170 | | &mut rw, [INFO] [stdout] 171 | | )); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope [INFO] [stdout] --> src/sync_ppt.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | w!(ContinueDebugEvent(pid, *tid, *continue_kind)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 175 | w!(ContinueDebugEvent(pid, *tid, *continue_kind)); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | if event.dwDebugEventCode != EXCEPTION_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXIT_PROCESS_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:179:46 [INFO] [stdout] | [INFO] [stdout] 179 | if event.dwDebugEventCode == EXIT_PROCESS_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_BREAKPOINT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:187:38 [INFO] [stdout] | [INFO] [stdout] 187 | if info.ExceptionCode != EXCEPTION_BREAKPOINT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:188:34 [INFO] [stdout] | [INFO] [stdout] 188 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:192:34 [INFO] [stdout] | [INFO] [stdout] 192 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/sync_ppt.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | w!(WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 199 | / w!(WriteProcessMemory( [INFO] [stdout] 200 | | process, [INFO] [stdout] 201 | | address as *mut _, [INFO] [stdout] 202 | | &original as *const _ as *const _, [INFO] [stdout] 203 | | 1, [INFO] [stdout] 204 | | &mut rw, [INFO] [stdout] 205 | | )); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope [INFO] [stdout] --> src/sync_ppt.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:207:58 [INFO] [stdout] | [INFO] [stdout] 207 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL` in this scope [INFO] [stdout] --> src/sync_ppt.rs:209:33 [INFO] [stdout] | [INFO] [stdout] 209 | regs.ContextFlags = CONTEXT_ALL; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope [INFO] [stdout] --> src/sync_ppt.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | w!(GetThreadContext(thread, &mut regs)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 210 | w!(GetThreadContext(thread, &mut regs)); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope [INFO] [stdout] --> src/sync_ppt.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | w!(SetThreadContext(thread, ®s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 212 | w!(SetThreadContext(thread, ®s)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_CONTINUE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:213:30 [INFO] [stdout] | [INFO] [stdout] 213 | *continue_kind = DBG_CONTINUE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope [INFO] [stdout] --> src/sync_ppt.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:222:33 [INFO] [stdout] | [INFO] [stdout] 222 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:222:54 [INFO] [stdout] | [INFO] [stdout] 222 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL` in this scope [INFO] [stdout] --> src/sync_ppt.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | regs.ContextFlags = CONTEXT_ALL; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope [INFO] [stdout] --> src/sync_ppt.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | if GetThreadContext(thread, &mut regs) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope [INFO] [stdout] --> src/sync_ppt.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | if SetThreadContext(thread, ®s) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/sync_ppt.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | CloseHandle(thread); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope [INFO] [stdout] --> src/sync_ppt.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | if ContinueDebugEvent(pid, *tid, *continue_kind) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:240:46 [INFO] [stdout] | [INFO] [stdout] 240 | if dbg_event.dwDebugEventCode != EXCEPTION_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXIT_PROCESS_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:241:50 [INFO] [stdout] | [INFO] [stdout] 241 | if dbg_event.dwDebugEventCode == EXIT_PROCESS_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_SINGLE_STEP` in this scope [INFO] [stdout] --> src/sync_ppt.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 249 | if info.ExceptionCode != EXCEPTION_SINGLE_STEP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_CONTINUE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | *continue_kind = DBG_CONTINUE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcesses` in this scope [INFO] [stdout] --> src/sync_ppt.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | if EnumProcesses( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/sync_ppt.rs:274:26 [INFO] [stdout] | [INFO] [stdout] 274 | let handle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/sync_ppt.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | let handle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> src/sync_ppt.rs:274:66 [INFO] [stdout] | [INFO] [stdout] 274 | let handle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/sync_ppt.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | if EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope [INFO] [stdout] --> src/sync_ppt.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | GetModuleBaseNameW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/sync_ppt.rs:296:37 [INFO] [stdout] | [INFO] [stdout] 296 | ... CloseHandle(handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/sync_ppt.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | CloseHandle(handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONTEXT` [INFO] [stdout] --> src/sync_ppt.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | let mut regs = CONTEXT::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `CONTEXT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/state.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_from_proc(handle: HANDLE) -> Result { [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/state.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_seed(handle: HANDLE) -> Result { [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/state.rs:86:44 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_is_current_piece_active(handle: HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DebugActiveProcess` in this scope [INFO] [stdout] --> src/sync_ppt.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | w!(DebugActiveProcess(pid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 45 | w!(DebugActiveProcess(pid)); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_PROCESS_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | if dbg_event.dwDebugEventCode != CREATE_PROCESS_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | let mut continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope [INFO] [stdout] --> src/sync_ppt.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | ContinueDebugEvent(pid, tid, continue_kind); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DebugActiveProcessStop` in this scope [INFO] [stdout] --> src/sync_ppt.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | w!(DebugActiveProcessStop(pid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 59 | w!(DebugActiveProcessStop(pid)); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/sync_ppt.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | CloseHandle(thread); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | unsafe fn wait_for_event() -> DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForDebugEvent` in this scope [INFO] [stdout] --> src/sync_ppt.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | WaitForDebugEvent(&mut event, INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | WaitForDebugEvent(&mut event, INFINITE); [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/sync_ppt.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | process: HANDLE, [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/sync_ppt.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 147 | fn breakpoint( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 153 | ) -> Result { [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/sync_ppt.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | w!(ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 157 | / w!(ReadProcessMemory( [INFO] [stdout] 158 | | process, [INFO] [stdout] 159 | | address as *mut _, [INFO] [stdout] 160 | | &mut original as *mut _ as *mut _, [INFO] [stdout] 161 | | 1, [INFO] [stdout] 162 | | &mut rw, [INFO] [stdout] 163 | | )); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/sync_ppt.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | w!(WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 165 | / w!(WriteProcessMemory( [INFO] [stdout] 166 | | process, [INFO] [stdout] 167 | | address as *mut _, [INFO] [stdout] 168 | | &0xCC as *const _ as *const _, [INFO] [stdout] 169 | | 1, [INFO] [stdout] 170 | | &mut rw, [INFO] [stdout] 171 | | )); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope [INFO] [stdout] --> src/sync_ppt.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | w!(ContinueDebugEvent(pid, *tid, *continue_kind)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 175 | w!(ContinueDebugEvent(pid, *tid, *continue_kind)); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | if event.dwDebugEventCode != EXCEPTION_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXIT_PROCESS_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:179:46 [INFO] [stdout] | [INFO] [stdout] 179 | if event.dwDebugEventCode == EXIT_PROCESS_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_BREAKPOINT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:187:38 [INFO] [stdout] | [INFO] [stdout] 187 | if info.ExceptionCode != EXCEPTION_BREAKPOINT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:188:34 [INFO] [stdout] | [INFO] [stdout] 188 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:192:34 [INFO] [stdout] | [INFO] [stdout] 192 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/sync_ppt.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | w!(WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 199 | / w!(WriteProcessMemory( [INFO] [stdout] 200 | | process, [INFO] [stdout] 201 | | address as *mut _, [INFO] [stdout] 202 | | &original as *const _ as *const _, [INFO] [stdout] 203 | | 1, [INFO] [stdout] 204 | | &mut rw, [INFO] [stdout] 205 | | )); [INFO] [stdout] | |_______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope [INFO] [stdout] --> src/sync_ppt.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 207 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:207:58 [INFO] [stdout] | [INFO] [stdout] 207 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL` in this scope [INFO] [stdout] --> src/sync_ppt.rs:209:33 [INFO] [stdout] | [INFO] [stdout] 209 | regs.ContextFlags = CONTEXT_ALL; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope [INFO] [stdout] --> src/sync_ppt.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | w!(GetThreadContext(thread, &mut regs)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 210 | w!(GetThreadContext(thread, &mut regs)); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope [INFO] [stdout] --> src/sync_ppt.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | w!(SetThreadContext(thread, ®s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/sync_ppt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | stringify!(f), line!(), GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 212 | w!(SetThreadContext(thread, ®s)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_CONTINUE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:213:30 [INFO] [stdout] | [INFO] [stdout] 213 | *continue_kind = DBG_CONTINUE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope [INFO] [stdout] --> src/sync_ppt.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:222:33 [INFO] [stdout] | [INFO] [stdout] 222 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:222:54 [INFO] [stdout] | [INFO] [stdout] 222 | let thread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, 0, *tid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL` in this scope [INFO] [stdout] --> src/sync_ppt.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | regs.ContextFlags = CONTEXT_ALL; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope [INFO] [stdout] --> src/sync_ppt.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | if GetThreadContext(thread, &mut regs) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope [INFO] [stdout] --> src/sync_ppt.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | if SetThreadContext(thread, ®s) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/sync_ppt.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | CloseHandle(thread); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope [INFO] [stdout] --> src/sync_ppt.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | if ContinueDebugEvent(pid, *tid, *continue_kind) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:240:46 [INFO] [stdout] | [INFO] [stdout] 240 | if dbg_event.dwDebugEventCode != EXCEPTION_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXIT_PROCESS_DEBUG_EVENT` in this scope [INFO] [stdout] --> src/sync_ppt.rs:241:50 [INFO] [stdout] | [INFO] [stdout] 241 | if dbg_event.dwDebugEventCode == EXIT_PROCESS_DEBUG_EVENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_SINGLE_STEP` in this scope [INFO] [stdout] --> src/sync_ppt.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 249 | if info.ExceptionCode != EXCEPTION_SINGLE_STEP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/sync_ppt.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | *continue_kind = DBG_EXCEPTION_NOT_HANDLED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_CONTINUE` in this scope [INFO] [stdout] --> src/sync_ppt.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | *continue_kind = DBG_CONTINUE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcesses` in this scope [INFO] [stdout] --> src/sync_ppt.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | if EnumProcesses( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/sync_ppt.rs:274:26 [INFO] [stdout] | [INFO] [stdout] 274 | let handle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/sync_ppt.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | let handle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> src/sync_ppt.rs:274:66 [INFO] [stdout] | [INFO] [stdout] 274 | let handle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/sync_ppt.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | if EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope [INFO] [stdout] --> src/sync_ppt.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | GetModuleBaseNameW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/sync_ppt.rs:296:37 [INFO] [stdout] | [INFO] [stdout] 296 | ... CloseHandle(handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/sync_ppt.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | CloseHandle(handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/sync_ppt.rs:293:57 [INFO] [stdout] | [INFO] [stdout] 293 | ... let s = std::ffi::OsString::from_wide(&buffer[..i]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 77 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ppt-undo` [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 function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/sync_ppt.rs:293:57 [INFO] [stdout] | [INFO] [stdout] 293 | ... let s = std::ffi::OsString::from_wide(&buffer[..i]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 77 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, 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" "f34b18e0a52a957e5d31ee29c062523cdc3994ce29ed295a68210edff5591e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34b18e0a52a957e5d31ee29c062523cdc3994ce29ed295a68210edff5591e9a", kill_on_drop: false }` [INFO] [stdout] f34b18e0a52a957e5d31ee29c062523cdc3994ce29ed295a68210edff5591e9a