[INFO] updating cached repository https://github.com/green-s/rlhcbfix [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 033102172915734b9b75bda99d4844c469d60412 [INFO] checking green-s/rlhcbfix against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreen-s%2Frlhcbfix" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/green-s/rlhcbfix on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/green-s/rlhcbfix [INFO] finished tweaking git repo https://github.com/green-s/rlhcbfix [INFO] tweaked toml for git repo https://github.com/green-s/rlhcbfix written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/green-s/rlhcbfix already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bcbaba64048ca65053669221aa68a0fa0a3d4553674c87eca8441ae12529477b [INFO] running `"docker" "start" "-a" "bcbaba64048ca65053669221aa68a0fa0a3d4553674c87eca8441ae12529477b"` [INFO] [stderr] Compiling winapi v0.3.4 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.7 [INFO] [stderr] Checking env_logger v0.5.10 [INFO] [stderr] Checking pretty_env_logger v0.2.2 [INFO] [stderr] Compiling structopt-derive v0.2.8 [INFO] [stderr] Checking structopt v0.2.8 [INFO] [stderr] Checking backtrace v0.3.7 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking rlhcbfix v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win/errors.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/errors.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/win/handle.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/win/handle.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::minwindef as mw; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/win/process.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win/process.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::basetsd::{ULONG64, DWORD_PTR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win/process.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::minwindef::{DWORD, MAX_PATH}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::processthreadsapi::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::realtimeapiset::QueryThreadCycleTime; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::tlhelp32::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::um::winbase::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::um::winnt::{PROCESSOR_NUMBER, PROCESS_ALL_ACCESS, THREAD_ALL_ACCESS, WCHAR}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/win/handle.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::{handleapi as wh, processthreadsapi as wp, winnt}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win/errors.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/errors.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/win/handle.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::io::{AsRawHandle, FromRawHandle, IntoRawHandle}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/win/handle.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::minwindef as mw; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/win/process.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win/process.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::basetsd::{ULONG64, DWORD_PTR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win/process.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::minwindef::{DWORD, MAX_PATH}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::processthreadsapi::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::realtimeapiset::QueryThreadCycleTime; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::tlhelp32::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::um::winbase::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win/process.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::um::winnt::{PROCESSOR_NUMBER, PROCESS_ALL_ACCESS, THREAD_ALL_ACCESS, WCHAR}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/win/handle.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::{handleapi as wh, processthreadsapi as wp, winnt}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DWORD` [INFO] [stderr] --> src/win/process.rs:226:23 [INFO] [stderr] | [INFO] [stderr] 226 | if ret == DWORD::max_value() { [INFO] [stderr] | ^^^^^ use of undeclared type or module `DWORD` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DWORD_PTR` [INFO] [stderr] --> src/win/process.rs:237:74 [INFO] [stderr] | [INFO] [stderr] 237 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), DWORD_PTR::max_value()); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `DWORD_PTR` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/errors.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Error(DWORD); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/win/errors.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | Error(unsafe { GetLastError() }) [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stderr] --> src/win/handle.rs:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | impl AsRawHandle for Handle { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `FromRawHandle` in this scope [INFO] [stderr] --> src/win/handle.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | impl FromRawHandle for Handle { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `IntoRawHandle` in this scope [INFO] [stderr] --> src/win/handle.rs:72:6 [INFO] [stderr] | [INFO] [stderr] 72 | impl IntoRawHandle for Handle { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `OpenProcess` in this scope [INFO] [stderr] --> src/win/process.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | let handle = OpenProcess(PROCESS_ALL_ACCESS, 0, id); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stderr] --> src/win/process.rs:34:38 [INFO] [stderr] | [INFO] [stderr] 34 | let handle = OpenProcess(PROCESS_ALL_ACCESS, 0, id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateToolhelp32Snapshot` in this scope [INFO] [stderr] --> src/win/process.rs:48:24 [INFO] [stderr] | [INFO] [stderr] 48 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPALL, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPALL` in this scope [INFO] [stderr] --> src/win/process.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPALL, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/win/process.rs:49:24 [INFO] [stderr] | [INFO] [stderr] 49 | if snap == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcessId` in this scope [INFO] [stderr] --> src/win/process.rs:61:18 [INFO] [stderr] | [INFO] [stderr] 61 | unsafe { GetProcessId(self.handle.as_raw_handle()) } [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetExitCodeProcess` in this scope [INFO] [stderr] --> src/win/process.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | GetExitCodeProcess(self.handle.as_raw_handle(), &mut status); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stderr] --> src/win/process.rs:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | let mut size = MAX_PATH as u32; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/win/process.rs:77:30 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [WCHAR; MAX_PATH] = mem::zeroed(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stderr] --> src/win/process.rs:77:37 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [WCHAR; MAX_PATH] = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryFullProcessImageNameW` in this scope [INFO] [stderr] --> src/win/process.rs:78:23 [INFO] [stderr] | [INFO] [stderr] 78 | let ret = QueryFullProcessImageNameW( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stderr] --> src/win/process.rs:105:35 [INFO] [stderr] | [INFO] [stderr] 105 | let mut process_mask: DWORD_PTR = 0; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stderr] --> src/win/process.rs:106:34 [INFO] [stderr] | [INFO] [stderr] 106 | let mut system_mask: DWORD_PTR = 0; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcessAffinityMask` in this scope [INFO] [stderr] --> src/win/process.rs:107:23 [INFO] [stderr] | [INFO] [stderr] 107 | let ret = GetProcessAffinityMask( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateToolhelp32Snapshot` in this scope [INFO] [stderr] --> src/win/process.rs:122:24 [INFO] [stderr] | [INFO] [stderr] 122 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPTHREAD` in this scope [INFO] [stderr] --> src/win/process.rs:122:49 [INFO] [stderr] | [INFO] [stderr] 122 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/win/process.rs:123:24 [INFO] [stderr] | [INFO] [stderr] 123 | if snap == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateToolhelp32Snapshot` in this scope [INFO] [stderr] --> src/win/process.rs:136:24 [INFO] [stderr] | [INFO] [stderr] 136 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPTHREAD` in this scope [INFO] [stderr] --> src/win/process.rs:136:49 [INFO] [stderr] | [INFO] [stderr] 136 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/win/process.rs:137:24 [INFO] [stderr] | [INFO] [stderr] 137 | if snap == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:158:28 [INFO] [stderr] | [INFO] [stderr] 158 | let mut entry: PROCESSENTRY32 = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:159:43 [INFO] [stderr] | [INFO] [stderr] 159 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/process.rs:159:64 [INFO] [stderr] | [INFO] [stderr] 159 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Process32Next` in this scope [INFO] [stderr] --> src/win/process.rs:160:23 [INFO] [stderr] | [INFO] [stderr] 160 | let ret = Process32Next(self.snapshot.as_raw_handle(), &mut entry); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `OpenThread` in this scope [INFO] [stderr] --> src/win/process.rs:180:26 [INFO] [stderr] | [INFO] [stderr] 180 | let handle = OpenThread(THREAD_ALL_ACCESS, 0, id); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `THREAD_ALL_ACCESS` in this scope [INFO] [stderr] --> src/win/process.rs:180:37 [INFO] [stderr] | [INFO] [stderr] 180 | let handle = OpenThread(THREAD_ALL_ACCESS, 0, id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetThreadId` in this scope [INFO] [stderr] --> src/win/process.rs:192:18 [INFO] [stderr] | [INFO] [stderr] 192 | unsafe { GetThreadId(self.handle.as_raw_handle()) } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG64` in this scope [INFO] [stderr] --> src/win/process.rs:198:29 [INFO] [stderr] | [INFO] [stderr] 198 | let mut cycles: ULONG64 = 0; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryThreadCycleTime` in this scope [INFO] [stderr] --> src/win/process.rs:199:23 [INFO] [stderr] | [INFO] [stderr] 199 | let ret = QueryThreadCycleTime(self.handle.as_raw_handle(), &mut cycles); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PROCESSOR_NUMBER` in this scope [INFO] [stderr] --> src/win/process.rs:211:28 [INFO] [stderr] | [INFO] [stderr] 211 | let mut ideal: PROCESSOR_NUMBER = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetThreadIdealProcessorEx` in this scope [INFO] [stderr] --> src/win/process.rs:212:23 [INFO] [stderr] | [INFO] [stderr] 212 | let ret = GetThreadIdealProcessorEx(self.handle.as_raw_handle(), &mut ideal); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetThreadIdealProcessor` in this scope [INFO] [stderr] --> src/win/process.rs:225:23 [INFO] [stderr] | [INFO] [stderr] 225 | let ret = SetThreadIdealProcessor(self.handle.as_raw_handle(), processor as DWORD); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/process.rs:225:89 [INFO] [stderr] | [INFO] [stderr] 225 | let ret = SetThreadIdealProcessor(self.handle.as_raw_handle(), processor as DWORD); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetThreadAffinityMask` in this scope [INFO] [stderr] --> src/win/process.rs:237:23 [INFO] [stderr] | [INFO] [stderr] 237 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), DWORD_PTR::max_value()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetThreadAffinityMask` in this scope [INFO] [stderr] --> src/win/process.rs:241:27 [INFO] [stderr] | [INFO] [stderr] 241 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), ret); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetThreadAffinityMask` in this scope [INFO] [stderr] --> src/win/process.rs:267:23 [INFO] [stderr] | [INFO] [stderr] 267 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), mask as DWORD_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stderr] --> src/win/process.rs:267:82 [INFO] [stderr] | [INFO] [stderr] 267 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), mask as DWORD_PTR); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:302:32 [INFO] [stderr] | [INFO] [stderr] 302 | let mut entry: THREADENTRY32 = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:303:47 [INFO] [stderr] | [INFO] [stderr] 303 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/process.rs:303:67 [INFO] [stderr] | [INFO] [stderr] 303 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Thread32Next` in this scope [INFO] [stderr] --> src/win/process.rs:304:27 [INFO] [stderr] | [INFO] [stderr] 304 | let ret = Thread32Next(self.snapshot.as_raw_handle(), &mut entry); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:329:32 [INFO] [stderr] | [INFO] [stderr] 329 | let mut entry: THREADENTRY32 = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:330:47 [INFO] [stderr] | [INFO] [stderr] 330 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/process.rs:330:67 [INFO] [stderr] | [INFO] [stderr] 330 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Thread32Next` in this scope [INFO] [stderr] --> src/win/process.rs:331:27 [INFO] [stderr] | [INFO] [stderr] 331 | let ret = Thread32Next(self.snapshot.as_raw_handle(), &mut entry); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DWORD` [INFO] [stderr] --> src/win/process.rs:226:23 [INFO] [stderr] | [INFO] [stderr] 226 | if ret == DWORD::max_value() { [INFO] [stderr] | ^^^^^ use of undeclared type or module `DWORD` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DWORD_PTR` [INFO] [stderr] --> src/win/process.rs:237:74 [INFO] [stderr] | [INFO] [stderr] 237 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), DWORD_PTR::max_value()); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `DWORD_PTR` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref CORES: Vec = { [INFO] [stderr] 23 | | let step = num_cpus::get() / num_cpus::get_physical(); [INFO] [stderr] 24 | | (0..num_cpus::get()) [INFO] [stderr] ... | [INFO] [stderr] 27 | | }; [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/errors.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Error(DWORD); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope [INFO] [stderr] --> src/win/errors.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | Error(unsafe { GetLastError() }) [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stderr] --> src/win/handle.rs:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | impl AsRawHandle for Handle { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `FromRawHandle` in this scope [INFO] [stderr] --> src/win/handle.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | impl FromRawHandle for Handle { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `IntoRawHandle` in this scope [INFO] [stderr] --> src/win/handle.rs:72:6 [INFO] [stderr] | [INFO] [stderr] 72 | impl IntoRawHandle for Handle { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `OpenProcess` in this scope [INFO] [stderr] --> src/win/process.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | let handle = OpenProcess(PROCESS_ALL_ACCESS, 0, id); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stderr] --> src/win/process.rs:34:38 [INFO] [stderr] | [INFO] [stderr] 34 | let handle = OpenProcess(PROCESS_ALL_ACCESS, 0, id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateToolhelp32Snapshot` in this scope [INFO] [stderr] --> src/win/process.rs:48:24 [INFO] [stderr] | [INFO] [stderr] 48 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPALL, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPALL` in this scope [INFO] [stderr] --> src/win/process.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPALL, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/win/process.rs:49:24 [INFO] [stderr] | [INFO] [stderr] 49 | if snap == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcessId` in this scope [INFO] [stderr] --> src/win/process.rs:61:18 [INFO] [stderr] | [INFO] [stderr] 61 | unsafe { GetProcessId(self.handle.as_raw_handle()) } [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetExitCodeProcess` in this scope [INFO] [stderr] --> src/win/process.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | GetExitCodeProcess(self.handle.as_raw_handle(), &mut status); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stderr] --> src/win/process.rs:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | let mut size = MAX_PATH as u32; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/win/process.rs:77:30 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [WCHAR; MAX_PATH] = mem::zeroed(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stderr] --> src/win/process.rs:77:37 [INFO] [stderr] | [INFO] [stderr] 77 | let mut buffer: [WCHAR; MAX_PATH] = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryFullProcessImageNameW` in this scope [INFO] [stderr] --> src/win/process.rs:78:23 [INFO] [stderr] | [INFO] [stderr] 78 | let ret = QueryFullProcessImageNameW( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stderr] --> src/win/process.rs:105:35 [INFO] [stderr] | [INFO] [stderr] 105 | let mut process_mask: DWORD_PTR = 0; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stderr] --> src/win/process.rs:106:34 [INFO] [stderr] | [INFO] [stderr] 106 | let mut system_mask: DWORD_PTR = 0; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcessAffinityMask` in this scope [INFO] [stderr] --> src/win/process.rs:107:23 [INFO] [stderr] | [INFO] [stderr] 107 | let ret = GetProcessAffinityMask( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateToolhelp32Snapshot` in this scope [INFO] [stderr] --> src/win/process.rs:122:24 [INFO] [stderr] | [INFO] [stderr] 122 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPTHREAD` in this scope [INFO] [stderr] --> src/win/process.rs:122:49 [INFO] [stderr] | [INFO] [stderr] 122 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/win/process.rs:123:24 [INFO] [stderr] | [INFO] [stderr] 123 | if snap == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 66 previous errors [INFO] [stderr] error[E0425]: cannot find function `CreateToolhelp32Snapshot` in this scope [INFO] [stderr] --> src/win/process.rs:136:24 [INFO] [stderr] | [INFO] [stderr] 136 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stderr] [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error[E0425]: cannot find value `TH32CS_SNAPTHREAD` in this scope [INFO] [stderr] --> src/win/process.rs:136:49 [INFO] [stderr] | [INFO] [stderr] 136 | let snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/win/process.rs:137:24 [INFO] [stderr] | [INFO] [stderr] 137 | if snap == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:158:28 [INFO] [stderr] | [INFO] [stderr] 158 | let mut entry: PROCESSENTRY32 = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:159:43 [INFO] [stderr] | [INFO] [stderr] 159 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/process.rs:159:64 [INFO] [stderr] | [INFO] [stderr] 159 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Process32Next` in this scope [INFO] [stderr] --> src/win/process.rs:160:23 [INFO] [stderr] | [INFO] [stderr] 160 | let ret = Process32Next(self.snapshot.as_raw_handle(), &mut entry); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `OpenThread` in this scope [INFO] [stderr] --> src/win/process.rs:180:26 [INFO] [stderr] | [INFO] [stderr] 180 | let handle = OpenThread(THREAD_ALL_ACCESS, 0, id); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `THREAD_ALL_ACCESS` in this scope [INFO] [stderr] --> src/win/process.rs:180:37 [INFO] [stderr] | [INFO] [stderr] 180 | let handle = OpenThread(THREAD_ALL_ACCESS, 0, id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetThreadId` in this scope [INFO] [stderr] --> src/win/process.rs:192:18 [INFO] [stderr] | [INFO] [stderr] 192 | unsafe { GetThreadId(self.handle.as_raw_handle()) } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG64` in this scope [INFO] [stderr] --> src/win/process.rs:198:29 [INFO] [stderr] | [INFO] [stderr] 198 | let mut cycles: ULONG64 = 0; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `QueryThreadCycleTime` in this scope [INFO] [stderr] --> src/win/process.rs:199:23 [INFO] [stderr] | [INFO] [stderr] 199 | let ret = QueryThreadCycleTime(self.handle.as_raw_handle(), &mut cycles); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PROCESSOR_NUMBER` in this scope [INFO] [stderr] --> src/win/process.rs:211:28 [INFO] [stderr] | [INFO] [stderr] 211 | let mut ideal: PROCESSOR_NUMBER = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetThreadIdealProcessorEx` in this scope [INFO] [stderr] --> src/win/process.rs:212:23 [INFO] [stderr] | [INFO] [stderr] 212 | let ret = GetThreadIdealProcessorEx(self.handle.as_raw_handle(), &mut ideal); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetThreadIdealProcessor` in this scope [INFO] [stderr] --> src/win/process.rs:225:23 [INFO] [stderr] | [INFO] [stderr] 225 | let ret = SetThreadIdealProcessor(self.handle.as_raw_handle(), processor as DWORD); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/process.rs:225:89 [INFO] [stderr] | [INFO] [stderr] 225 | let ret = SetThreadIdealProcessor(self.handle.as_raw_handle(), processor as DWORD); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetThreadAffinityMask` in this scope [INFO] [stderr] --> src/win/process.rs:237:23 [INFO] [stderr] | [INFO] [stderr] 237 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), DWORD_PTR::max_value()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetThreadAffinityMask` in this scope [INFO] [stderr] --> src/win/process.rs:241:27 [INFO] [stderr] | [INFO] [stderr] 241 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), ret); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetThreadAffinityMask` in this scope [INFO] [stderr] --> src/win/process.rs:267:23 [INFO] [stderr] | [INFO] [stderr] 267 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), mask as DWORD_PTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD_PTR` in this scope [INFO] [stderr] --> src/win/process.rs:267:82 [INFO] [stderr] | [INFO] [stderr] 267 | let ret = SetThreadAffinityMask(self.handle.as_raw_handle(), mask as DWORD_PTR); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:302:32 [INFO] [stderr] | [INFO] [stderr] 302 | let mut entry: THREADENTRY32 = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:303:47 [INFO] [stderr] | [INFO] [stderr] 303 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/process.rs:303:67 [INFO] [stderr] | [INFO] [stderr] 303 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Thread32Next` in this scope [INFO] [stderr] --> src/win/process.rs:304:27 [INFO] [stderr] | [INFO] [stderr] 304 | let ret = Thread32Next(self.snapshot.as_raw_handle(), &mut entry); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:329:32 [INFO] [stderr] | [INFO] [stderr] 329 | let mut entry: THREADENTRY32 = mem::zeroed(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stderr] --> src/win/process.rs:330:47 [INFO] [stderr] | [INFO] [stderr] 330 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win/process.rs:330:67 [INFO] [stderr] | [INFO] [stderr] 330 | entry.dwSize = mem::size_of::() as DWORD; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Thread32Next` in this scope [INFO] [stderr] --> src/win/process.rs:331:27 [INFO] [stderr] | [INFO] [stderr] 331 | let ret = Thread32Next(self.snapshot.as_raw_handle(), &mut entry); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `rlhcbfix`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref CORES: Vec = { [INFO] [stderr] 23 | | let step = num_cpus::get() / num_cpus::get_physical(); [INFO] [stderr] 24 | | (0..num_cpus::get()) [INFO] [stderr] ... | [INFO] [stderr] 27 | | }; [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 66 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `rlhcbfix`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bcbaba64048ca65053669221aa68a0fa0a3d4553674c87eca8441ae12529477b"` [INFO] running `"docker" "rm" "-f" "bcbaba64048ca65053669221aa68a0fa0a3d4553674c87eca8441ae12529477b"` [INFO] [stdout] bcbaba64048ca65053669221aa68a0fa0a3d4553674c87eca8441ae12529477b