[INFO] cloning repository https://github.com/her0mx/process_ghost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/her0mx/process_ghost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fher0mx%2Fprocess_ghost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fher0mx%2Fprocess_ghost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b7432b9ff1af5e5aa340d619cacf1ad9e7c8827 [INFO] documenting her0mx/process_ghost against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fher0mx%2Fprocess_ghost" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/her0mx/process_ghost on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/her0mx/process_ghost [INFO] finished tweaking git repo https://github.com/her0mx/process_ghost [INFO] tweaked toml for git repo https://github.com/her0mx/process_ghost written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/her0mx/process_ghost already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded widestring v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d66ee6385d715306b980e14410a40d687172457231fdaa34239debc2d11435b [INFO] running `Command { std: "docker" "start" "-a" "1d66ee6385d715306b980e14410a40d687172457231fdaa34239debc2d11435b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d66ee6385d715306b980e14410a40d687172457231fdaa34239debc2d11435b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d66ee6385d715306b980e14410a40d687172457231fdaa34239debc2d11435b", kill_on_drop: false }` [INFO] [stdout] 1d66ee6385d715306b980e14410a40d687172457231fdaa34239debc2d11435b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2d206e6431d16f87bf17905215bb800d924b5dbf28b738131a4c371f7911c63 [INFO] running `Command { std: "docker" "start" "-a" "b2d206e6431d16f87bf17905215bb800d924b5dbf28b738131a4c371f7911c63", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.3.6 [INFO] [stderr] Checking widestring v0.5.1 [INFO] [stderr] Documenting process_ghost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntmmapi` [INFO] [stdout] --> src/process_env.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use ntapi::ntmmapi::{ NtReadVirtualMemory}; [INFO] [stdout] | ^^^^^^^ could not find `ntmmapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi` [INFO] [stdout] --> src/process_env.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use ntapi::ntpsapi::PROCESS_BASIC_INFORMATION; [INFO] [stdout] | ^^^^^^^ could not find `ntpsapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/process_env.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use ntapi::winapi::shared::ntdef::{HANDLE, NT_SUCCESS, NULL, UNICODE_STRING, PVOID}; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/process_env.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use ntapi::winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/process_env.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use ntapi::winapi::um::memoryapi::WriteProcessMemory; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/process_env.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use ntapi::winapi::um::userenv::CreateEnvironmentBlock; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/process_env.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use ntapi::winapi::um::winnt::{MEM_COMMIT, MEM_RESERVE, PAGE_READWRITE}; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process_env.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::minwindef::{LPCVOID, LPVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process_env.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::memoryapi::VirtualAllocEx; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntrtl` [INFO] [stdout] --> src/process_env.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use ntapi::ntrtl::{ [INFO] [stdout] | ^^^^^ could not find `ntrtl` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process_env.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::basetsd::{SIZE_T, ULONG_PTR}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpebteb` [INFO] [stdout] --> src/process_env.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use ntapi::ntpebteb::{PPEB, PEB}; [INFO] [stdout] | ^^^^^^^^ could not find `ntpebteb` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntioapi` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use ntapi::ntioapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntioapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntmmapi` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use ntapi::ntmmapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntmmapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntobapi` [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use ntapi::ntobapi::NtClose; [INFO] [stdout] | ^^^^^^^ could not find `ntobapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use ntapi::ntpsapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntpsapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use ntapi::winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | use ntapi::winapi::shared::ntdef::{OBJECT_ATTRIBUTES, ULONGLONG}; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use ntapi::winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use ntapi::winapi::um::winnt::{ [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::shared::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::shared::minwindef::{LPVOID, MAX_PATH}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::shared::ntdef::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::shared::ntstatus::STATUS_IMAGE_MACHINE_TYPE_MISMATCH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::um::fileapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | use winapi::um::processthreadsapi::{GetProcessId}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntrtl` [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use ntapi::ntrtl::{ [INFO] [stdout] | ^^^^^ could not find `ntrtl` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process_env.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn buffer_remote_peb(h_proces: HANDLE,pbi: PROCESS_BASIC_INFORMATION)->PEB{ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/process_env.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn set_params_in_peb(params: PVOID,h_process: HANDLE, remote_peb: PPEB)->bool{ [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/process_env.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn set_params_in_peb(params: PVOID,h_process: HANDLE, remote_peb: PPEB)->bool{ [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/process_env.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | hprocess: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/process_env.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> LPVOID { [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/process_env.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | h_process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe fn read_payload(payload: String) -> (LPVOID, u32) { [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/main.rs:231:52 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe fn open_file_temp(file_path: [u16; 100]) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | payload_buffer: LPVOID, [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/main.rs:291:6 [INFO] [stdout] | [INFO] [stdout] 291 | ) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/main.rs:357:65 [INFO] [stdout] | [INFO] [stdout] 357 | unsafe fn process_ghost(target: U16String, payload_buffer: *mut c_void, size_payload: u32) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `process_ghost` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name process_ghost src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=df8e4e5ae4e91b82 -L dependency=/opt/rustwide/target/debug/deps --extern ntapi=/opt/rustwide/target/debug/deps/libntapi-c9335dd993e1f0b6.rmeta --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-be772467f681fd2d.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-daac50b5383650c2.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "b2d206e6431d16f87bf17905215bb800d924b5dbf28b738131a4c371f7911c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d206e6431d16f87bf17905215bb800d924b5dbf28b738131a4c371f7911c63", kill_on_drop: false }` [INFO] [stdout] b2d206e6431d16f87bf17905215bb800d924b5dbf28b738131a4c371f7911c63