[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] testing JRF63/windows-spotlight against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJRF63%2Fwindows-spotlight" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JRF63/windows-spotlight on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-16/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf76a24613e2eb68a53204f08896cc34ddee8d21eb5e017d602849e50a8acaab [INFO] running `Command { std: "docker" "start" "-a" "cf76a24613e2eb68a53204f08896cc34ddee8d21eb5e017d602849e50a8acaab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf76a24613e2eb68a53204f08896cc34ddee8d21eb5e017d602849e50a8acaab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf76a24613e2eb68a53204f08896cc34ddee8d21eb5e017d602849e50a8acaab", kill_on_drop: false }` [INFO] [stdout] cf76a24613e2eb68a53204f08896cc34ddee8d21eb5e017d602849e50a8acaab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c4add94c8e73e418885dd528ce4d1b298c449c47e62c2231ef52a9b3051c1a8 [INFO] running `Command { std: "docker" "start" "-a" "9c4add94c8e73e418885dd528ce4d1b298c449c47e62c2231ef52a9b3051c1a8", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling 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: 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: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: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[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 `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[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: 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] [stderr] error: could not compile `rust-spotlight` due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "9c4add94c8e73e418885dd528ce4d1b298c449c47e62c2231ef52a9b3051c1a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4add94c8e73e418885dd528ce4d1b298c449c47e62c2231ef52a9b3051c1a8", kill_on_drop: false }` [INFO] [stdout] 9c4add94c8e73e418885dd528ce4d1b298c449c47e62c2231ef52a9b3051c1a8