[INFO] fetching crate win-memory-rs 1.0.0... [INFO] testing win-memory-rs-1.0.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate win-memory-rs 1.0.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate win-memory-rs 1.0.0 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 crates.io crate win-memory-rs 1.0.0 [INFO] finished tweaking crates.io crate win-memory-rs 1.0.0 [INFO] tweaked toml for crates.io crate win-memory-rs 1.0.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded backtrace v0.3.64 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4506b6f4376307f05ca0833a7a7f6199d23b330794a2a3ce9ae5d373460a466 [INFO] running `Command { std: "docker" "start" "-a" "e4506b6f4376307f05ca0833a7a7f6199d23b330794a2a3ce9ae5d373460a466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4506b6f4376307f05ca0833a7a7f6199d23b330794a2a3ce9ae5d373460a466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4506b6f4376307f05ca0833a7a7f6199d23b330794a2a3ce9ae5d373460a466", kill_on_drop: false }` [INFO] [stdout] e4506b6f4376307f05ca0833a7a7f6199d23b330794a2a3ce9ae5d373460a466 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bb630214ec205464692b6e56c290d162494c2ff6eee777de60fa66348bf15f85 [INFO] running `Command { std: "docker" "start" "-a" "bb630214ec205464692b6e56c290d162494c2ff6eee777de60fa66348bf15f85", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling win-memory-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::tlhelp32::{TH32CS_SNAPPROCESS, TH32CS_SNAPMODULE, TH32CS_SNAPMODULE32, MODULEENTRY32W, PROCESSENTRY32W, CreateToolhelp32S... [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/memory.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [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/memory.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{HINSTANCE__, MAX_PATH}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/memory.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::tlhelp32::Module32NextW; [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/memory.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | winapi::um::memoryapi::WriteProcessMemory( [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/memory.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | winapi::um::processthreadsapi::GetCurrentProcess(), [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/memory.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | (winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null()) as u64 + addr) as winapi::shared::minwindef::LPVOID, [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/memory.rs:16:101 [INFO] [stdout] | [INFO] [stdout] 16 | (winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null()) as u64 + addr) as winapi::shared::minwindef::LPVOID, [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/memory.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | values.as_ptr() as winapi::shared::minwindef::LPCVOID, [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/memory.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | values.len() as winapi::shared::basetsd::SIZE_T, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | Err(Error::MemoryWrite(addr, unsafe { 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/memory.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::memoryapi::ReadProcessMemory( [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/memory.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | winapi::um::processthreadsapi::GetCurrentProcess(), [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/memory.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | (winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null()) as u64 + addr) as winapi::shared::minwindef::LPVOID, [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/memory.rs:41:101 [INFO] [stdout] | [INFO] [stdout] 41 | (winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null()) as u64 + addr) as winapi::shared::minwindef::LPVOID, [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/memory.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | copy.as_mut_ptr() as winapi::shared::minwindef::LPVOID, [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/memory.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | size as winapi::shared::basetsd::SIZE_T, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:52:58 [INFO] [stdout] | [INFO] [stdout] 52 | Err(Error::MemoryRead(addr, unsafe { 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/memory.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | 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/memory.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | winapi::um::winnt::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 `shared` in `winapi` [INFO] [stdout] --> src/memory.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pid as 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/memory.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | winapi::um::memoryapi::WriteProcessMemory( [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/memory.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | addr as winapi::shared::minwindef::LPVOID, [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/memory.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | values.as_ptr() as winapi::shared::minwindef::LPCVOID, [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/memory.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | values.len() as winapi::shared::basetsd::SIZE_T, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe {winapi::um::handleapi::CloseHandle(handle);} [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/memory.rs:84:64 [INFO] [stdout] | [INFO] [stdout] 84 | Err(Error::ProcessMemoryWrite(addr, unsafe{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/memory.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | 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/memory.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | winapi::um::winnt::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 `shared` in `winapi` [INFO] [stdout] --> src/memory.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | pid as 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/memory.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | winapi::um::memoryapi::ReadProcessMemory( [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/memory.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | addr as winapi::shared::minwindef::LPVOID, [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/memory.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | copy.as_mut_ptr() as winapi::shared::minwindef::LPVOID, [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/memory.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | size as winapi::shared::basetsd::SIZE_T, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe {winapi::um::handleapi::CloseHandle(handle);} [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/memory.rs:117:63 [INFO] [stdout] | [INFO] [stdout] 117 | Err(Error::ProcessMemoryRead(addr, unsafe{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/memory.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | winapi::um::memoryapi::WriteProcessMemory( [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/memory.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | winapi::um::processthreadsapi::GetCurrentProcess(), [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/memory.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | (winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null()) as u32 + addr) as winapi::shared::minwindef::LPVOID, [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/memory.rs:131:101 [INFO] [stdout] | [INFO] [stdout] 131 | (winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null()) as u32 + addr) as winapi::shared::minwindef::LPVOID, [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/memory.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | values.as_ptr() as winapi::shared::minwindef::LPCVOID, [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/memory.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | values.len() as winapi::shared::basetsd::SIZE_T, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:142:61 [INFO] [stdout] | [INFO] [stdout] 142 | Err(Error::MemoryWrite32(addr, unsafe { 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/memory.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | winapi::um::memoryapi::ReadProcessMemory( [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/memory.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | winapi::um::processthreadsapi::GetCurrentProcess(), [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/memory.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | (winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null()) as u32 + addr) as winapi::shared::minwindef::LPVOID, [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/memory.rs:156:101 [INFO] [stdout] | [INFO] [stdout] 156 | (winapi::um::libloaderapi::GetModuleHandleA(std::ptr::null()) as u32 + addr) as winapi::shared::minwindef::LPVOID, [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/memory.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | copy.as_mut_ptr() as winapi::shared::minwindef::LPVOID, [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/memory.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | size as winapi::shared::basetsd::SIZE_T, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:167:60 [INFO] [stdout] | [INFO] [stdout] 167 | Err(Error::MemoryRead32(addr, unsafe { 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/memory.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | 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/memory.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | winapi::um::winnt::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 `shared` in `winapi` [INFO] [stdout] --> src/memory.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | pid as 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/memory.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | winapi::um::memoryapi::WriteProcessMemory( [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/memory.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | addr as winapi::shared::minwindef::LPVOID, [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/memory.rs:188:40 [INFO] [stdout] | [INFO] [stdout] 188 | values.as_ptr() as winapi::shared::minwindef::LPCVOID, [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/memory.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | values.len() as winapi::shared::basetsd::SIZE_T, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe {winapi::um::handleapi::CloseHandle(handle);} [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/memory.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | Err(Error::ProcessMemoryWrite32(addr, unsafe{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/memory.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | 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/memory.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | winapi::um::winnt::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 `shared` in `winapi` [INFO] [stdout] --> src/memory.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | pid as 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/memory.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | winapi::um::memoryapi::ReadProcessMemory( [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/memory.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | addr as winapi::shared::minwindef::LPVOID, [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/memory.rs:221:42 [INFO] [stdout] | [INFO] [stdout] 221 | copy.as_mut_ptr() as winapi::shared::minwindef::LPVOID, [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/memory.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | size as winapi::shared::basetsd::SIZE_T, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/memory.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | unsafe {winapi::um::handleapi::CloseHandle(handle);} [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/memory.rs:232:65 [INFO] [stdout] | [INFO] [stdout] 232 | Err(Error::ProcessMemoryRead32(addr, unsafe{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/memory.rs:244:92 [INFO] [stdout] | [INFO] [stdout] 244 | return Err(Error::GetModuleBase { module: name.to_owned(), error: unsafe { 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/memory.rs:269:104 [INFO] [stdout] | [INFO] [stdout] 269 | ... return Err(Error::GetModuleBase { module: name.to_owned(), error: unsafe { 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/memory.rs:275:81 [INFO] [stdout] | [INFO] [stdout] 275 | Err(Error::GetModuleBase { module: name.to_owned(), error: unsafe { 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/memory.rs:286:83 [INFO] [stdout] | [INFO] [stdout] 286 | return Err(Error::GetPid { name: name.to_owned(), error: unsafe { 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/memory.rs:322:99 [INFO] [stdout] | [INFO] [stdout] 322 | return Err(Error::GetPid { name: name.to_owned(), error: unsafe { 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/memory.rs:329:30 [INFO] [stdout] | [INFO] [stdout] 329 | unsafe { winapi::um::handleapi::CloseHandle(processes_snap_handle) }; [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/memory.rs:333:30 [INFO] [stdout] | [INFO] [stdout] 333 | unsafe { winapi::um::handleapi::CloseHandle(processes_snap_handle) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/memory.rs:242:36 [INFO] [stdout] | [INFO] [stdout] 242 | let snapshot_handle = unsafe { 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/memory.rs:242:61 [INFO] [stdout] | [INFO] [stdout] 242 | let snapshot_handle = unsafe { 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/memory.rs:242:81 [INFO] [stdout] | [INFO] [stdout] 242 | let snapshot_handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | TH32CS_SNAPMODULE32, pid) }; [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/memory.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | if snapshot_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memory.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | let mut module_entry : MODULEENTRY32W = MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memory.rs:247:49 [INFO] [stdout] | [INFO] [stdout] 247 | let mut module_entry : MODULEENTRY32W = MODULEENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEENTRY32W` in this scope [INFO] [stdout] --> src/memory.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn get_module_base(pid:u32, name:&str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 248 | dwSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE__` in this scope [INFO] [stdout] --> src/memory.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | hModule: 0 as *mut HINSTANCE__, [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/memory.rs:257:28 [INFO] [stdout] | [INFO] [stdout] 257 | szExePath: [0; MAX_PATH], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32NextW` in this scope [INFO] [stdout] --> src/memory.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | success = unsafe { Module32NextW(snapshot_handle, &mut module_entry) }; [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/memory.rs:283:42 [INFO] [stdout] | [INFO] [stdout] 283 | let processes_snap_handle = unsafe { 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/memory.rs:283:67 [INFO] [stdout] | [INFO] [stdout] 283 | let processes_snap_handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [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/memory.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 285 | if processes_snap_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memory.rs:290:29 [INFO] [stdout] | [INFO] [stdout] 290 | let mut process_entry : PROCESSENTRY32W = PROCESSENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memory.rs:290:47 [INFO] [stdout] | [INFO] [stdout] 290 | let mut process_entry : PROCESSENTRY32W = PROCESSENTRY32W { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32W` in this scope [INFO] [stdout] --> src/memory.rs:291:32 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn find_pid_by_name(name: &str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 291 | dwSize: mem::size_of::() as u32, [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/memory.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | szExeFile: [0; MAX_PATH], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in this scope [INFO] [stdout] --> src/memory.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | match unsafe { Process32FirstW(processes_snap_handle, &mut process_entry) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in this scope [INFO] [stdout] --> src/memory.rs:326:44 [INFO] [stdout] | [INFO] [stdout] 326 | process_success = unsafe { Process32NextW(processes_snap_handle, &mut process_entry) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/memory.rs:261:51 [INFO] [stdout] | [INFO] [stdout] 261 | let module_name = std::ffi::OsString::from_wide(&module_entry.szModule); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/memory.rs:312:56 [INFO] [stdout] | [INFO] [stdout] 312 | let process_name = std::ffi::OsString::from_wide(&process_entry.szExeFile); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 97 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-memory-rs` due to 98 previous errors [INFO] running `Command { std: "docker" "inspect" "bb630214ec205464692b6e56c290d162494c2ff6eee777de60fa66348bf15f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb630214ec205464692b6e56c290d162494c2ff6eee777de60fa66348bf15f85", kill_on_drop: false }` [INFO] [stdout] bb630214ec205464692b6e56c290d162494c2ff6eee777de60fa66348bf15f85