[INFO] updating cached repository https://github.com/JRF63/windows-spotlight [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4dab54d8d7ad6f070ad826ed5fa90e3f50abe5dc [INFO] testing JRF63/windows-spotlight against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJRF63%2Fwindows-spotlight" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JRF63/windows-spotlight on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/JRF63/windows-spotlight already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1845044098d3e5dbfc36e965f774c5eecd7605832f6b7c4dcb4730be086bd4f2 [INFO] running `"docker" "start" "-a" "1845044098d3e5dbfc36e965f774c5eecd7605832f6b7c4dcb4730be086bd4f2"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling rust-spotlight v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/datetime.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::minwindef::FILETIME; [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/datetime.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::minwinbase::SYSTEMTIME; [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/datetime.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::timezoneapi::FileTimeToSystemTime; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/sha256/win_hasher.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/sha256/win_hasher.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/wallpaper.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | use std::os::windows::fs::MetadataExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/wallpaper.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | alg_handle: bcrypt::BCRYPT_ALG_HANDLE, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | hash_handle: bcrypt::BCRYPT_HASH_HANDLE, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | match bcrypt::BCryptOpenAlgorithmProvider( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | bcrypt::BCRYPT_HASH_REUSABLE_FLAG, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ntstatus` [INFO] [stderr] --> src/sha256/win_hasher.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | ntstatus::STATUS_SUCCESS => rollback = 1, [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ntstatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:40:23 [INFO] [stderr] | [INFO] [stderr] 40 | match bcrypt::BCryptCreateHash( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | bcrypt::BCRYPT_HASH_REUSABLE_FLAG, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ntstatus` [INFO] [stderr] --> src/sha256/win_hasher.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | ntstatus::STATUS_SUCCESS => rollback = 2, [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ntstatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | bcrypt::BCryptCloseAlgorithmProvider(winhasher.alg_handle, 0); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | bcrypt::BCryptDestroyHash(winhasher.hash_handle); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:75:19 [INFO] [stderr] | [INFO] [stderr] 75 | match bcrypt::BCryptHashData( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ntstatus` [INFO] [stderr] --> src/sha256/win_hasher.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | ntstatus::STATUS_SUCCESS => Ok(()), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ntstatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:90:19 [INFO] [stderr] | [INFO] [stderr] 90 | match bcrypt::BCryptFinishHash(self.hash_handle, result.as_mut_ptr(), HASH_SIZE as _, 0) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ntstatus` [INFO] [stderr] --> src/sha256/win_hasher.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | ntstatus::STATUS_SUCCESS => Ok(CryptHash::new(result)), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ntstatus` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | bcrypt::BCryptCloseAlgorithmProvider(self.alg_handle, 0); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `bcrypt` [INFO] [stderr] --> src/sha256/win_hasher.rs:103:13 [INFO] [stderr] | [INFO] [stderr] 103 | bcrypt::BCryptDestroyHash(self.hash_handle); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `bcrypt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winuser` [INFO] [stderr] --> src/wallpaper.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | winuser::SystemParametersInfoW( [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `winuser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winuser` [INFO] [stderr] --> src/wallpaper.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | winuser::SPI_SETDESKWALLPAPER, [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `winuser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stderr] --> src/wallpaper.rs:14:52 [INFO] [stderr] | [INFO] [stderr] 14 | wchar_str.as_mut_ptr() as *mut winapi::ctypes::c_void, [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winuser` [INFO] [stderr] --> src/wallpaper.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | winuser::SPIF_UPDATEINIFILE | winuser::SPIF_SENDCHANGE, [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `winuser` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winuser` [INFO] [stderr] --> src/wallpaper.rs:15:43 [INFO] [stderr] | [INFO] [stderr] 15 | winuser::SPIF_UPDATEINIFILE | winuser::SPIF_SENDCHANGE, [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `winuser` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SYSTEMTIME` in this scope [INFO] [stderr] --> src/datetime.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | let mut systime: SYSTEMTIME = unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FileTimeToSystemTime` in this scope [INFO] [stderr] --> src/datetime.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | if unsafe { FileTimeToSystemTime(ptr as *const FILETIME, &mut systime) } == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FILETIME` in this scope [INFO] [stderr] --> src/datetime.rs:10:52 [INFO] [stderr] | [INFO] [stderr] 10 | if unsafe { FileTimeToSystemTime(ptr as *const FILETIME, &mut systime) } == 0 { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `creation_time` found for struct `std::fs::Metadata` in the current scope [INFO] [stderr] --> src/main.rs:128:65 [INFO] [stderr] | [INFO] [stderr] 128 | let create_time = entry.metadata().unwrap().creation_time(); [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::fs::Metadata` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/sha256/win_hasher.rs:15:50 [INFO] [stderr] | [INFO] [stderr] 15 | let wchar_str: Vec = OsStr::new(str_id).encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/wallpaper.rs:9:57 [INFO] [stderr] | [INFO] [stderr] 9 | let mut wchar_str: Vec = path.into_os_string().encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 35 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `rust-spotlight`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1845044098d3e5dbfc36e965f774c5eecd7605832f6b7c4dcb4730be086bd4f2"` [INFO] running `"docker" "rm" "-f" "1845044098d3e5dbfc36e965f774c5eecd7605832f6b7c4dcb4730be086bd4f2"` [INFO] [stdout] 1845044098d3e5dbfc36e965f774c5eecd7605832f6b7c4dcb4730be086bd4f2