[INFO] fetching crate win32job 1.0.1... [INFO] checking win32job-1.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate win32job 1.0.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate win32job 1.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate win32job 1.0.1 [INFO] finished tweaking crates.io crate win32job 1.0.1 [INFO] tweaked toml for crates.io crate win32job 1.0.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b9646430a73e542052866486abf178ba819bc9ee51532a4f2700daa9c52842e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1b9646430a73e542052866486abf178ba819bc9ee51532a4f2700daa9c52842e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b9646430a73e542052866486abf178ba819bc9ee51532a4f2700daa9c52842e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9646430a73e542052866486abf178ba819bc9ee51532a4f2700daa9c52842e", kill_on_drop: false }` [INFO] [stdout] 1b9646430a73e542052866486abf178ba819bc9ee51532a4f2700daa9c52842e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 347d8ef0298c1b651f1babcbc2455aed105e1e877e3633d143a37e4c5a8b257f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "347d8ef0298c1b651f1babcbc2455aed105e1e877e3633d143a37e4c5a8b257f", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking win32job v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/job.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::*; [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/job.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::handleapi::*; [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/job.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::jobapi2::*; [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/job.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/limits.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winbase::{ [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/limits.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/query.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::basetsd::*; [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/query.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::*; [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/query.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::jobapi2::*; [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/query.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::psapi::PROCESS_MEMORY_COUNTERS; [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/utils.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winbase::GetProcessAffinityMask; [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/utils.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/utils.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{processthreadsapi, psapi}; [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/job.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::*; [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/job.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::handleapi::*; [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/job.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::jobapi2::*; [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/job.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/job.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | use winapi::um::winnt::JOB_OBJECT_LIMIT_WORKINGSET; [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/limits.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winbase::{ [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/limits.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/query.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::basetsd::*; [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/query.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::*; [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/query.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::jobapi2::*; [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/query.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::psapi::PROCESS_MEMORY_COUNTERS; [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/utils.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winbase::GetProcessAffinityMask; [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/utils.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/utils.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{processthreadsapi, psapi}; [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/job.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in this scope [INFO] [stdout] --> src/job.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | let job_handle = unsafe { CreateJobObjectW(ptr::null_mut(), ptr::null()) }; [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/job.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn handle(&self) -> 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/job.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn into_handle(self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope [INFO] [stdout] --> src/job.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | QueryInformationJobObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope [INFO] [stdout] --> src/job.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | JobObjectExtendedLimitInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/job.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | &mut info.0 as *mut _ as LPVOID, [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/job.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | mem::size_of_val(&info) 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 `SetInformationJobObject` in this scope [INFO] [stdout] --> src/job.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | SetInformationJobObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope [INFO] [stdout] --> src/job.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | JobObjectExtendedLimitInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/job.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | &mut info.0 as *mut _ as LPVOID, [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/job.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | mem::size_of_val(&info.0) as 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/job.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn assign_process(&self, proc_handle: HANDLE) -> Result<(), JobError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AssignProcessToJobObject` in this scope [INFO] [stdout] --> src/job.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | let return_value = unsafe { AssignProcessToJobObject(self.handle, proc_handle) }; [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/job.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | CloseHandle(self.handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope [INFO] [stdout] --> src/limits.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ExtendedLimitInfo(pub JOBOBJECT_EXTENDED_LIMIT_INFORMATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | Normal = NORMAL_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDLE_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | Idle = IDLE_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | High = HIGH_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REALTIME_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | Realtime = REALTIME_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BELOW_NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | BelowNormal = BELOW_NORMAL_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ABOVE_NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | AboveNormal = ABOVE_NORMAL_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope [INFO] [stdout] --> src/limits.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let inner: JOBOBJECT_EXTENDED_LIMIT_INFORMATION = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_WORKINGSET` in this scope [INFO] [stdout] --> src/limits.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_WORKINGSET; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` in this scope [INFO] [stdout] --> src/limits.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_PRIORITY_CLASS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_SCHEDULING_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:76:52 [INFO] [stdout] | [INFO] [stdout] 76 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_SCHEDULING_CLASS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_AFFINITY` in this scope [INFO] [stdout] --> src/limits.rs:84:52 [INFO] [stdout] | [INFO] [stdout] 84 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_AFFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_BASIC_PROCESS_ID_LIST` in this scope [INFO] [stdout] --> src/query.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | header: JOBOBJECT_BASIC_PROCESS_ID_LIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/query.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | list: [ULONG_PTR; 1024], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope [INFO] [stdout] --> src/query.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | QueryInformationJobObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JobObjectBasicProcessIdList` in this scope [INFO] [stdout] --> src/query.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | JobObjectBasicProcessIdList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/query.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | &mut proc_id_list as *mut _ as LPVOID, [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/query.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | mem::size_of_val(&proc_id_list) as 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/utils.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_current_process() -> 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/utils.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | process_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/utils.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_process_memory_info( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | process_handle: HANDLE, [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/utils.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | let mut counters: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/utils.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_process_memory_info( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | mem::size_of::() as u32, [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/utils.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_process_affinity_mask(process_handle: HANDLE) -> Result<(usize, usize), io::Error> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessAffinityMask` in this scope [INFO] [stdout] --> src/utils.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | GetProcessAffinityMask( [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/job.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in this scope [INFO] [stdout] --> src/job.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | let job_handle = unsafe { CreateJobObjectW(ptr::null_mut(), ptr::null()) }; [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/job.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn handle(&self) -> 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/job.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn into_handle(self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope [INFO] [stdout] --> src/job.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | QueryInformationJobObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope [INFO] [stdout] --> src/job.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | JobObjectExtendedLimitInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/job.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | &mut info.0 as *mut _ as LPVOID, [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/job.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 62 | mem::size_of_val(&info) 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 `SetInformationJobObject` in this scope [INFO] [stdout] --> src/job.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | SetInformationJobObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope [INFO] [stdout] --> src/job.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | JobObjectExtendedLimitInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/job.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | &mut info.0 as *mut _ as LPVOID, [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/job.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | mem::size_of_val(&info.0) as 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/job.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn assign_process(&self, proc_handle: HANDLE) -> Result<(), JobError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AssignProcessToJobObject` in this scope [INFO] [stdout] --> src/job.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | let return_value = unsafe { AssignProcessToJobObject(self.handle, proc_handle) }; [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/job.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | CloseHandle(self.handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_WORKINGSET` in this scope [INFO] [stdout] --> src/job.rs:141:52 [INFO] [stdout] | [INFO] [stdout] 141 | info.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_WORKINGSET; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope [INFO] [stdout] --> src/limits.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ExtendedLimitInfo(pub JOBOBJECT_EXTENDED_LIMIT_INFORMATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | Normal = NORMAL_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDLE_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | Idle = IDLE_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIGH_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | High = HIGH_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REALTIME_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | Realtime = REALTIME_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BELOW_NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | BelowNormal = BELOW_NORMAL_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ABOVE_NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | AboveNormal = ABOVE_NORMAL_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope [INFO] [stdout] --> src/limits.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let inner: JOBOBJECT_EXTENDED_LIMIT_INFORMATION = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_WORKINGSET` in this scope [INFO] [stdout] --> src/limits.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_WORKINGSET; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` in this scope [INFO] [stdout] --> src/limits.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_PRIORITY_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_PRIORITY_CLASS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_SCHEDULING_CLASS` in this scope [INFO] [stdout] --> src/limits.rs:76:52 [INFO] [stdout] | [INFO] [stdout] 76 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_SCHEDULING_CLASS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_AFFINITY` in this scope [INFO] [stdout] --> src/limits.rs:84:52 [INFO] [stdout] | [INFO] [stdout] 84 | self.0.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_AFFINITY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_BASIC_PROCESS_ID_LIST` in this scope [INFO] [stdout] --> src/query.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | header: JOBOBJECT_BASIC_PROCESS_ID_LIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/query.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | list: [ULONG_PTR; 1024], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope [INFO] [stdout] --> src/query.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | QueryInformationJobObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JobObjectBasicProcessIdList` in this scope [INFO] [stdout] --> src/query.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | JobObjectBasicProcessIdList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/query.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | &mut proc_id_list as *mut _ as LPVOID, [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/query.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | mem::size_of_val(&proc_id_list) as 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/utils.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_current_process() -> 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/utils.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | process_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/utils.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_process_memory_info( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | process_handle: HANDLE, [INFO] [stdout] 17 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/utils.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | let mut counters: PROCESS_MEMORY_COUNTERS = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope [INFO] [stdout] --> src/utils.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_process_memory_info( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | mem::size_of::() as u32, [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/utils.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_process_affinity_mask(process_handle: HANDLE) -> Result<(usize, usize), io::Error> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessAffinityMask` in this scope [INFO] [stdout] --> src/utils.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | GetProcessAffinityMask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win32job` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 57 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, 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" "347d8ef0298c1b651f1babcbc2455aed105e1e877e3633d143a37e4c5a8b257f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "347d8ef0298c1b651f1babcbc2455aed105e1e877e3633d143a37e4c5a8b257f", kill_on_drop: false }` [INFO] [stdout] 347d8ef0298c1b651f1babcbc2455aed105e1e877e3633d143a37e4c5a8b257f