[INFO] crate spectrometer 0.0.3 is already in cache
[INFO] checking spectrometer-0.0.3 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] extracting crate spectrometer 0.0.3 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate spectrometer 0.0.3 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate spectrometer 0.0.3
[INFO] finished tweaking crates.io crate spectrometer 0.0.3
[INFO] tweaked toml for crates.io crate spectrometer 0.0.3 written to /workspace/builds/worker-1/source/Cargo.toml
[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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 1a6e1233ded6919f8a2f78225aa5700ac5c258b319fc14484762ad48d1374325
[INFO] running `"docker" "start" "-a" "1a6e1233ded6919f8a2f78225aa5700ac5c258b319fc14484762ad48d1374325"`
[INFO] [stderr]     Checking spectrometer v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::um::processthreadsapi::GetSystemTimes;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::sysinfoapi::{GetNativeSystemInfo, GlobalMemoryStatusEx, GetTickCount64, MEMORYSTATUSEX, SYSTEM_INFO /*, GetVersion */};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use winapi::um::fileapi::{GetDiskFreeSpaceExW, GetLogicalDriveStringsW};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::winnt::{ULARGE_INTEGER, WCHAR};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::winbase::{GetComputerNameW, GetUserNameW};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::shared::minwindef::{FILETIME /*, HIWORD, LOWORD, HIBYTE, LOBYTE */};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::shared::lmcons::UNLEN;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:51:30
[INFO] [stderr]    |
[INFO] [stderr] 51 |     let mut base_idle_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:52:32
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let mut base_kernel_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:53:30
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let mut base_user_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:55:25
[INFO] [stderr]    |
[INFO] [stderr] 55 |     let mut idle_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:56:27
[INFO] [stderr]    |
[INFO] [stderr] 56 |     let mut kernel_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                           ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:57:25
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let mut user_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemTimes` in this scope
[INFO] [stderr]   --> src/lib.rs:59:17
[INFO] [stderr]    |
[INFO] [stderr] 59 |     if unsafe { GetSystemTimes(&mut base_idle_time, &mut base_kernel_time, &mut base_user_time) } == 0 {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemTimes` in this scope
[INFO] [stderr]   --> src/lib.rs:64:17
[INFO] [stderr]    |
[INFO] [stderr] 64 |     if unsafe { GetSystemTimes(&mut idle_time, &mut kernel_time, &mut user_time) } == 0 {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:87:28
[INFO] [stderr]    |
[INFO] [stderr] 87 | fn filetime2u64(filetime: &FILETIME) -> u64 {
[INFO] [stderr]    |                            ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]   --> src/lib.rs:97:25
[INFO] [stderr]    |
[INFO] [stderr] 95 | pub fn get_drives() -> Result<Vec<String>, Error> {
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stderr] 96 |     let buffer_size = 512;
[INFO] [stderr] 97 |     let mut buffer: Vec<WCHAR> = Vec::with_capacity(buffer_size);
[INFO] [stderr]    |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLogicalDriveStringsW` in this scope
[INFO] [stderr]   --> src/lib.rs:99:20
[INFO] [stderr]    |
[INFO] [stderr] 99 |     match unsafe { GetLogicalDriveStringsW((buffer_size - 1) as u32, buffer.as_mut_ptr()) } {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ULARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/lib.rs:141:20
[INFO] [stderr]     |
[INFO] [stderr] 141 |     let mut avail: ULARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ULARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/lib.rs:142:19
[INFO] [stderr]     |
[INFO] [stderr] 142 |     let mut free: ULARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ULARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/lib.rs:143:20
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let mut total: ULARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDiskFreeSpaceExW` in this scope
[INFO] [stderr]    --> src/lib.rs:145:17
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if unsafe { GetDiskFreeSpaceExW(u16_drive, &mut avail, &mut total, &mut free) } == 0 {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MEMORYSTATUSEX` in this scope
[INFO] [stderr]    --> src/lib.rs:164:21
[INFO] [stderr]     |
[INFO] [stderr] 164 |     let mut memory: MEMORYSTATUSEX = MEMORYSTATUSEX {
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MEMORYSTATUSEX` in this scope
[INFO] [stderr]    --> src/lib.rs:164:38
[INFO] [stderr]     |
[INFO] [stderr] 164 |     let mut memory: MEMORYSTATUSEX = MEMORYSTATUSEX {
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MEMORYSTATUSEX` in this scope
[INFO] [stderr]    --> src/lib.rs:165:34
[INFO] [stderr]     |
[INFO] [stderr] 163 | pub fn memory_details() -> Result<Mem, Error> {
[INFO] [stderr]     |                      - help: you might be missing a type parameter: `<MEMORYSTATUSEX>`
[INFO] [stderr] 164 |     let mut memory: MEMORYSTATUSEX = MEMORYSTATUSEX {
[INFO] [stderr] 165 |         dwLength: mem::size_of::<MEMORYSTATUSEX>() as u32,
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalMemoryStatusEx` in this scope
[INFO] [stderr]    --> src/lib.rs:176:17
[INFO] [stderr]     |
[INFO] [stderr] 176 |     if unsafe { GlobalMemoryStatusEx(&mut memory) } == 0 {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount64` in this scope
[INFO] [stderr]    --> src/lib.rs:190:26
[INFO] [stderr]     |
[INFO] [stderr] 190 |     let ticks = unsafe { GetTickCount64() };
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `SYSTEM_INFO` in this scope
[INFO] [stderr]    --> src/lib.rs:197:27
[INFO] [stderr]     |
[INFO] [stderr] 197 |     let mut system_info = SYSTEM_INFO {
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetNativeSystemInfo` in this scope
[INFO] [stderr]    --> src/lib.rs:210:14
[INFO] [stderr]     |
[INFO] [stderr] 210 |     unsafe { GetNativeSystemInfo(&mut system_info) };
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `SYSTEM_INFO` in this scope
[INFO] [stderr]    --> src/lib.rs:217:27
[INFO] [stderr]     |
[INFO] [stderr] 217 |     let mut system_info = SYSTEM_INFO {
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetNativeSystemInfo` in this scope
[INFO] [stderr]    --> src/lib.rs:230:14
[INFO] [stderr]     |
[INFO] [stderr] 230 |     unsafe { GetNativeSystemInfo(&mut system_info) };
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetComputerNameW` in this scope
[INFO] [stderr]    --> src/lib.rs:247:17
[INFO] [stderr]     |
[INFO] [stderr] 247 |     if unsafe { GetComputerNameW(buffer.as_mut_ptr(), &mut (buffer_size as u32)) } == 0 {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `UNLEN` in this scope
[INFO] [stderr]    --> src/lib.rs:267:28
[INFO] [stderr]     |
[INFO] [stderr] 267 |     let mut buffer_size = (UNLEN + 1) as usize;
[INFO] [stderr]     |                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserNameW` in this scope
[INFO] [stderr]    --> src/lib.rs:270:17
[INFO] [stderr]     |
[INFO] [stderr] 270 |     if unsafe { GetUserNameW(buffer.as_mut_ptr(), &mut (buffer_size as u32)) } == 0 {
[INFO] [stderr]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `env`
[INFO] [stderr]  --> src/lib.rs:8:30
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::{time, thread, mem, env};
[INFO] [stderr]   |                              ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::um::processthreadsapi::GetSystemTimes;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::sysinfoapi::{GetNativeSystemInfo, GlobalMemoryStatusEx, GetTickCount64, MEMORYSTATUSEX, SYSTEM_INFO /*, GetVersion */};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use winapi::um::fileapi::{GetDiskFreeSpaceExW, GetLogicalDriveStringsW};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::winnt::{ULARGE_INTEGER, WCHAR};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::um::winbase::{GetComputerNameW, GetUserNameW};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::shared::minwindef::{FILETIME /*, HIWORD, LOWORD, HIBYTE, LOBYTE */};
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stderr]  --> src/lib.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::shared::lmcons::UNLEN;
[INFO] [stderr]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 34 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `spectrometer`.
[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[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:51:30
[INFO] [stderr]    |
[INFO] [stderr] 51 |     let mut base_idle_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:52:32
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let mut base_kernel_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:53:30
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let mut base_user_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                              ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:55:25
[INFO] [stderr]    |
[INFO] [stderr] 55 |     let mut idle_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:56:27
[INFO] [stderr]    |
[INFO] [stderr] 56 |     let mut kernel_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                           ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:57:25
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let mut user_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stderr]    |                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemTimes` in this scope
[INFO] [stderr]   --> src/lib.rs:59:17
[INFO] [stderr]    |
[INFO] [stderr] 59 |     if unsafe { GetSystemTimes(&mut base_idle_time, &mut base_kernel_time, &mut base_user_time) } == 0 {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemTimes` in this scope
[INFO] [stderr]   --> src/lib.rs:64:17
[INFO] [stderr]    |
[INFO] [stderr] 64 |     if unsafe { GetSystemTimes(&mut idle_time, &mut kernel_time, &mut user_time) } == 0 {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FILETIME` in this scope
[INFO] [stderr]   --> src/lib.rs:87:28
[INFO] [stderr]    |
[INFO] [stderr] 87 | fn filetime2u64(filetime: &FILETIME) -> u64 {
[INFO] [stderr]    |                            ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]   --> src/lib.rs:97:25
[INFO] [stderr]    |
[INFO] [stderr] 95 | pub fn get_drives() -> Result<Vec<String>, Error> {
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stderr] 96 |     let buffer_size = 512;
[INFO] [stderr] 97 |     let mut buffer: Vec<WCHAR> = Vec::with_capacity(buffer_size);
[INFO] [stderr]    |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLogicalDriveStringsW` in this scope
[INFO] [stderr]   --> src/lib.rs:99:20
[INFO] [stderr]    |
[INFO] [stderr] 99 |     match unsafe { GetLogicalDriveStringsW((buffer_size - 1) as u32, buffer.as_mut_ptr()) } {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ULARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/lib.rs:141:20
[INFO] [stderr]     |
[INFO] [stderr] 141 |     let mut avail: ULARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ULARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/lib.rs:142:19
[INFO] [stderr]     |
[INFO] [stderr] 142 |     let mut free: ULARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ULARGE_INTEGER` in this scope
[INFO] [stderr]    --> src/lib.rs:143:20
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let mut total: ULARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetDiskFreeSpaceExW` in this scope
[INFO] [stderr]    --> src/lib.rs:145:17
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if unsafe { GetDiskFreeSpaceExW(u16_drive, &mut avail, &mut total, &mut free) } == 0 {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MEMORYSTATUSEX` in this scope
[INFO] [stderr]    --> src/lib.rs:164:21
[INFO] [stderr]     |
[INFO] [stderr] 164 |     let mut memory: MEMORYSTATUSEX = MEMORYSTATUSEX {
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MEMORYSTATUSEX` in this scope
[INFO] [stderr]    --> src/lib.rs:164:38
[INFO] [stderr]     |
[INFO] [stderr] 164 |     let mut memory: MEMORYSTATUSEX = MEMORYSTATUSEX {
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MEMORYSTATUSEX` in this scope
[INFO] [stderr]    --> src/lib.rs:165:34
[INFO] [stderr]     |
[INFO] [stderr] 163 | pub fn memory_details() -> Result<Mem, Error> {
[INFO] [stderr]     |                      - help: you might be missing a type parameter: `<MEMORYSTATUSEX>`
[INFO] [stderr] 164 |     let mut memory: MEMORYSTATUSEX = MEMORYSTATUSEX {
[INFO] [stderr] 165 |         dwLength: mem::size_of::<MEMORYSTATUSEX>() as u32,
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalMemoryStatusEx` in this scope
[INFO] [stderr]    --> src/lib.rs:176:17
[INFO] [stderr]     |
[INFO] [stderr] 176 |     if unsafe { GlobalMemoryStatusEx(&mut memory) } == 0 {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount64` in this scope
[INFO] [stderr]    --> src/lib.rs:190:26
[INFO] [stderr]     |
[INFO] [stderr] 190 |     let ticks = unsafe { GetTickCount64() };
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `SYSTEM_INFO` in this scope
[INFO] [stderr]    --> src/lib.rs:197:27
[INFO] [stderr]     |
[INFO] [stderr] 197 |     let mut system_info = SYSTEM_INFO {
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetNativeSystemInfo` in this scope
[INFO] [stderr]    --> src/lib.rs:210:14
[INFO] [stderr]     |
[INFO] [stderr] 210 |     unsafe { GetNativeSystemInfo(&mut system_info) };
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `SYSTEM_INFO` in this scope
[INFO] [stderr]    --> src/lib.rs:217:27
[INFO] [stderr]     |
[INFO] [stderr] 217 |     let mut system_info = SYSTEM_INFO {
[INFO] [stderr]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetNativeSystemInfo` in this scope
[INFO] [stderr]    --> src/lib.rs:230:14
[INFO] [stderr]     |
[INFO] [stderr] 230 |     unsafe { GetNativeSystemInfo(&mut system_info) };
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetComputerNameW` in this scope
[INFO] [stderr]    --> src/lib.rs:247:17
[INFO] [stderr]     |
[INFO] [stderr] 247 |     if unsafe { GetComputerNameW(buffer.as_mut_ptr(), &mut (buffer_size as u32)) } == 0 {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `UNLEN` in this scope
[INFO] [stderr]    --> src/lib.rs:267:28
[INFO] [stderr]     |
[INFO] [stderr] 267 |     let mut buffer_size = (UNLEN + 1) as usize;
[INFO] [stderr]     |                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserNameW` in this scope
[INFO] [stderr]    --> src/lib.rs:270:17
[INFO] [stderr]     |
[INFO] [stderr] 270 |     if unsafe { GetUserNameW(buffer.as_mut_ptr(), &mut (buffer_size as u32)) } == 0 {
[INFO] [stderr]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 34 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `spectrometer`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "1a6e1233ded6919f8a2f78225aa5700ac5c258b319fc14484762ad48d1374325"`
[INFO] running `"docker" "rm" "-f" "1a6e1233ded6919f8a2f78225aa5700ac5c258b319fc14484762ad48d1374325"`
[INFO] [stdout] 1a6e1233ded6919f8a2f78225aa5700ac5c258b319fc14484762ad48d1374325
