[INFO] cloning repository https://github.com/af280cf94190a54043e947948a0031ce7ed71dc/infiltrate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/af280cf94190a54043e947948a0031ce7ed71dc/infiltrate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faf280cf94190a54043e947948a0031ce7ed71dc%2Finfiltrate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faf280cf94190a54043e947948a0031ce7ed71dc%2Finfiltrate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eafdb1b9ef5dc61d4f3bc774f50067ca9ca8421e [INFO] checking af280cf94190a54043e947948a0031ce7ed71dc/infiltrate/eafdb1b9ef5dc61d4f3bc774f50067ca9ca8421e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faf280cf94190a54043e947948a0031ce7ed71dc%2Finfiltrate" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/af280cf94190a54043e947948a0031ce7ed71dc/infiltrate on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/af280cf94190a54043e947948a0031ce7ed71dc/infiltrate [INFO] finished tweaking git repo https://github.com/af280cf94190a54043e947948a0031ce7ed71dc/infiltrate [INFO] tweaked toml for git repo https://github.com/af280cf94190a54043e947948a0031ce7ed71dc/infiltrate written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/af280cf94190a54043e947948a0031ce7ed71dc/infiltrate 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.22.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97b21ce5767ac4313ef936694f6430b8381b2b015c18a6d914d2c987352d9357 [INFO] running `Command { std: "docker" "start" "-a" "97b21ce5767ac4313ef936694f6430b8381b2b015c18a6d914d2c987352d9357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97b21ce5767ac4313ef936694f6430b8381b2b015c18a6d914d2c987352d9357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97b21ce5767ac4313ef936694f6430b8381b2b015c18a6d914d2c987352d9357", kill_on_drop: false }` [INFO] [stdout] 97b21ce5767ac4313ef936694f6430b8381b2b015c18a6d914d2c987352d9357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 205b4cf7cfb0aa6232382262da6a566f9213dbb5d05c47c8447cf4e5ead06eef [INFO] running `Command { std: "docker" "start" "-a" "205b4cf7cfb0aa6232382262da6a566f9213dbb5d05c47c8447cf4e5ead06eef", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling sysinfo v0.22.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking infiltrate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::libloaderapi::{GetProcAddress, GetModuleHandleA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::processthreadsapi::{OpenProcess, CreateRemoteThread, GetExitCodeThread}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::synchapi::WaitForSingleObject; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::libloaderapi::{GetProcAddress, GetModuleHandleA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::processthreadsapi::{OpenProcess, CreateRemoteThread, GetExitCodeThread}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::DWORD; [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/process/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::NULL; [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/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::synchapi::WaitForSingleObject; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/memory.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::memoryapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/memory.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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/process/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process/memory.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::*; [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/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process/memory.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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 `um` in `winapi` [INFO] [stdout] --> src/process/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/memory.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::DWORD; [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/process/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::NULL; [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/memory.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::memoryapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process/memory.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `shared` in `winapi` [INFO] [stdout] --> src/process/memory.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::*; [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/process/memory.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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 `um` in `winapi` [INFO] [stdout] --> src/process/memory.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/process/inject.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process/inject.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::LPCVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::process::Process` [INFO] [stdout] --> src/process/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::process::Process; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/process/inject.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process/inject.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::LPCVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::process::Process` [INFO] [stdout] --> src/process/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::process::Process; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/process/memory.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/process/memory.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | MEM_COMMIT | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/process/memory.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | MEM_COMMIT | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/process/memory.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | PAGE_EXECUTE_READWRITE [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/memory.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_process_memory(&self, base_addr: LPVOID, buffer: LPCVOID, size: usize) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/process/memory.rs:31:67 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_process_memory(&self, base_addr: LPVOID, buffer: LPCVOID, size: usize) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/process/memory.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | NULL as _ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/process/memory.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_process_memory(&self, base_addr: LPCVOID, size: usize) -> DWORD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process/memory.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_process_memory(&self, base_addr: LPCVOID, size: usize) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process/memory.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let mut error: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/process/memory.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | NULL as _ [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/memory.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn virtual_free_ex(&self, base_addr: LPVOID, size: usize) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/process/memory.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | MEM_RELEASE [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/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_CREATE_THREAD` in this scope [INFO] [stdout] --> src/process/mod.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | let handle = OpenProcess(PROCESS_CREATE_THREAD [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/process/mod.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | | PROCESS_QUERY_INFORMATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/process/memory.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_OPERATION` in this scope [INFO] [stdout] --> src/process/mod.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | | PROCESS_VM_OPERATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope [INFO] [stdout] --> src/process/mod.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | | PROCESS_VM_WRITE [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/process/memory.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | MEM_COMMIT | MEM_RESERVE, [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/process/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | | PROCESS_VM_READ, 0, pid); [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/mod.rs:77:73 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn create_remote_thread(&self, alloc: *mut std::ffi::c_void) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/process/memory.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | MEM_COMMIT | MEM_RESERVE, [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/mod.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn wait_for_single_object(&self, thread: HANDLE) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/process/memory.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | PAGE_EXECUTE_READWRITE [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/process/mod.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | WaitForSingleObject(thread, 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/process/mod.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn close_handle(&self, thread: 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/memory.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_process_memory(&self, base_addr: LPVOID, buffer: LPCVOID, size: usize) { [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/mod.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_exit_code(&self, thread: HANDLE) -> u32 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/process/memory.rs:31:67 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_process_memory(&self, base_addr: LPVOID, buffer: LPCVOID, size: usize) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProcessExt`, `SystemExt`, and `System` [INFO] [stdout] --> src/process/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use sysinfo::{ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/process/memory.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | NULL as _ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/process/memory.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_process_memory(&self, base_addr: LPCVOID, size: usize) -> DWORD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process/memory.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_process_memory(&self, base_addr: LPCVOID, size: usize) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/process/memory.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let mut error: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/process/memory.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | NULL as _ [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/memory.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn virtual_free_ex(&self, base_addr: LPVOID, size: usize) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/process/memory.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | MEM_RELEASE [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/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_CREATE_THREAD` in this scope [INFO] [stdout] --> src/process/mod.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | let handle = OpenProcess(PROCESS_CREATE_THREAD [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/process/mod.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | | PROCESS_QUERY_INFORMATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_OPERATION` in this scope [INFO] [stdout] --> src/process/mod.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | | PROCESS_VM_OPERATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope [INFO] [stdout] --> src/process/mod.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | | PROCESS_VM_WRITE [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/process/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | | PROCESS_VM_READ, 0, pid); [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/mod.rs:77:73 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn create_remote_thread(&self, alloc: *mut std::ffi::c_void) -> 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/process/mod.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn wait_for_single_object(&self, thread: HANDLE) { [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/process/mod.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | WaitForSingleObject(thread, 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/process/mod.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn close_handle(&self, thread: 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/process/mod.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_exit_code(&self, thread: HANDLE) -> u32 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProcessExt`, `SystemExt`, and `System` [INFO] [stdout] --> src/process/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use sysinfo::{ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/process/inject.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 11 | let dll_path: Vec = dll [INFO] [stdout] | __________________________________- [INFO] [stdout] 12 | | .canonicalize() [INFO] [stdout] 13 | | .unwrap() [INFO] [stdout] 14 | | .into_os_string() [INFO] [stdout] 15 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/process/inject.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 11 | let dll_path: Vec = dll [INFO] [stdout] | __________________________________- [INFO] [stdout] 12 | | .canonicalize() [INFO] [stdout] 13 | | .unwrap() [INFO] [stdout] 14 | | .into_os_string() [INFO] [stdout] 15 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 1 warning emitted [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] [stdout] error: aborting due to 41 previous errors; 1 warning emitted [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 `infiltrate` (bin "infiltrate" test) due to 42 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `infiltrate` (bin "infiltrate") due to 42 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "205b4cf7cfb0aa6232382262da6a566f9213dbb5d05c47c8447cf4e5ead06eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "205b4cf7cfb0aa6232382262da6a566f9213dbb5d05c47c8447cf4e5ead06eef", kill_on_drop: false }` [INFO] [stdout] 205b4cf7cfb0aa6232382262da6a566f9213dbb5d05c47c8447cf4e5ead06eef