[INFO] cloning repository https://github.com/JRF63/windows-spotlight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JRF63/windows-spotlight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJRF63%2Fwindows-spotlight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJRF63%2Fwindows-spotlight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dab54d8d7ad6f070ad826ed5fa90e3f50abe5dc [INFO] checking JRF63/windows-spotlight against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJRF63%2Fwindows-spotlight" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JRF63/windows-spotlight on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JRF63/windows-spotlight [INFO] finished tweaking git repo https://github.com/JRF63/windows-spotlight [INFO] tweaked toml for git repo https://github.com/JRF63/windows-spotlight written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/JRF63/windows-spotlight already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77f06a78a7449b94ca8c5da56f515c8f341113852a908ae3c2b82fbdedc79f5c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "77f06a78a7449b94ca8c5da56f515c8f341113852a908ae3c2b82fbdedc79f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77f06a78a7449b94ca8c5da56f515c8f341113852a908ae3c2b82fbdedc79f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77f06a78a7449b94ca8c5da56f515c8f341113852a908ae3c2b82fbdedc79f5c", kill_on_drop: false }` [INFO] [stdout] 77f06a78a7449b94ca8c5da56f515c8f341113852a908ae3c2b82fbdedc79f5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf19792d27e18d2a2d17cbe907e986bac2a814cc93ee25cfac147f5c9dea5d9e [INFO] running `Command { std: "docker" "start" "-a" "bf19792d27e18d2a2d17cbe907e986bac2a814cc93ee25cfac147f5c9dea5d9e", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking rust-spotlight v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/datetime.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::FILETIME; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/datetime.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::minwinbase::SYSTEMTIME; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/datetime.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::timezoneapi::FileTimeToSystemTime; [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] --> src/sha256/win_hasher.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/sha256/win_hasher.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/wallpaper.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | 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] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use std::os::windows::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/wallpaper.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/datetime.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::FILETIME; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/datetime.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::minwinbase::SYSTEMTIME; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/datetime.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::timezoneapi::FileTimeToSystemTime; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | alg_handle: bcrypt::BCRYPT_ALG_HANDLE, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | hash_handle: bcrypt::BCRYPT_HASH_HANDLE, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/sha256/win_hasher.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/sha256/win_hasher.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/wallpaper.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | 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] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use std::os::windows::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/wallpaper.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | match bcrypt::BCryptOpenAlgorithmProvider( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | bcrypt::BCRYPT_HASH_REUSABLE_FLAG, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ntstatus` [INFO] [stdout] --> src/sha256/win_hasher.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | ntstatus::STATUS_SUCCESS => rollback = 1, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ntstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | match bcrypt::BCryptCreateHash( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | bcrypt::BCRYPT_HASH_REUSABLE_FLAG, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ntstatus` [INFO] [stdout] --> src/sha256/win_hasher.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | ntstatus::STATUS_SUCCESS => rollback = 2, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ntstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | bcrypt::BCryptCloseAlgorithmProvider(winhasher.alg_handle, 0); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | bcrypt::BCryptDestroyHash(winhasher.hash_handle); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | match bcrypt::BCryptHashData( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ntstatus` [INFO] [stdout] --> src/sha256/win_hasher.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | ntstatus::STATUS_SUCCESS => Ok(()), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ntstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | alg_handle: bcrypt::BCRYPT_ALG_HANDLE, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | hash_handle: bcrypt::BCRYPT_HASH_HANDLE, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | match bcrypt::BCryptFinishHash(self.hash_handle, result.as_mut_ptr(), HASH_SIZE as _, 0) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ntstatus` [INFO] [stdout] --> src/sha256/win_hasher.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | ntstatus::STATUS_SUCCESS => Ok(CryptHash::new(result)), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ntstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | match bcrypt::BCryptOpenAlgorithmProvider( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | bcrypt::BCRYPT_HASH_REUSABLE_FLAG, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ntstatus` [INFO] [stdout] --> src/sha256/win_hasher.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | ntstatus::STATUS_SUCCESS => rollback = 1, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ntstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | bcrypt::BCryptCloseAlgorithmProvider(self.alg_handle, 0); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | match bcrypt::BCryptCreateHash( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | bcrypt::BCRYPT_HASH_REUSABLE_FLAG, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ntstatus` [INFO] [stdout] --> src/sha256/win_hasher.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | ntstatus::STATUS_SUCCESS => rollback = 2, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ntstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | bcrypt::BCryptDestroyHash(self.hash_handle); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | bcrypt::BCryptCloseAlgorithmProvider(winhasher.alg_handle, 0); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/wallpaper.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | winuser::SystemParametersInfoW( [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/wallpaper.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | winuser::SPI_SETDESKWALLPAPER, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/wallpaper.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | wchar_str.as_mut_ptr() as *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/wallpaper.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | winuser::SPIF_UPDATEINIFILE | winuser::SPIF_SENDCHANGE, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/wallpaper.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | winuser::SPIF_UPDATEINIFILE | winuser::SPIF_SENDCHANGE, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | bcrypt::BCryptDestroyHash(winhasher.hash_handle); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SYSTEMTIME` in this scope [INFO] [stdout] --> src/datetime.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut systime: SYSTEMTIME = unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | match bcrypt::BCryptHashData( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ntstatus` [INFO] [stdout] --> src/sha256/win_hasher.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | ntstatus::STATUS_SUCCESS => Ok(()), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ntstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | match bcrypt::BCryptFinishHash(self.hash_handle, result.as_mut_ptr(), HASH_SIZE as _, 0) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ntstatus` [INFO] [stdout] --> src/sha256/win_hasher.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | ntstatus::STATUS_SUCCESS => Ok(CryptHash::new(result)), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ntstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | bcrypt::BCryptCloseAlgorithmProvider(self.alg_handle, 0); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | bcrypt::BCryptDestroyHash(self.hash_handle); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FileTimeToSystemTime` in this scope [INFO] [stdout] --> src/datetime.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | if unsafe { FileTimeToSystemTime(ptr as *const FILETIME, &mut systime) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FILETIME` in this scope [INFO] [stdout] --> src/datetime.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | if unsafe { FileTimeToSystemTime(ptr as *const FILETIME, &mut systime) } == 0 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | WinHasher::new(bcrypt::BCRYPT_SHA256_ALGORITHM).expect("Failed to create hasher"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | let result = bcrypt::BCryptGetProperty( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | to_wchar(bcrypt::BCRYPT_HASH_LENGTH).as_ptr(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ntstatus` [INFO] [stdout] --> src/sha256/win_hasher.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | assert!(result == ntstatus::STATUS_SUCCESS); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ntstatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bcrypt` [INFO] [stdout] --> src/sha256/win_hasher.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | WinHasher::new(bcrypt::BCRYPT_SHA256_ALGORITHM).expect("Failed to create hasher"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `bcrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/wallpaper.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | winuser::SystemParametersInfoW( [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/wallpaper.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | winuser::SPI_SETDESKWALLPAPER, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/wallpaper.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | wchar_str.as_mut_ptr() as *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/wallpaper.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | winuser::SPIF_UPDATEINIFILE | winuser::SPIF_SENDCHANGE, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser` [INFO] [stdout] --> src/wallpaper.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | winuser::SPIF_UPDATEINIFILE | winuser::SPIF_SENDCHANGE, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `winuser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SYSTEMTIME` in this scope [INFO] [stdout] --> src/datetime.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut systime: SYSTEMTIME = unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FileTimeToSystemTime` in this scope [INFO] [stdout] --> src/datetime.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | if unsafe { FileTimeToSystemTime(ptr as *const FILETIME, &mut systime) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FILETIME` in this scope [INFO] [stdout] --> src/datetime.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | if unsafe { FileTimeToSystemTime(ptr as *const FILETIME, &mut systime) } == 0 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `creation_time` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/main.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 128 | let create_time = entry.metadata().unwrap().creation_time(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `creation_time` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/main.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 128 | let create_time = entry.metadata().unwrap().creation_time(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/sha256/win_hasher.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | let wchar_str: Vec = OsStr::new(str_id).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/sha256/win_hasher.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | let wchar_str: Vec = OsStr::new(str_id).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/wallpaper.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | let mut wchar_str: Vec = path.into_os_string().encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/wallpaper.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | let mut wchar_str: Vec = path.into_os_string().encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-spotlight` [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: build failed [INFO] running `Command { std: "docker" "inspect" "bf19792d27e18d2a2d17cbe907e986bac2a814cc93ee25cfac147f5c9dea5d9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf19792d27e18d2a2d17cbe907e986bac2a814cc93ee25cfac147f5c9dea5d9e", kill_on_drop: false }` [INFO] [stdout] bf19792d27e18d2a2d17cbe907e986bac2a814cc93ee25cfac147f5c9dea5d9e