[INFO] fetching crate wmem 0.1.0... [INFO] checking wmem-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate wmem 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate wmem 0.1.0 [INFO] finished tweaking crates.io crate wmem 0.1.0 [INFO] tweaked toml for crates.io crate wmem 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wmem 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmem v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a580b7c63b11c3577192e655a7ceea6c48cf0d020278e4c8db13828308ec9ba6 [INFO] running `Command { std: "docker" "start" "-a" "a580b7c63b11c3577192e655a7ceea6c48cf0d020278e4c8db13828308ec9ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a580b7c63b11c3577192e655a7ceea6c48cf0d020278e4c8db13828308ec9ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a580b7c63b11c3577192e655a7ceea6c48cf0d020278e4c8db13828308ec9ba6", kill_on_drop: false }` [INFO] [stdout] a580b7c63b11c3577192e655a7ceea6c48cf0d020278e4c8db13828308ec9ba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5462d64f4f0eb6cf22403b2204772e931e976972ddc1515ff10ed86dd02afdf7 [INFO] running `Command { std: "docker" "start" "-a" "5462d64f4f0eb6cf22403b2204772e931e976972ddc1515ff10ed86dd02afdf7", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking memmem v0.1.1 [INFO] [stderr] Checking wmem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{ [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:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn open_current() -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, GetCurrentProcessId()) } [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:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | handle: 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/lib.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | handle: 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/lib.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn aob_scan(handle: HANDLE, aob: &[u8]) -> 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:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | let mut info: MEMORY_BASIC_INFORMATION = unsafe { zeroed() }; [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:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/lib.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | && (info.Protect & PAGE_READWRITE == PAGE_READWRITE [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:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | && (info.Protect & PAGE_READWRITE == PAGE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_WRITECOPY` in this scope [INFO] [stdout] --> src/lib.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | || info.Protect & PAGE_WRITECOPY == PAGE_WRITECOPY) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_WRITECOPY` in this scope [INFO] [stdout] --> src/lib.rs:130:57 [INFO] [stdout] | [INFO] [stdout] 130 | || info.Protect & PAGE_WRITECOPY == PAGE_WRITECOPY) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_modules() -> Result, ModuleSearchError<'static>> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/lib.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope [INFO] [stdout] --> src/lib.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/lib.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | if snapshot == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | let mut module_entry: MODULEENTRY32 = unsafe { zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | module_entry.dwSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:209:65 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_module(module_name: &str, exact: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/lib.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope [INFO] [stdout] --> src/lib.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/lib.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | if snapshot == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | let mut module_entry: MODULEENTRY32 = unsafe { zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:223:41 [INFO] [stdout] | [INFO] [stdout] 223 | module_entry.dwSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | +++++++++++++++ [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:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | ReadProcessMemory( [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:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | WriteProcessMemory( [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:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | VirtualQueryEx( [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:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | CreateToolhelp32Snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope [INFO] [stdout] --> src/lib.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | if unsafe { Module32First(snapshot, &mut module_entry as _) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32Next` in this scope [INFO] [stdout] --> src/lib.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | if unsafe { Module32Next(snapshot, &mut module_entry as _) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | CloseHandle(snapshot); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | CreateToolhelp32Snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope [INFO] [stdout] --> src/lib.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | if unsafe { Module32First(snapshot, &mut module_entry as _) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:234:25 [INFO] [stdout] | [INFO] [stdout] 234 | CloseHandle(snapshot); [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:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | CloseHandle(snapshot); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32Next` in this scope [INFO] [stdout] --> src/lib.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | if unsafe { Module32Next(snapshot, &mut module_entry as _) } == 0 { [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:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn open_current() -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, GetCurrentProcessId()) } [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:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | handle: 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/lib.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | handle: 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/lib.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn aob_scan(handle: HANDLE, aob: &[u8]) -> 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:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | let mut info: MEMORY_BASIC_INFORMATION = unsafe { zeroed() }; [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:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/lib.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | && (info.Protect & PAGE_READWRITE == PAGE_READWRITE [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:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | && (info.Protect & PAGE_READWRITE == PAGE_READWRITE [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_WRITECOPY` in this scope [INFO] [stdout] --> src/lib.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | || info.Protect & PAGE_WRITECOPY == PAGE_WRITECOPY) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_WRITECOPY` in this scope [INFO] [stdout] --> src/lib.rs:130:57 [INFO] [stdout] | [INFO] [stdout] 130 | || info.Protect & PAGE_WRITECOPY == PAGE_WRITECOPY) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn get_modules() -> Result, ModuleSearchError<'static>> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/lib.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope [INFO] [stdout] --> src/lib.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/lib.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | if snapshot == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | let mut module_entry: MODULEENTRY32 = unsafe { zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | module_entry.dwSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:209:65 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn get_module(module_name: &str, exact: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/lib.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE32` in this scope [INFO] [stdout] --> src/lib.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/lib.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | if snapshot == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | let mut module_entry: MODULEENTRY32 = unsafe { zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32` in this scope [INFO] [stdout] --> src/lib.rs:223:41 [INFO] [stdout] | [INFO] [stdout] 223 | module_entry.dwSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | impl Memory { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `wmem` (lib) due to 37 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> src/lib.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | ReadProcessMemory( [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:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | WriteProcessMemory( [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:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | VirtualQueryEx( [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:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | CreateToolhelp32Snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope [INFO] [stdout] --> src/lib.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | if unsafe { Module32First(snapshot, &mut module_entry as _) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32Next` in this scope [INFO] [stdout] --> src/lib.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | if unsafe { Module32Next(snapshot, &mut module_entry as _) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | CloseHandle(snapshot); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | CreateToolhelp32Snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32First` in this scope [INFO] [stdout] --> src/lib.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | if unsafe { Module32First(snapshot, &mut module_entry as _) } != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:234:25 [INFO] [stdout] | [INFO] [stdout] 234 | CloseHandle(snapshot); [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:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | CloseHandle(snapshot); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32Next` in this scope [INFO] [stdout] --> src/lib.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | if unsafe { Module32Next(snapshot, &mut module_entry as _) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wmem` (lib test) due to 37 previous errors [INFO] running `Command { std: "docker" "inspect" "5462d64f4f0eb6cf22403b2204772e931e976972ddc1515ff10ed86dd02afdf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5462d64f4f0eb6cf22403b2204772e931e976972ddc1515ff10ed86dd02afdf7", kill_on_drop: false }` [INFO] [stdout] 5462d64f4f0eb6cf22403b2204772e931e976972ddc1515ff10ed86dd02afdf7