[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] 8c72069d3c057804f39f26574f49d805436fc497
[INFO] checking naari3/ppt-undo against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fppt-undo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/naari3/ppt-undo on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/naari3/ppt-undo 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uinput v0.1.3
[INFO] [stderr]   Downloaded ioctl-sys v0.5.2
[INFO] [stderr]   Downloaded process-memory v0.4.0
[INFO] [stderr]   Downloaded uinput-sys v0.1.7
[INFO] [stderr]   Downloaded inputbot v0.5.0
[INFO] [stderr]   Downloaded enum_derive v0.1.7
[INFO] [stderr]   Downloaded nix v0.10.0
[INFO] [stderr]   Downloaded udev v0.4.0
[INFO] [stderr]   Downloaded input v0.5.0
[INFO] [stderr]   Downloaded input-sys v1.15.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bbaa895bd138486db16fdf68bf6b86beb5e125bd81e111d1e66e7ff3435c5135
[INFO] running `Command { std: "docker" "start" "-a" "bbaa895bd138486db16fdf68bf6b86beb5e125bd81e111d1e66e7ff3435c5135", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bbaa895bd138486db16fdf68bf6b86beb5e125bd81e111d1e66e7ff3435c5135", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbaa895bd138486db16fdf68bf6b86beb5e125bd81e111d1e66e7ff3435c5135", kill_on_drop: false }`
[INFO] [stdout] bbaa895bd138486db16fdf68bf6b86beb5e125bd81e111d1e66e7ff3435c5135
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be09a9e9c0abf7d43abafa49af25d4b843fb3f8fe69969f61fc34b0c097d73a3
[INFO] running `Command { std: "docker" "start" "-a" "be09a9e9c0abf7d43abafa49af25d4b843fb3f8fe69969f61fc34b0c097d73a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling input-sys v1.15.0
[INFO] [stderr]    Compiling nix v0.10.0
[INFO] [stderr]     Checking byteorder v1.4.2
[INFO] [stderr]     Checking ioctl-sys v0.5.2
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]     Checking enum_derive v0.1.7
[INFO] [stderr]     Checking custom_derive v0.1.7
[INFO] [stderr]     Checking once_cell v1.5.2
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking uinput-sys v0.1.7
[INFO] [stderr]     Checking process-memory v0.4.0
[INFO] [stderr]     Checking udev v0.4.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking input v0.5.0
[INFO] [stderr]     Checking uinput v0.1.3
[INFO] [stderr]     Checking inputbot v0.5.0
[INFO] [stderr]     Checking ppt-undo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot 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] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c86ec274072509d26d0ee52682a0c94ed012ed89/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c86ec274072509d26d0ee52682a0c94ed012ed89/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/state.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::debugapi::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::minwinbase::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[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 unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW};
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winbase::*;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winnt::*;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[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]: cannot 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] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c86ec274072509d26d0ee52682a0c94ed012ed89/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c86ec274072509d26d0ee52682a0c94ed012ed89/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/state.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::debugapi::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::memoryapi::{ReadProcessMemory, WriteProcessMemory};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/sync_ppt.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::minwinbase::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[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 unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::psapi::{EnumProcessModules, EnumProcesses, GetModuleBaseNameW};
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winbase::*;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winnt::*;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[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[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Context(CONTEXT);
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CREATE_PROCESS_DEBUG_EVENT` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:60:42
[INFO] [stdout]    |
[INFO] [stdout] 60 |         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:65:33
[INFO] [stdout]    |
[INFO] [stdout] 65 |         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 type `HANDLE` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |     process: HANDLE,
[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:114:45
[INFO] [stdout]     |
[INFO] [stdout] 114 |                         regs.ContextFlags = CONTEXT_ALL;
[INFO] [stdout]     |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DEBUG_EVENT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:153:31
[INFO] [stdout]     |
[INFO] [stdout] 153 | unsafe fn wait_for_event() -> DEBUG_EVENT {
[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:155:35
[INFO] [stdout]     |
[INFO] [stdout] 155 |     WaitForDebugEvent(&mut event, INFINITE);
[INFO] [stdout]     |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |     process: HANDLE,
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 | ) -> Result<HANDLE> {
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn breakpoint<HANDLE>(
[INFO] [stdout]     |              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_DEBUG_EVENT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:190:42
[INFO] [stdout]     |
[INFO] [stdout] 190 |             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:191:46
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 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:194:34
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 *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:199:38
[INFO] [stdout]     |
[INFO] [stdout] 199 |             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:200:34
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 *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:204:34
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 *continue_kind = DBG_EXCEPTION_NOT_HANDLED;
[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:219:37
[INFO] [stdout]     |
[INFO] [stdout] 219 |             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:219:58
[INFO] [stdout]     |
[INFO] [stdout] 219 |             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:221:33
[INFO] [stdout]     |
[INFO] [stdout] 221 |             regs.ContextFlags = CONTEXT_ALL;
[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:225:30
[INFO] [stdout]     |
[INFO] [stdout] 225 |             *continue_kind = DBG_CONTINUE;
[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:234:33
[INFO] [stdout]     |
[INFO] [stdout] 234 |         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:234:54
[INFO] [stdout]     |
[INFO] [stdout] 234 |         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:236:29
[INFO] [stdout]     |
[INFO] [stdout] 236 |         regs.ContextFlags = CONTEXT_ALL;
[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:252:42
[INFO] [stdout]     |
[INFO] [stdout] 252 |             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:253:46
[INFO] [stdout]     |
[INFO] [stdout] 253 |                 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:256:34
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 *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:261:38
[INFO] [stdout]     |
[INFO] [stdout] 261 |             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:262:34
[INFO] [stdout]     |
[INFO] [stdout] 262 |                 *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:265:30
[INFO] [stdout]     |
[INFO] [stdout] 265 |             *continue_kind = DBG_CONTINUE;
[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:286:38
[INFO] [stdout]     |
[INFO] [stdout] 286 |             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:286:66
[INFO] [stdout]     |
[INFO] [stdout] 286 |             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 `DebugActiveProcess` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |         match $f($($content)*) {
[INFO] [stdout]    |               -- due to this macro variable
[INFO] [stdout] ...
[INFO] [stdout] 57 |         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 `ContinueDebugEvent` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |         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:71:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |         match $f($($content)*) {
[INFO] [stdout]    |               -- due to this macro variable
[INFO] [stdout] ...
[INFO] [stdout] 71 |         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 `WaitForDebugEvent` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 |     WaitForDebugEvent(&mut event, INFINITE);
[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:187:16
[INFO] [stdout]     |
[INFO] [stdout]  37 |         match $f($($content)*) {
[INFO] [stdout]     |               -- due to this macro variable
[INFO] [stdout] ...
[INFO] [stdout] 187 |             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 `ContinueDebugEvent` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:247:16
[INFO] [stdout]     |
[INFO] [stdout] 247 |             if ContinueDebugEvent(pid, *tid, *continue_kind) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/sync_ppt.rs:305:57
[INFO] [stdout]     |
[INFO] [stdout] 305 | ...                   let s = std::ffi::OsString::from_wide(&buffer[..i]);
[INFO] [stdout]     |                                                   ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/c86ec274072509d26d0ee52682a0c94ed012ed89/library/std/src/ffi/os_str.rs:141:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 305 -                             let s = std::ffi::OsString::from_wide(&buffer[..i]);
[INFO] [stdout] 305 +                             let s = std::ffi::OsString::from_iter(&buffer[..i]);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ppt-undo` (bin "ppt-undo") due to 49 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find type `CONTEXT` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Context(CONTEXT);
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CREATE_PROCESS_DEBUG_EVENT` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:60:42
[INFO] [stdout]    |
[INFO] [stdout] 60 |         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:65:33
[INFO] [stdout]    |
[INFO] [stdout] 65 |         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 type `HANDLE` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |     process: HANDLE,
[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:114:45
[INFO] [stdout]     |
[INFO] [stdout] 114 |                         regs.ContextFlags = CONTEXT_ALL;
[INFO] [stdout]     |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DEBUG_EVENT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:153:31
[INFO] [stdout]     |
[INFO] [stdout] 153 | unsafe fn wait_for_event() -> DEBUG_EVENT {
[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:155:35
[INFO] [stdout]     |
[INFO] [stdout] 155 |     WaitForDebugEvent(&mut event, INFINITE);
[INFO] [stdout]     |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |     process: HANDLE,
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 | ) -> Result<HANDLE> {
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn breakpoint<HANDLE>(
[INFO] [stdout]     |              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_DEBUG_EVENT` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:190:42
[INFO] [stdout]     |
[INFO] [stdout] 190 |             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:191:46
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 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:194:34
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 *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:199:38
[INFO] [stdout]     |
[INFO] [stdout] 199 |             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:200:34
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 *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:204:34
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 *continue_kind = DBG_EXCEPTION_NOT_HANDLED;
[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:219:37
[INFO] [stdout]     |
[INFO] [stdout] 219 |             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:219:58
[INFO] [stdout]     |
[INFO] [stdout] 219 |             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:221:33
[INFO] [stdout]     |
[INFO] [stdout] 221 |             regs.ContextFlags = CONTEXT_ALL;
[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:225:30
[INFO] [stdout]     |
[INFO] [stdout] 225 |             *continue_kind = DBG_CONTINUE;
[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:234:33
[INFO] [stdout]     |
[INFO] [stdout] 234 |         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:234:54
[INFO] [stdout]     |
[INFO] [stdout] 234 |         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:236:29
[INFO] [stdout]     |
[INFO] [stdout] 236 |         regs.ContextFlags = CONTEXT_ALL;
[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:252:42
[INFO] [stdout]     |
[INFO] [stdout] 252 |             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:253:46
[INFO] [stdout]     |
[INFO] [stdout] 253 |                 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:256:34
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 *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:261:38
[INFO] [stdout]     |
[INFO] [stdout] 261 |             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:262:34
[INFO] [stdout]     |
[INFO] [stdout] 262 |                 *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:265:30
[INFO] [stdout]     |
[INFO] [stdout] 265 |             *continue_kind = DBG_CONTINUE;
[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:286:38
[INFO] [stdout]     |
[INFO] [stdout] 286 |             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:286:66
[INFO] [stdout]     |
[INFO] [stdout] 286 |             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 `DebugActiveProcess` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |         match $f($($content)*) {
[INFO] [stdout]    |               -- due to this macro variable
[INFO] [stdout] ...
[INFO] [stdout] 57 |         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 `ContinueDebugEvent` in this scope
[INFO] [stdout]   --> src/sync_ppt.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |         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:71:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |         match $f($($content)*) {
[INFO] [stdout]    |               -- due to this macro variable
[INFO] [stdout] ...
[INFO] [stdout] 71 |         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 `WaitForDebugEvent` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 |     WaitForDebugEvent(&mut event, INFINITE);
[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:187:16
[INFO] [stdout]     |
[INFO] [stdout]  37 |         match $f($($content)*) {
[INFO] [stdout]     |               -- due to this macro variable
[INFO] [stdout] ...
[INFO] [stdout] 187 |             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 `ContinueDebugEvent` in this scope
[INFO] [stdout]    --> src/sync_ppt.rs:247:16
[INFO] [stdout]     |
[INFO] [stdout] 247 |             if ContinueDebugEvent(pid, *tid, *continue_kind) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/sync_ppt.rs:305:57
[INFO] [stdout]     |
[INFO] [stdout] 305 | ...                   let s = std::ffi::OsString::from_wide(&buffer[..i]);
[INFO] [stdout]     |                                                   ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/c86ec274072509d26d0ee52682a0c94ed012ed89/library/std/src/ffi/os_str.rs:141:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 305 -                             let s = std::ffi::OsString::from_wide(&buffer[..i]);
[INFO] [stdout] 305 +                             let s = std::ffi::OsString::from_iter(&buffer[..i]);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ppt-undo` (bin "ppt-undo" test) due to 49 previous errors
[INFO] running `Command { std: "docker" "inspect" "be09a9e9c0abf7d43abafa49af25d4b843fb3f8fe69969f61fc34b0c097d73a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be09a9e9c0abf7d43abafa49af25d4b843fb3f8fe69969f61fc34b0c097d73a3", kill_on_drop: false }`
[INFO] [stdout] be09a9e9c0abf7d43abafa49af25d4b843fb3f8fe69969f61fc34b0c097d73a3
