[INFO] cloning repository https://github.com/LiHRaM/egpu-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiHRaM/egpu-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiHRaM%2Fegpu-rs"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiHRaM%2Fegpu-rs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e2a960d39a6636de0b734ef98f24ace72d7949ee [INFO] checking LiHRaM/egpu-rs against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiHRaM%2Fegpu-rs" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiHRaM/egpu-rs on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/LiHRaM/egpu-rs [INFO] finished tweaking git repo https://github.com/LiHRaM/egpu-rs [INFO] tweaked toml for git repo https://github.com/LiHRaM/egpu-rs written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/LiHRaM/egpu-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-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" "+beta-2019-10-27" "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] 2fbecaea1021112f95dde7c15d9861681fc1509bf507d28dc44bfbd1a06e0f53 [INFO] running `"docker" "start" "-a" "2fbecaea1021112f95dde7c15d9861681fc1509bf507d28dc44bfbd1a06e0f53"` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking egpu-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::combaseapi::{CoCreateInstance, CoInitializeEx, CLSCTX_ALL}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::objbase::COINIT_MULTITHREADED; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::portabledeviceapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winnt::LPWSTR; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/main.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IPortableDeviceManager` [INFO] [stderr] --> src/main.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | &IPortableDeviceManager::uuidof(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `IPortableDeviceManager` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/main.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let hr: HRESULT = unsafe { CoInitializeEx(std::ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoInitializeEx` in this scope [INFO] [stderr] --> src/main.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | let hr: HRESULT = unsafe { CoInitializeEx(std::ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COINIT_MULTITHREADED` in this scope [INFO] [stderr] --> src/main.rs:14:69 [INFO] [stderr] | [INFO] [stderr] 14 | let hr: HRESULT = unsafe { CoInitializeEx(std::ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | if !SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IPortableDeviceManager` in this scope [INFO] [stderr] --> src/main.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | let mut manager: *mut IPortableDeviceManager = unsafe { mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/main.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let hr: HRESULT = unsafe { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoCreateInstance` in this scope [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | CoCreateInstance( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSID_PortableDeviceManager` in this scope [INFO] [stderr] --> src/main.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | &CLSID_PortableDeviceManager, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | CLSCTX_ALL, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IPortableDeviceManager` in this scope [INFO] [stderr] --> src/main.rs:27:39 [INFO] [stderr] | [INFO] [stderr] 27 | &mut manager as *mut *mut IPortableDeviceManager as *mut *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | if !SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/main.rs:38:28 [INFO] [stderr] | [INFO] [stderr] 38 | let mut pPnPDeviceIDs: LPWSTR = unsafe { mem::zeroed() }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:39:29 [INFO] [stderr] | [INFO] [stderr] 39 | let mut pcPnPDeviceIDs: DWORD = unsafe { mem::zeroed() }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | if !SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::winerror::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::combaseapi::{CoCreateInstance, CoInitializeEx, CLSCTX_ALL}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::objbase::COINIT_MULTITHREADED; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::portabledeviceapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winnt::LPWSTR; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/main.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IPortableDeviceManager` [INFO] [stderr] --> src/main.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | &IPortableDeviceManager::uuidof(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `IPortableDeviceManager` [INFO] [stderr] [INFO] [stderr] error: aborting due to 23 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/main.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let hr: HRESULT = unsafe { CoInitializeEx(std::ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoInitializeEx` in this scope [INFO] [stderr] --> src/main.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | let hr: HRESULT = unsafe { CoInitializeEx(std::ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COINIT_MULTITHREADED` in this scope [INFO] [stderr] --> src/main.rs:14:69 [INFO] [stderr] | [INFO] [stderr] 14 | let hr: HRESULT = unsafe { CoInitializeEx(std::ptr::null_mut(), COINIT_MULTITHREADED) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | if !SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IPortableDeviceManager` in this scope [INFO] [stderr] --> src/main.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | let mut manager: *mut IPortableDeviceManager = unsafe { mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/main.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let hr: HRESULT = unsafe { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CoCreateInstance` in this scope [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | CoCreateInstance( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSID_PortableDeviceManager` in this scope [INFO] [stderr] --> src/main.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | &CLSID_PortableDeviceManager, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | CLSCTX_ALL, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IPortableDeviceManager` in this scope [INFO] [stderr] --> src/main.rs:27:39 [INFO] [stderr] | [INFO] [stderr] 27 | &mut manager as *mut *mut IPortableDeviceManager as *mut *mut c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | if !SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/main.rs:38:28 [INFO] [stderr] | [INFO] [stderr] 38 | let mut pPnPDeviceIDs: LPWSTR = unsafe { mem::zeroed() }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:39:29 [INFO] [stderr] | [INFO] [stderr] 39 | let mut pcPnPDeviceIDs: DWORD = unsafe { mem::zeroed() }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | if !SUCCEEDED(hr) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `egpu-rs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 23 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `egpu-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2fbecaea1021112f95dde7c15d9861681fc1509bf507d28dc44bfbd1a06e0f53"` [INFO] running `"docker" "rm" "-f" "2fbecaea1021112f95dde7c15d9861681fc1509bf507d28dc44bfbd1a06e0f53"` [INFO] [stdout] 2fbecaea1021112f95dde7c15d9861681fc1509bf507d28dc44bfbd1a06e0f53