[INFO] updating cached repository https://github.com/retep998/dojob-rs
[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] 55ca7e35df8f9c9c0729055f1df4769565e77e0f
[INFO] checking retep998/dojob-rs against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep998%2Fdojob-rs" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/retep998/dojob-rs on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/retep998/dojob-rs
[INFO] finished tweaking git repo https://github.com/retep998/dojob-rs
[INFO] tweaked toml for git repo https://github.com/retep998/dojob-rs written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/retep998/dojob-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] b30d9393e804ef0ac672f1772146f0abd4663d2228774eba01e86a7f49c03fc5
[INFO] running `"docker" "start" "-a" "b30d9393e804ef0ac672f1772146f0abd4663d2228774eba01e86a7f49c03fc5"`
[INFO] [stderr]    Compiling psapi-sys v0.1.1
[INFO] [stderr]     Checking dojob v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/main.rs:12:14
[INFO] [stderr]    |
[INFO] [stderr] 12 | 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 `windows` in `os`
[INFO] [stderr]   --> src/main.rs:12:14
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::os::windows::prelude::*;
[INFO] [stderr]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in crate `win`
[INFO] [stderr]   --> src/main.rs:18:29
[INFO] [stderr]    |
[INFO] [stderr] 18 | static mut job_handle: win::HANDLE = 0 as win::HANDLE;
[INFO] [stderr]    |                             ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in crate `win`
[INFO] [stderr]   --> src/main.rs:18:48
[INFO] [stderr]    |
[INFO] [stderr] 18 | static mut job_handle: win::HANDLE = 0 as win::HANDLE;
[INFO] [stderr]    |                                                ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in crate `win`
[INFO] [stderr]   --> src/main.rs:20:31
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn print_zombies(handle: win::HANDLE) {
[INFO] [stderr]    |                               ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `JOBOBJECT_BASIC_PROCESS_ID_LIST` in crate `win`
[INFO] [stderr]   --> src/main.rs:24:40
[INFO] [stderr]    |
[INFO] [stderr] 24 |     #[repr(C)] struct ProcessList(win::JOBOBJECT_BASIC_PROCESS_ID_LIST, [win::ULONG_PTR; NPROC]);
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ULONG_PTR` in crate `win`
[INFO] [stderr]   --> src/main.rs:24:79
[INFO] [stderr]    |
[INFO] [stderr] 24 |     #[repr(C)] struct ProcessList(win::JOBOBJECT_BASIC_PROCESS_ID_LIST, [win::ULONG_PTR; NPROC]);
[INFO] [stderr]    |                                                                               ^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `JOBOBJECT_BASIC_PROCESS_ID_LIST` in crate `win`
[INFO] [stderr]   --> src/main.rs:25:38
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let mut procs = ProcessList(win::JOBOBJECT_BASIC_PROCESS_ID_LIST {
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:26:50
[INFO] [stderr]    |
[INFO] [stderr] 26 |         NumberOfAssignedProcesses: NPROC as win::DWORD,
[INFO] [stderr]    |                                                  ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in crate `k32`
[INFO] [stderr]   --> src/main.rs:31:22
[INFO] [stderr]    |
[INFO] [stderr] 31 |     if unsafe { k32::QueryInformationJobObject(
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `JobObjectBasicProcessIdList` in crate `win`
[INFO] [stderr]   --> src/main.rs:32:22
[INFO] [stderr]    |
[INFO] [stderr] 32 |         handle, win::JobObjectBasicProcessIdList,
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in crate `win`
[INFO] [stderr]   --> src/main.rs:33:38
[INFO] [stderr]    |
[INFO] [stderr] 33 |         &mut procs as *mut _ as win::LPVOID, size_of_val(&procs) as win::DWORD, null_mut(),
[INFO] [stderr]    |                                      ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:33:74
[INFO] [stderr]    |
[INFO] [stderr] 33 |         &mut procs as *mut _ as win::LPVOID, size_of_val(&procs) as win::DWORD, null_mut(),
[INFO] [stderr]    |                                                                          ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `k32`
[INFO] [stderr]   --> src/main.rs:35:26
[INFO] [stderr]    |
[INFO] [stderr] 35 |         if unsafe { k32::GetLastError() } == win::ERROR_MORE_DATA {
[INFO] [stderr]    |                          ^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `ERROR_MORE_DATA` in crate `win`
[INFO] [stderr]   --> src/main.rs:35:51
[INFO] [stderr]    |
[INFO] [stderr] 35 |         if unsafe { k32::GetLastError() } == win::ERROR_MORE_DATA {
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:37:62
[INFO] [stderr]    |
[INFO] [stderr] 37 |             procs.0.NumberOfProcessIdsInList = NPROC as win::DWORD;
[INFO] [stderr]    |                                                              ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in crate `k32`
[INFO] [stderr]   --> src/main.rs:46:18
[INFO] [stderr]    |
[INFO] [stderr] 46 |             k32::OpenProcess(win::PROCESS_QUERY_INFORMATION, win::FALSE, procid as win::DWORD)
[INFO] [stderr]    |                  ^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in crate `win`
[INFO] [stderr]   --> src/main.rs:46:35
[INFO] [stderr]    |
[INFO] [stderr] 46 |             k32::OpenProcess(win::PROCESS_QUERY_INFORMATION, win::FALSE, procid as win::DWORD)
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in crate `win`
[INFO] [stderr]   --> src/main.rs:46:67
[INFO] [stderr]    |
[INFO] [stderr] 46 |             k32::OpenProcess(win::PROCESS_QUERY_INFORMATION, win::FALSE, procid as win::DWORD)
[INFO] [stderr]    |                                                                   ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:46:89
[INFO] [stderr]    |
[INFO] [stderr] 46 |             k32::OpenProcess(win::PROCESS_QUERY_INFORMATION, win::FALSE, procid as win::DWORD)
[INFO] [stderr]    |                                                                                         ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessImageFileNameW` in crate `psapi`
[INFO] [stderr]   --> src/main.rs:51:20
[INFO] [stderr]    |
[INFO] [stderr] 51 |             psapi::GetProcessImageFileNameW(process, buf.as_mut_ptr(), buf.len() as win::DWORD)
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `psapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:51:90
[INFO] [stderr]    |
[INFO] [stderr] 51 |             psapi::GetProcessImageFileNameW(process, buf.as_mut_ptr(), buf.len() as win::DWORD)
[INFO] [stderr]    |                                                                                          ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:60:43
[INFO] [stderr]    |
[INFO] [stderr] 60 | unsafe extern "system" fn handler(_: win::DWORD) -> win::BOOL {
[INFO] [stderr]    |                                           ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in crate `win`
[INFO] [stderr]   --> src/main.rs:60:58
[INFO] [stderr]    |
[INFO] [stderr] 60 | unsafe extern "system" fn handler(_: win::DWORD) -> win::BOOL {
[INFO] [stderr]    |                                                          ^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateJobObject` in crate `k32`
[INFO] [stderr]   --> src/main.rs:64:20
[INFO] [stderr]    |
[INFO] [stderr] 64 |     let err = k32::TerminateJobObject(job_handle, 273);
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TRUE` in crate `win`
[INFO] [stderr]   --> src/main.rs:66:10
[INFO] [stderr]    |
[INFO] [stderr] 66 |     win::TRUE
[INFO] [stderr]    |          ^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in crate `k32`
[INFO] [stderr]   --> src/main.rs:81:36
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let mut handle = unsafe { k32::CreateJobObjectW(null_mut(), name.as_ptr()) };
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `k32`
[INFO] [stderr]   --> src/main.rs:83:22
[INFO] [stderr]    |
[INFO] [stderr] 83 |     if unsafe { k32::GetLastError() } == win::ERROR_ALREADY_EXISTS {
[INFO] [stderr]    |                      ^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `ERROR_ALREADY_EXISTS` in crate `win`
[INFO] [stderr]   --> src/main.rs:83:47
[INFO] [stderr]    |
[INFO] [stderr] 83 |     if unsafe { k32::GetLastError() } == win::ERROR_ALREADY_EXISTS {
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateJobObject` in crate `k32`
[INFO] [stderr]   --> src/main.rs:87:33
[INFO] [stderr]    |
[INFO] [stderr] 87 |         let err = unsafe { k32::TerminateJobObject(handle, 9001) };
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in crate `k32`
[INFO] [stderr]   --> src/main.rs:91:32
[INFO] [stderr]    |
[INFO] [stderr] 91 |         handle = unsafe { k32::CreateJobObjectW(null_mut(), name.as_ptr()) };
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in crate `win`
[INFO] [stderr]   --> src/main.rs:96:24
[INFO] [stderr]    |
[INFO] [stderr] 96 |     let mut info: win::JOBOBJECT_EXTENDED_LIMIT_INFORMATION = unsafe { zeroed() };
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` in crate `win`
[INFO] [stderr]   --> src/main.rs:97:50
[INFO] [stderr]    |
[INFO] [stderr] 97 |     info.BasicLimitInformation.LimitFlags = win::JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetInformationJobObject` in crate `k32`
[INFO] [stderr]   --> src/main.rs:98:29
[INFO] [stderr]    |
[INFO] [stderr] 98 |     let err = unsafe { k32::SetInformationJobObject(
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in crate `win`
[INFO] [stderr]   --> src/main.rs:99:22
[INFO] [stderr]    |
[INFO] [stderr] 99 |         handle, win::JobObjectExtendedLimitInformation,
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in crate `win`
[INFO] [stderr]    --> src/main.rs:100:37
[INFO] [stderr]     |
[INFO] [stderr] 100 |         &mut info as *mut _ as win::LPVOID, size_of_val(&info) as win::DWORD,
[INFO] [stderr]     |                                     ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]    --> src/main.rs:100:72
[INFO] [stderr]     |
[INFO] [stderr] 100 |         &mut info as *mut _ as win::LPVOID, size_of_val(&info) as win::DWORD,
[INFO] [stderr]     |                                                                        ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in crate `k32`
[INFO] [stderr]    --> src/main.rs:104:33
[INFO] [stderr]     |
[INFO] [stderr] 104 |     let process = unsafe { k32::GetCurrentProcess() };
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `AssignProcessToJobObject` in crate `k32`
[INFO] [stderr]    --> src/main.rs:105:29
[INFO] [stderr]     |
[INFO] [stderr] 105 |     let err = unsafe { k32::AssignProcessToJobObject(handle, process) };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCtrlHandler` in crate `k32`
[INFO] [stderr]    --> src/main.rs:108:29
[INFO] [stderr]     |
[INFO] [stderr] 108 |     let err = unsafe { k32::SetConsoleCtrlHandler(Some(handler), win::TRUE) };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TRUE` in crate `win`
[INFO] [stderr]    --> src/main.rs:108:71
[INFO] [stderr]     |
[INFO] [stderr] 108 |     let err = unsafe { k32::SetConsoleCtrlHandler(Some(handler), win::TRUE) };
[INFO] [stderr]     |                                                                       ^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in crate `win`
[INFO] [stderr]   --> src/main.rs:18:29
[INFO] [stderr]    |
[INFO] [stderr] 18 | static mut job_handle: win::HANDLE = 0 as win::HANDLE;
[INFO] [stderr]    |                             ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in crate `win`
[INFO] [stderr]   --> src/main.rs:18:48
[INFO] [stderr]    |
[INFO] [stderr] 18 | static mut job_handle: win::HANDLE = 0 as win::HANDLE;
[INFO] [stderr]    |                                                ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in crate `win`
[INFO] [stderr]   --> src/main.rs:20:31
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn print_zombies(handle: win::HANDLE) {
[INFO] [stderr]    |                               ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `JOBOBJECT_BASIC_PROCESS_ID_LIST` in crate `win`
[INFO] [stderr]   --> src/main.rs:24:40
[INFO] [stderr]    |
[INFO] [stderr] 24 |     #[repr(C)] struct ProcessList(win::JOBOBJECT_BASIC_PROCESS_ID_LIST, [win::ULONG_PTR; NPROC]);
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ULONG_PTR` in crate `win`
[INFO] [stderr]   --> src/main.rs:24:79
[INFO] [stderr]    |
[INFO] [stderr] 24 |     #[repr(C)] struct ProcessList(win::JOBOBJECT_BASIC_PROCESS_ID_LIST, [win::ULONG_PTR; NPROC]);
[INFO] [stderr]    |                                                                               ^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `JOBOBJECT_BASIC_PROCESS_ID_LIST` in crate `win`
[INFO] [stderr]   --> src/main.rs:25:38
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let mut procs = ProcessList(win::JOBOBJECT_BASIC_PROCESS_ID_LIST {
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:26:50
[INFO] [stderr]    |
[INFO] [stderr] 26 |         NumberOfAssignedProcesses: NPROC as win::DWORD,
[INFO] [stderr]    |                                                  ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in crate `k32`
[INFO] [stderr]   --> src/main.rs:31:22
[INFO] [stderr]    |
[INFO] [stderr] 31 |     if unsafe { k32::QueryInformationJobObject(
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `JobObjectBasicProcessIdList` in crate `win`
[INFO] [stderr]   --> src/main.rs:32:22
[INFO] [stderr]    |
[INFO] [stderr] 32 |         handle, win::JobObjectBasicProcessIdList,
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in crate `win`
[INFO] [stderr]   --> src/main.rs:33:38
[INFO] [stderr]    |
[INFO] [stderr] 33 |         &mut procs as *mut _ as win::LPVOID, size_of_val(&procs) as win::DWORD, null_mut(),
[INFO] [stderr]    |                                      ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:33:74
[INFO] [stderr]    |
[INFO] [stderr] 33 |         &mut procs as *mut _ as win::LPVOID, size_of_val(&procs) as win::DWORD, null_mut(),
[INFO] [stderr]    |                                                                          ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `k32`
[INFO] [stderr]   --> src/main.rs:35:26
[INFO] [stderr]    |
[INFO] [stderr] 35 |         if unsafe { k32::GetLastError() } == win::ERROR_MORE_DATA {
[INFO] [stderr]    |                          ^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `ERROR_MORE_DATA` in crate `win`
[INFO] [stderr]   --> src/main.rs:35:51
[INFO] [stderr]    |
[INFO] [stderr] 35 |         if unsafe { k32::GetLastError() } == win::ERROR_MORE_DATA {
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:37:62
[INFO] [stderr]    |
[INFO] [stderr] 37 |             procs.0.NumberOfProcessIdsInList = NPROC as win::DWORD;
[INFO] [stderr]    |                                                              ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in crate `k32`
[INFO] [stderr]   --> src/main.rs:46:18
[INFO] [stderr]    |
[INFO] [stderr] 46 |             k32::OpenProcess(win::PROCESS_QUERY_INFORMATION, win::FALSE, procid as win::DWORD)
[INFO] [stderr]    |                  ^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in crate `win`
[INFO] [stderr]   --> src/main.rs:46:35
[INFO] [stderr]    |
[INFO] [stderr] 46 |             k32::OpenProcess(win::PROCESS_QUERY_INFORMATION, win::FALSE, procid as win::DWORD)
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `FALSE` in crate `win`
[INFO] [stderr]   --> src/main.rs:46:67
[INFO] [stderr]    |
[INFO] [stderr] 46 |             k32::OpenProcess(win::PROCESS_QUERY_INFORMATION, win::FALSE, procid as win::DWORD)
[INFO] [stderr]    |                                                                   ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:46:89
[INFO] [stderr]    |
[INFO] [stderr] 46 |             k32::OpenProcess(win::PROCESS_QUERY_INFORMATION, win::FALSE, procid as win::DWORD)
[INFO] [stderr]    |                                                                                         ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessImageFileNameW` in crate `psapi`
[INFO] [stderr]   --> src/main.rs:51:20
[INFO] [stderr]    |
[INFO] [stderr] 51 |             psapi::GetProcessImageFileNameW(process, buf.as_mut_ptr(), buf.len() as win::DWORD)
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `psapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:51:90
[INFO] [stderr]    |
[INFO] [stderr] 51 |             psapi::GetProcessImageFileNameW(process, buf.as_mut_ptr(), buf.len() as win::DWORD)
[INFO] [stderr]    |                                                                                          ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]   --> src/main.rs:60:43
[INFO] [stderr]    |
[INFO] [stderr] 60 | unsafe extern "system" fn handler(_: win::DWORD) -> win::BOOL {
[INFO] [stderr]    |                                           ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in crate `win`
[INFO] [stderr]   --> src/main.rs:60:58
[INFO] [stderr]    |
[INFO] [stderr] 60 | unsafe extern "system" fn handler(_: win::DWORD) -> win::BOOL {
[INFO] [stderr]    |                                                          ^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateJobObject` in crate `k32`
[INFO] [stderr]   --> src/main.rs:64:20
[INFO] [stderr]    |
[INFO] [stderr] 64 |     let err = k32::TerminateJobObject(job_handle, 273);
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TRUE` in crate `win`
[INFO] [stderr]   --> src/main.rs:66:10
[INFO] [stderr]    |
[INFO] [stderr] 66 |     win::TRUE
[INFO] [stderr]    |          ^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in crate `k32`
[INFO] [stderr]   --> src/main.rs:81:36
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let mut handle = unsafe { k32::CreateJobObjectW(null_mut(), name.as_ptr()) };
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in crate `k32`
[INFO] [stderr]   --> src/main.rs:83:22
[INFO] [stderr]    |
[INFO] [stderr] 83 |     if unsafe { k32::GetLastError() } == win::ERROR_ALREADY_EXISTS {
[INFO] [stderr]    |                      ^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `ERROR_ALREADY_EXISTS` in crate `win`
[INFO] [stderr]   --> src/main.rs:83:47
[INFO] [stderr]    |
[INFO] [stderr] 83 |     if unsafe { k32::GetLastError() } == win::ERROR_ALREADY_EXISTS {
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateJobObject` in crate `k32`
[INFO] [stderr]   --> src/main.rs:87:33
[INFO] [stderr]    |
[INFO] [stderr] 87 |         let err = unsafe { k32::TerminateJobObject(handle, 9001) };
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in crate `k32`
[INFO] [stderr]   --> src/main.rs:91:32
[INFO] [stderr]    |
[INFO] [stderr] 91 |         handle = unsafe { k32::CreateJobObjectW(null_mut(), name.as_ptr()) };
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in crate `win`
[INFO] [stderr]   --> src/main.rs:96:24
[INFO] [stderr]    |
[INFO] [stderr] 96 |     let mut info: win::JOBOBJECT_EXTENDED_LIMIT_INFORMATION = unsafe { zeroed() };
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` in crate `win`
[INFO] [stderr]   --> src/main.rs:97:50
[INFO] [stderr]    |
[INFO] [stderr] 97 |     info.BasicLimitInformation.LimitFlags = win::JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetInformationJobObject` in crate `k32`
[INFO] [stderr]   --> src/main.rs:98:29
[INFO] [stderr]    |
[INFO] [stderr] 98 |     let err = unsafe { k32::SetInformationJobObject(
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in crate `win`
[INFO] [stderr]   --> src/main.rs:99:22
[INFO] [stderr]    |
[INFO] [stderr] 99 |         handle, win::JobObjectExtendedLimitInformation,
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in crate `win`
[INFO] [stderr]    --> src/main.rs:100:37
[INFO] [stderr]     |
[INFO] [stderr] 100 |         &mut info as *mut _ as win::LPVOID, size_of_val(&info) as win::DWORD,
[INFO] [stderr]     |                                     ^^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in crate `win`
[INFO] [stderr]    --> src/main.rs:100:72
[INFO] [stderr]     |
[INFO] [stderr] 100 |         &mut info as *mut _ as win::LPVOID, size_of_val(&info) as win::DWORD,
[INFO] [stderr]     |                                                                        ^^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in crate `k32`
[INFO] [stderr]    --> src/main.rs:104:33
[INFO] [stderr]     |
[INFO] [stderr] 104 |     let process = unsafe { k32::GetCurrentProcess() };
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `AssignProcessToJobObject` in crate `k32`
[INFO] [stderr]    --> src/main.rs:105:29
[INFO] [stderr]     |
[INFO] [stderr] 105 |     let err = unsafe { k32::AssignProcessToJobObject(handle, process) };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCtrlHandler` in crate `k32`
[INFO] [stderr]    --> src/main.rs:108:29
[INFO] [stderr]     |
[INFO] [stderr] 108 |     let err = unsafe { k32::SetConsoleCtrlHandler(Some(handler), win::TRUE) };
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^ not found in `k32`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `TRUE` in crate `win`
[INFO] [stderr]    --> src/main.rs:108:71
[INFO] [stderr]     |
[INFO] [stderr] 108 |     let err = unsafe { k32::SetConsoleCtrlHandler(Some(handler), win::TRUE) };
[INFO] [stderr]     |                                                                       ^^^^ not found in `win`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]   --> src/main.rs:54:30
[INFO] [stderr]    |
[INFO] [stderr] 54 |         let name = OsString::from_wide(&buf[..len as usize]);
[INFO] [stderr]    |                              ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/main.rs:78:44
[INFO] [stderr]    |
[INFO] [stderr] 78 |     let mut name: Vec<_> = dir.as_os_str().encode_wide().chain(Some(0)).collect();
[INFO] [stderr]    |                                            ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 42 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope
[INFO] [stderr]   --> src/main.rs:54:30
[INFO] [stderr]    |
[INFO] [stderr] 54 |         let name = OsString::from_wide(&buf[..len as usize]);
[INFO] [stderr]    |                              ^^^^^^^^^ function or associated item not found in `std::ffi::OsString`
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `dojob`.
[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] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/main.rs:78:44
[INFO] [stderr]    |
[INFO] [stderr] 78 |     let mut name: Vec<_> = dir.as_os_str().encode_wide().chain(Some(0)).collect();
[INFO] [stderr]    |                                            ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 42 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `dojob`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "b30d9393e804ef0ac672f1772146f0abd4663d2228774eba01e86a7f49c03fc5"`
[INFO] running `"docker" "rm" "-f" "b30d9393e804ef0ac672f1772146f0abd4663d2228774eba01e86a7f49c03fc5"`
[INFO] [stdout] b30d9393e804ef0ac672f1772146f0abd4663d2228774eba01e86a7f49c03fc5
