[INFO] cloning repository https://github.com/adumbidiot/make-nul [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adumbidiot/make-nul" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fmake-nul", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fmake-nul'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02972c3f60146d3f13f2613bd88a519e50c6545c [INFO] testing adumbidiot/make-nul against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fmake-nul" "/workspace/builds/worker-53/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-53/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adumbidiot/make-nul on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adumbidiot/make-nul [INFO] finished tweaking git repo https://github.com/adumbidiot/make-nul [INFO] tweaked toml for git repo https://github.com/adumbidiot/make-nul written to /workspace/builds/worker-53/source/Cargo.toml [INFO] crate git repo https://github.com/adumbidiot/make-nul already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 510d5c59db7c6a5d69f52bb0cc1c8d22a613cafda8dd35a86d70d06151d64da7 [INFO] running `Command { std: "docker" "start" "-a" "510d5c59db7c6a5d69f52bb0cc1c8d22a613cafda8dd35a86d70d06151d64da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "510d5c59db7c6a5d69f52bb0cc1c8d22a613cafda8dd35a86d70d06151d64da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "510d5c59db7c6a5d69f52bb0cc1c8d22a613cafda8dd35a86d70d06151d64da7", kill_on_drop: false }` [INFO] [stdout] 510d5c59db7c6a5d69f52bb0cc1c8d22a613cafda8dd35a86d70d06151d64da7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 983b5976c14a32537ef3f16ba4c2b1fe4e53ce7962d1fa29639b387998231162 [INFO] running `Command { std: "docker" "start" "-a" "983b5976c14a32537ef3f16ba4c2b1fe4e53ce7962d1fa29639b387998231162", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling skylight v0.0.0 (https://github.com/adumbidiot/skylight-rs#7a5dc0e4) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::guiddef::CLSID; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::DWORD; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::winerror::FAILED; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::winerror::HRESULT; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::combaseapi::CoCreateInstance; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::combaseapi::CoIncrementMTAUsage; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::combaseapi::CoTaskMemAlloc; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::combaseapi::CoTaskMemFree; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::guiddef::GUID; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::FALSE; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::MAX_PATH; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::minwindef::TRUE; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::winerror::S_OK; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::knownfolders::FOLDERID_Desktop; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::knownfolders::FOLDERID_LocalAppData; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::shlobj::SHGetKnownFolderPath; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::shlobj::SHGetSpecialFolderPathW; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::shlobj::CSIDL_DESKTOP; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winbase::lstrlenW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{convert::TryInto, ffi::OsString, os::windows::ffi::OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::lmcons::UNLEN; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winbase::GetUserNameW; [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] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoIncrementMTAUsage` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | let code = unsafe { CoIncrementMTAUsage(&mut cookie) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | if FAILED(code) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CLSID` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | class_id: &CLSID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | flags: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn create_instance( [INFO] [stdout] | - help: you might be missing a type parameter: `, HRESULT` [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> Result<*mut T, HRESULT> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | let hr = CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | if FAILED(hr) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemAlloc` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | let ptr = unsafe { CoTaskMemAlloc(len * 2) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/objbase.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | CoTaskMemFree(self.0.as_ptr().cast()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | impl From for GUID { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOLDERID_Desktop` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | FolderId::Desktop => FOLDERID_Desktop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOLDERID_LocalAppData` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | FolderId::LocalAppData => FOLDERID_LocalAppData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let folder_id: GUID = folder_id.into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHGetKnownFolderPath` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | let ret = unsafe { SHGetKnownFolderPath(&folder_id, 0, std::ptr::null_mut(), &mut path_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | if ret != S_OK { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CSIDL_DESKTOP` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:71:51 [INFO] [stdout] | [INFO] [stdout] 71 | ConstantSpecialItemIdList::Desktop => CSIDL_DESKTOP, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | const BUFFER_LEN: usize = MAX_PATH + 1; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | let create_folder = if create_folder { TRUE } else { FALSE }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | let create_folder = if create_folder { TRUE } else { FALSE }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHGetSpecialFolderPathW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | SHGetSpecialFolderPathW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | if ret != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lstrlenW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/shlobj.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | let len: usize = lstrlenW(buffer.as_ptr().cast()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UNLEN` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | const BUFFER_LEN: u32 = UNLEN + 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserNameW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let ret = unsafe { GetUserNameW(buffer.as_mut_ptr().cast(), &mut buffer_len) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct LocalWideString(LPWSTR); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe fn from_lpwstr(ptr: LPWSTR) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | pub unsafe fn try_from_lpwstr(ptr: LPWSTR) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn as_mut_ptr(&mut self) -> LPWSTR { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lstrlenW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | lstrlenW(self.0) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LocalFree` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/skylight-rs-4f5a4d2b1803a565/7a5dc0e/src/winbase.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | let ret = unsafe { LocalFree(obj.as_mut_ptr().cast()) }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 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 `skylight` due to 59 previous errors [INFO] running `Command { std: "docker" "inspect" "983b5976c14a32537ef3f16ba4c2b1fe4e53ce7962d1fa29639b387998231162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983b5976c14a32537ef3f16ba4c2b1fe4e53ce7962d1fa29639b387998231162", kill_on_drop: false }` [INFO] [stdout] 983b5976c14a32537ef3f16ba4c2b1fe4e53ce7962d1fa29639b387998231162