[INFO] cloning repository https://github.com/wh3y/MemoryRS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wh3y/MemoryRS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwh3y%2FMemoryRS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwh3y%2FMemoryRS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1afb81d0fecc811ab44aa13cd152ccd1946cee72 [INFO] checking wh3y/MemoryRS against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwh3y%2FMemoryRS" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wh3y/MemoryRS on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wh3y/MemoryRS [INFO] finished tweaking git repo https://github.com/wh3y/MemoryRS [INFO] tweaked toml for git repo https://github.com/wh3y/MemoryRS written to /workspace/builds/worker-44/source/Cargo.toml [INFO] crate git repo https://github.com/wh3y/MemoryRS already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 483cc1df7f6bd7e27a05ec8b32ab692ad551bed859b03a7dcdb71c01d1d45c7d [INFO] running `Command { std: "docker" "start" "-a" "483cc1df7f6bd7e27a05ec8b32ab692ad551bed859b03a7dcdb71c01d1d45c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "483cc1df7f6bd7e27a05ec8b32ab692ad551bed859b03a7dcdb71c01d1d45c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483cc1df7f6bd7e27a05ec8b32ab692ad551bed859b03a7dcdb71c01d1d45c7d", kill_on_drop: false }` [INFO] [stdout] 483cc1df7f6bd7e27a05ec8b32ab692ad551bed859b03a7dcdb71c01d1d45c7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 852ac14fcfadded7c6cca9e1512a85c06fe457f04d2ce979a73c9bf8b3c0e8e7 [INFO] running `Command { std: "docker" "start" "-a" "852ac14fcfadded7c6cca9e1512a85c06fe457f04d2ce979a73c9bf8b3c0e8e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking MemoryRS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/external/process.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::{HANDLE, PROCESS_ALL_ACCESS}; [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/external/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPPROCESS, Process32Next, Process32First, TH32CS_SNAPMODULE, TH32CS_SNAPMOD... [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/external/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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/external/process.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processthreadsapi::{OpenProcess}; [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/external/process.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::memoryapi::{ReadProcessMemory, VirtualProtectEx}; [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/external/process.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{PAGE_EXECUTE_READWRITE, PAGE_NOACCESS}; [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/external/process.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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 `um` in `winapi` [INFO] [stdout] --> src/external/process.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use self::winapi::um::winnt::{MEMORY_BASIC_INFORMATION, MEM_COMMIT}; [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/external/process.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use self::winapi::um::memoryapi::VirtualQueryEx; [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/external/process.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::{HANDLE, PROCESS_ALL_ACCESS}; [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/external/process.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPPROCESS, Process32Next, Process32First, TH32CS_SNAPMODULE, TH32CS_SNAPMOD... [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/external/process.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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/external/process.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processthreadsapi::{OpenProcess}; [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/external/process.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::memoryapi::{ReadProcessMemory, VirtualProtectEx}; [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/external/process.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{PAGE_EXECUTE_READWRITE, PAGE_NOACCESS}; [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/external/process.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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 `um` in `winapi` [INFO] [stdout] --> src/external/process.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use self::winapi::um::winnt::{MEMORY_BASIC_INFORMATION, MEM_COMMIT}; [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/external/process.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use self::winapi::um::memoryapi::VirtualQueryEx; [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/external/process.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub handle: HANDLE, [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/external/process.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub pid: 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/external/process.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub base: 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/external/process.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub size: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/external/process.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | OpenProcess(PROCESS_ALL_ACCESS, 0, pid) [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/external/process.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | OpenProcess(PROCESS_ALL_ACCESS, 0, pid) [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/external/process.rs:83:52 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_process_id(processName: &str) -> Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/external/process.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> src/external/process.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/external/process.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let mut entry: PROCESSENTRY32 = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/external/process.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_process_id(processName: &str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 93 | entry.dwSize = mem::size_of:: as 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/external/process.rs:93:54 [INFO] [stdout] | [INFO] [stdout] 93 | entry.dwSize = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/external/process.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if Process32First(handle, &mut entry) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/external/process.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | if Process32Next(handle, &mut entry) == 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/external/process.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | CloseHandle(handle); [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/external/process.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_module(pid: DWORD, moduleName: &str) -> Result { [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/external/process.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/external/process.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) [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/external/process.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) [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/external/process.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut entry: MODULEENTRY32 = unsafe { [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/external/process.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_module(pid: DWORD, moduleName: &str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 128 | entry.dwSize = mem::size_of:: as 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/external/process.rs:128:53 [INFO] [stdout] | [INFO] [stdout] 128 | entry.dwSize = mem::size_of:: as DWORD; [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/external/process.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | if Module32Next(handle, &mut entry) != 0 { [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/external/process.rs:138:56 [INFO] [stdout] | [INFO] [stdout] 138 | ... base: entry.modBaseAddr as DWORD, [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/external/process.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | if Module32Next(handle, &mut entry) == 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/external/process.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | CloseHandle(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/external/process.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub handle: HANDLE, [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/external/process.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub pid: DWORD, [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/external/process.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn read_bytes(handle: HANDLE, address: usize, size: usize) -> Result> { [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/external/process.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | let mut oldProtect:DWORD = 0; [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/external/process.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let mut mbi:MEMORY_BASIC_INFORMATION = Default::default(); [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/external/process.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub base: DWORD, [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/external/process.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | VirtualQueryEx(handle, address as _, &mut mbi, std::mem::size_of_val(&mbi)); [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/external/process.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | if mbi.State != MEM_COMMIT || mbi.Protect == PAGE_NOACCESS { [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/external/process.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub size: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_NOACCESS` in this scope [INFO] [stdout] --> src/external/process.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | if mbi.State != MEM_COMMIT || mbi.Protect == PAGE_NOACCESS { [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/external/process.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if VirtualProtectEx(handle, address as _, size as _, PAGE_EXECUTE_READWRITE, &mut oldProtect) != 0 { [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/external/process.rs:172:62 [INFO] [stdout] | [INFO] [stdout] 172 | if VirtualProtectEx(handle, address as _, size as _, PAGE_EXECUTE_READWRITE, &mut oldProtect) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/external/process.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | OpenProcess(PROCESS_ALL_ACCESS, 0, pid) [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/external/process.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | let success = ReadProcessMemory( [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/external/process.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | VirtualProtectEx(handle, address as _, size as _, oldProtect, oldProtect as _); [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/external/process.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | OpenProcess(PROCESS_ALL_ACCESS, 0, pid) [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/external/process.rs:83:52 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_process_id(processName: &str) -> Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/external/process.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> src/external/process.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/external/process.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let mut entry: PROCESSENTRY32 = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/external/process.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_process_id(processName: &str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 93 | entry.dwSize = mem::size_of:: as 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/external/process.rs:93:54 [INFO] [stdout] | [INFO] [stdout] 93 | entry.dwSize = mem::size_of:: as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/external/process.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if Process32First(handle, &mut entry) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/external/process.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | if Process32Next(handle, &mut entry) == 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/external/process.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | CloseHandle(handle); [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/external/process.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_module(pid: DWORD, moduleName: &str) -> Result { [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/external/process.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPMODULE` in this scope [INFO] [stdout] --> src/external/process.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) [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/external/process.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) [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/external/process.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mut entry: MODULEENTRY32 = unsafe { [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/external/process.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_module(pid: DWORD, moduleName: &str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 128 | entry.dwSize = mem::size_of:: as 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/external/process.rs:128:53 [INFO] [stdout] | [INFO] [stdout] 128 | entry.dwSize = mem::size_of:: as DWORD; [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/external/process.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | if Module32Next(handle, &mut entry) != 0 { [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/external/process.rs:138:56 [INFO] [stdout] | [INFO] [stdout] 138 | ... base: entry.modBaseAddr as DWORD, [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/external/process.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | if Module32Next(handle, &mut entry) == 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/external/process.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | CloseHandle(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/external/process.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn read_bytes(handle: HANDLE, address: usize, size: usize) -> Result> { [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/external/process.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | let mut oldProtect:DWORD = 0; [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/external/process.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let mut mbi:MEMORY_BASIC_INFORMATION = Default::default(); [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/external/process.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | VirtualQueryEx(handle, address as _, &mut mbi, std::mem::size_of_val(&mbi)); [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/external/process.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | if mbi.State != MEM_COMMIT || mbi.Protect == PAGE_NOACCESS { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_NOACCESS` in this scope [INFO] [stdout] --> src/external/process.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | if mbi.State != MEM_COMMIT || mbi.Protect == PAGE_NOACCESS { [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/external/process.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if VirtualProtectEx(handle, address as _, size as _, PAGE_EXECUTE_READWRITE, &mut oldProtect) != 0 { [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/external/process.rs:172:62 [INFO] [stdout] | [INFO] [stdout] 172 | if VirtualProtectEx(handle, address as _, size as _, PAGE_EXECUTE_READWRITE, &mut oldProtect) != 0 { [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/external/process.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | let success = ReadProcessMemory( [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/external/process.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | VirtualProtectEx(handle, address as _, size as _, oldProtect, oldProtect as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors [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 `MemoryRS` due to 46 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 45 previous errors [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: build failed [INFO] running `Command { std: "docker" "inspect" "852ac14fcfadded7c6cca9e1512a85c06fe457f04d2ce979a73c9bf8b3c0e8e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852ac14fcfadded7c6cca9e1512a85c06fe457f04d2ce979a73c9bf8b3c0e8e7", kill_on_drop: false }` [INFO] [stdout] 852ac14fcfadded7c6cca9e1512a85c06fe457f04d2ce979a73c9bf8b3c0e8e7