[INFO] cloning repository https://github.com/ShieldBattery/stimpack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShieldBattery/stimpack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShieldBattery%2Fstimpack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShieldBattery%2Fstimpack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9073f8fb7a626436e3b07838e0f53d9a30a97299 [INFO] testing ShieldBattery/stimpack against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShieldBattery%2Fstimpack" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShieldBattery/stimpack on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ShieldBattery/stimpack [INFO] finished tweaking git repo https://github.com/ShieldBattery/stimpack [INFO] tweaked toml for git repo https://github.com/ShieldBattery/stimpack written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/ShieldBattery/stimpack already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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 cslice v0.2.0 [INFO] [stderr] Downloaded neon-runtime v0.9.1 [INFO] [stderr] Downloaded neon-build v0.9.1 [INFO] [stderr] Downloaded neon-macros v0.9.1 [INFO] [stderr] Downloaded neon v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c02a76952400e7c4a56af9af21fc13f494b73a6ed6cade96333f85731c65ed52 [INFO] running `Command { std: "docker" "start" "-a" "c02a76952400e7c4a56af9af21fc13f494b73a6ed6cade96333f85731c65ed52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c02a76952400e7c4a56af9af21fc13f494b73a6ed6cade96333f85731c65ed52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c02a76952400e7c4a56af9af21fc13f494b73a6ed6cade96333f85731c65ed52", kill_on_drop: false }` [INFO] [stdout] c02a76952400e7c4a56af9af21fc13f494b73a6ed6cade96333f85731c65ed52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 183f123b27ea8e1762a281bccecf134b1a27e1a0f03541d1ca4f68100e3e0197 [INFO] running `Command { std: "docker" "start" "-a" "183f123b27ea8e1762a281bccecf134b1a27e1a0f03541d1ca4f68100e3e0197", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling neon-build v0.9.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.3.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling cslice v0.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling neon-runtime v0.9.1 [INFO] [stderr] Compiling neon v0.9.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling neon-macros v0.9.1 [INFO] [stderr] Compiling stimpack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::FALSE; [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/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::ntdef::{LARGE_INTEGER, MAXULONG, NT_SUCCESS, OBJECT_ATTRIBUTES}; [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/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::processthreadsapi::{ [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/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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/lib.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::sysinfoapi::{GetNativeSystemInfo, SYSTEM_INFO}; [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/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winbase::{CREATE_SUSPENDED, INFINITE}; [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/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | 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/shellcode.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::MAX_PATH; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntmmapi` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use ntapi::ntmmapi::{NtCreateSection, NtMapViewOfSection, NtUnmapViewOfSection, ViewUnmap}; [INFO] [stdout] | ^^^^^^^ could not find `ntmmapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/shellcode.rs:1041:21 [INFO] [stdout] | [INFO] [stdout] 1041 | dll_path: [u16; MAX_PATH], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/shellcode.rs:1042:21 [INFO] [stdout] | [INFO] [stdout] 1042 | func_name: [u8; MAX_PATH], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/shellcode.rs:1068:26 [INFO] [stdout] | [INFO] [stdout] 1068 | dll_path: [0u16; MAX_PATH], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/shellcode.rs:1069:26 [INFO] [stdout] | [INFO] [stdout] 1069 | func_name: [0u8; MAX_PATH], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SYSTEM_INFO` in this scope [INFO] [stdout] --> src/lib.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn system_info() -> &'static SYSTEM_INFO { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SYSTEM_INFO` in this scope [INFO] [stdout] --> src/lib.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | static mut INFO: mem::MaybeUninit = mem::MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNativeSystemInfo` in this scope [INFO] [stdout] --> src/lib.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | INIT.call_once(|| GetNativeSystemInfo(INFO.as_mut_ptr())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY64` in this scope [INFO] [stdout] --> src/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | impl PeTLS for IMAGE_TLS_DIRECTORY64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY32` in this scope [INFO] [stdout] --> src/lib.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | impl PeTLS for IMAGE_TLS_DIRECTORY32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_FILE_MACHINE_AMD64` in this scope [INFO] [stdout] --> src/lib.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | self.machine() == IMAGE_FILE_MACHINE_AMD64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:90:39 [INFO] [stdout] | [INFO] [stdout] 90 | fn data_dir(&self, index: u16) -> IMAGE_DATA_DIRECTORY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | fn export_dir(&self) -> IMAGE_DATA_DIRECTORY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_EXPORT` in this scope [INFO] [stdout] --> src/lib.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | self.data_dir(IMAGE_DIRECTORY_ENTRY_EXPORT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait PeImage { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 94 | fn export_dd(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_EXPORT_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:98:59 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait PeImage { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 98 | || (export_dd.Size as usize) < mem::size_of::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | fn tls_dir(&self) -> IMAGE_DATA_DIRECTORY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DIRECTORY_ENTRY_TLS` in this scope [INFO] [stdout] --> src/lib.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | self.data_dir(IMAGE_DIRECTORY_ENTRY_TLS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait PeImage { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 107 | fn tls_dd(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY64` in this scope [INFO] [stdout] --> src/lib.rs:114:60 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait PeImage { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 114 | true if tls_dd.Size as usize == mem::size_of::() => Some(tls_dd), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY32` in this scope [INFO] [stdout] --> src/lib.rs:115:61 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait PeImage { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 115 | false if tls_dd.Size as usize == mem::size_of::() => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/lib.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | impl PeImage for IMAGE_NT_HEADERS32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | fn data_dir(&self, index: u16) -> IMAGE_DATA_DIRECTORY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | return IMAGE_DATA_DIRECTORY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_FILE_DLL` in this scope [INFO] [stdout] --> src/lib.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 137 | self.FileHeader.Characteristics & IMAGE_FILE_DLL != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_NT_SIGNATURE` in this scope [INFO] [stdout] --> src/lib.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | self.Signature == IMAGE_NT_SIGNATURE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/lib.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | impl PeImage for IMAGE_NT_HEADERS64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | fn data_dir(&self, index: u16) -> IMAGE_DATA_DIRECTORY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IMAGE_DATA_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | return IMAGE_DATA_DIRECTORY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_FILE_DLL` in this scope [INFO] [stdout] --> src/lib.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 161 | self.FileHeader.Characteristics & IMAGE_FILE_DLL != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_NT_SIGNATURE` in this scope [INFO] [stdout] --> src/lib.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | self.Signature == IMAGE_NT_SIGNATURE [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/lib.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | h: HANDLE, [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `Handle` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/neon-0.9.1/src/handle/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Handle<'a, T: Managed + 'a> { [INFO] [stdout] | -------------------------------------- similarly named struct `Handle` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAXULONG` in this scope [INFO] [stdout] --> src/lib.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | if data.len() > MAXULONG as usize { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OBJECT_ATTRIBUTES` in this scope [INFO] [stdout] --> src/lib.rs:192:32 [INFO] [stdout] | [INFO] [stdout] 192 | let mut obj_attr = OBJECT_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OBJECT_ATTRIBUTES` in this scope [INFO] [stdout] --> src/lib.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 177 | impl DynamicCodeSection { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 193 | Length: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/lib.rs:198:39 [INFO] [stdout] | [INFO] [stdout] 198 | let mut section_max_size: LARGE_INTEGER = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECTION_MAP_READ` in this scope [INFO] [stdout] --> src/lib.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | SECTION_MAP_READ | SECTION_MAP_WRITE | SECTION_QUERY | SECTION_MAP_EXECUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECTION_MAP_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | SECTION_MAP_READ | SECTION_MAP_WRITE | SECTION_QUERY | SECTION_MAP_EXECUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECTION_QUERY` in this scope [INFO] [stdout] --> src/lib.rs:202:56 [INFO] [stdout] | [INFO] [stdout] 202 | SECTION_MAP_READ | SECTION_MAP_WRITE | SECTION_QUERY | SECTION_MAP_EXECUTE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECTION_MAP_EXECUTE` in this scope [INFO] [stdout] --> src/lib.rs:202:72 [INFO] [stdout] | [INFO] [stdout] 202 | SECTION_MAP_READ | SECTION_MAP_WRITE | SECTION_QUERY | SECTION_MAP_EXECUTE, [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/lib.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | PAGE_EXECUTE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEC_COMMIT` in this scope [INFO] [stdout] --> src/lib.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | SEC_COMMIT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NT_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | if !NT_SUCCESS(status) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/lib.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 215 | let mut section_offset: LARGE_INTEGER = std::mem::zeroed(); [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/lib.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | let mut map_base: PVOID = ptr::null_mut(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/lib.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/lib.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NT_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | if !NT_SUCCESS(status) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/lib.rs:246:34 [INFO] [stdout] | [INFO] [stdout] 246 | NtUnmapViewOfSection(GetCurrentProcess(), map_base); [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/lib.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `Handle` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/neon-0.9.1/src/handle/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Handle<'a, T: Managed + 'a> { [INFO] [stdout] | -------------------------------------- similarly named struct `Handle` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | CloseHandle(self.h); [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/lib.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 276 | h: HANDLE, [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `Handle` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/neon-0.9.1/src/handle/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Handle<'a, T: Managed + 'a> { [INFO] [stdout] | -------------------------------------- similarly named struct `Handle` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/lib.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | impl MemRegion for MEMORY_BASIC_INFORMATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEC_IMAGE` in this scope [INFO] [stdout] --> src/lib.rs:305:22 [INFO] [stdout] | [INFO] [stdout] 305 | self.Type == SEC_IMAGE [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_FREE` in this scope [INFO] [stdout] --> src/lib.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | self.State == MEM_FREE [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/lib.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | type Item = MEMORY_BASIC_INFORMATION; [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/lib.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn new_from_handle(h: HANDLE) -> Self { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `Handle` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/neon-0.9.1/src/handle/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Handle<'a, T: Managed + 'a> { [INFO] [stdout] | -------------------------------------- similarly named struct `Handle` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:349:55 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn new_from_path(path: &str) -> Option<(Self, HANDLE)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/neon-0.9.1/src/handle/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Handle<'a, T: Managed + 'a> { [INFO] [stdout] | -------------------------------------- similarly named struct `Handle` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 349 | pub fn new_from_path(path: &str) -> Option<(Self, Handle)> { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/lib.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | let mut process_info: PROCESS_INFORMATION = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `STARTUPINFOW` in this scope [INFO] [stdout] --> src/lib.rs:352:36 [INFO] [stdout] | [INFO] [stdout] 352 | let mut startup_info = STARTUPINFOW { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> src/lib.rs:353:36 [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 353 | cb: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope [INFO] [stdout] --> src/lib.rs:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | let success = CreateProcessW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_SUSPENDED` in this scope [INFO] [stdout] --> src/lib.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | CREATE_SUSPENDED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:374:27 [INFO] [stdout] | [INFO] [stdout] 374 | if success == FALSE { [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/lib.rs:388:29 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `Handle` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/neon-0.9.1/src/handle/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Handle<'a, T: Managed + 'a> { [INFO] [stdout] | -------------------------------------- similarly named struct `Handle` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/lib.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | WaitForSingleObject(self.h, milliseconds); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/lib.rs:398:56 [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn virtual_query(&self, addr: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/lib.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | let mut mbi: MEMORY_BASIC_INFORMATION = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQueryEx` in this scope [INFO] [stdout] --> src/lib.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | let bytes = VirtualQueryEx(self.h, addr as PVOID, &mut mbi, mem::size_of_val(&mbi)); [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/lib.rs:401:56 [INFO] [stdout] | [INFO] [stdout] 401 | let bytes = VirtualQueryEx(self.h, addr as PVOID, &mut mbi, mem::size_of_val(&mbi)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> src/lib.rs:415:16 [INFO] [stdout] | [INFO] [stdout] 415 | if ReadProcessMemory( [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/lib.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | addr as PVOID, [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/lib.rs:418:40 [INFO] [stdout] | [INFO] [stdout] 418 | buffer.as_mut_ptr() as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:421:18 [INFO] [stdout] | [INFO] [stdout] 421 | ) == FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/lib.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> src/lib.rs:438:16 [INFO] [stdout] | [INFO] [stdout] 438 | if ReadProcessMemory( [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/lib.rs:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | addr as PVOID, [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/lib.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | obj as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:444:18 [INFO] [stdout] | [INFO] [stdout] 444 | ) == FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/lib.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> src/lib.rs:462:16 [INFO] [stdout] | [INFO] [stdout] 462 | if WriteProcessMemory( [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/lib.rs:464:25 [INFO] [stdout] | [INFO] [stdout] 464 | addr as PVOID, [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/lib.rs:465:34 [INFO] [stdout] | [INFO] [stdout] 465 | data.as_ptr() as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:468:18 [INFO] [stdout] | [INFO] [stdout] 468 | ) == FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtectEx` in this scope [INFO] [stdout] --> src/lib.rs:480:16 [INFO] [stdout] | [INFO] [stdout] 480 | if VirtualProtectEx(self.h, addr as PVOID, length, prot, &mut old_prot) == FALSE { [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/lib.rs:480:49 [INFO] [stdout] | [INFO] [stdout] 480 | if VirtualProtectEx(self.h, addr as PVOID, length, prot, &mut old_prot) == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:480:88 [INFO] [stdout] | [INFO] [stdout] 480 | if VirtualProtectEx(self.h, addr as PVOID, length, prot, &mut old_prot) == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/lib.rs:523:41 [INFO] [stdout] | [INFO] [stdout] 523 | let mut section_offset: LARGE_INTEGER = std::mem::zeroed(); [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/lib.rs:527:58 [INFO] [stdout] | [INFO] [stdout] 527 | ptr::addr_of_mut!(dest_addr) as *mut PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NT_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | if !NT_SUCCESS(status) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/lib.rs:549:61 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn iter_free_regions(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/lib.rs:555:26 [INFO] [stdout] | [INFO] [stdout] 555 | let mut dos_hdr: IMAGE_DOS_HEADER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IMAGE_DOS_SIGNATURE` in this scope [INFO] [stdout] --> src/lib.rs:557:31 [INFO] [stdout] | [INFO] [stdout] 557 | if dos_hdr.e_magic != IMAGE_DOS_SIGNATURE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS` in this scope [INFO] [stdout] --> src/lib.rs:563:60 [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 563 | let file_header_addr = nt_header_addr + offset_of!(IMAGE_NT_HEADERS, FileHeader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS` in this scope [INFO] [stdout] --> src/lib.rs:563:60 [INFO] [stdout] | [INFO] [stdout] 563 | let file_header_addr = nt_header_addr + offset_of!(IMAGE_NT_HEADERS, FileHeader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IMAGE_NT_HEADERS` in this scope [INFO] [stdout] --> src/lib.rs:563:60 [INFO] [stdout] | [INFO] [stdout] 563 | let file_header_addr = nt_header_addr + offset_of!(IMAGE_NT_HEADERS, FileHeader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_FILE_HEADER` in this scope [INFO] [stdout] --> src/lib.rs:564:30 [INFO] [stdout] | [INFO] [stdout] 564 | let mut file_header: IMAGE_FILE_HEADER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/lib.rs:571:60 [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 571 | IMAGE_FILE_MACHINE_AMD64 => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/lib.rs:572:59 [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 572 | IMAGE_FILE_MACHINE_I386 => mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/lib.rs:580:41 [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 580 | [u8; mem::size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS64` in this scope [INFO] [stdout] --> src/lib.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 581 | IMAGE_NT_HEADERS64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/lib.rs:586:41 [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 586 | [u8; mem::size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_NT_HEADERS32` in this scope [INFO] [stdout] --> src/lib.rs:587:21 [INFO] [stdout] | [INFO] [stdout] 344 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 587 | IMAGE_NT_HEADERS32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MEMORY_BASIC_INFORMATION` in this scope [INFO] [stdout] --> src/lib.rs:602:32 [INFO] [stdout] | [INFO] [stdout] 602 | ) -> impl Iterator)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | CloseHandle(self.h); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_EXPORT_DIRECTORY` in this scope [INFO] [stdout] --> src/lib.rs:630:26 [INFO] [stdout] | [INFO] [stdout] 630 | let mut exp_dir: IMAGE_EXPORT_DIRECTORY = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY64` in this scope [INFO] [stdout] --> src/lib.rs:666:37 [INFO] [stdout] | [INFO] [stdout] 653 | fn read_img_tls( [INFO] [stdout] | - help: you might be missing a type parameter: `, IMAGE_TLS_DIRECTORY64` [INFO] [stdout] ... [INFO] [stdout] 666 | [u8; mem::size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY64` in this scope [INFO] [stdout] --> src/lib.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 653 | fn read_img_tls( [INFO] [stdout] | - help: you might be missing a type parameter: `, IMAGE_TLS_DIRECTORY64` [INFO] [stdout] ... [INFO] [stdout] 667 | IMAGE_TLS_DIRECTORY64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY32` in this scope [INFO] [stdout] --> src/lib.rs:672:37 [INFO] [stdout] | [INFO] [stdout] 653 | fn read_img_tls( [INFO] [stdout] | - help: you might be missing a type parameter: `, IMAGE_TLS_DIRECTORY32` [INFO] [stdout] ... [INFO] [stdout] 672 | [u8; mem::size_of::()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_TLS_DIRECTORY32` in this scope [INFO] [stdout] --> src/lib.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 653 | fn read_img_tls( [INFO] [stdout] | - help: you might be missing a type parameter: `, IMAGE_TLS_DIRECTORY32` [INFO] [stdout] ... [INFO] [stdout] 673 | IMAGE_TLS_DIRECTORY32, [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/lib.rs:744:61 [INFO] [stdout] | [INFO] [stdout] 744 | .map_entire_section(&injected_code, Some(exe_base), PAGE_EXECUTE_READWRITE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_WRITECOPY` in this scope [INFO] [stdout] --> src/lib.rs:755:13 [INFO] [stdout] | [INFO] [stdout] 755 | PAGE_EXECUTE_WRITECOPY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope [INFO] [stdout] --> src/lib.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 768 | ResumeThread(main_thread); [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/lib.rs:770:15 [INFO] [stdout] | [INFO] [stdout] 770 | proc.wait(INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/lib.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:645:34 [INFO] [stdout] | [INFO] [stdout] 645 | proc.iter_images().find_map(|(m, img)| { [INFO] [stdout] | ^^^^^^^^ consider giving this closure parameter the explicit type `(_, _)`, with the type parameters specified [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 129 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stimpack` due to 130 previous errors [INFO] running `Command { std: "docker" "inspect" "183f123b27ea8e1762a281bccecf134b1a27e1a0f03541d1ca4f68100e3e0197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "183f123b27ea8e1762a281bccecf134b1a27e1a0f03541d1ca4f68100e3e0197", kill_on_drop: false }` [INFO] [stdout] 183f123b27ea8e1762a281bccecf134b1a27e1a0f03541d1ca4f68100e3e0197