[INFO] fetching crate wholock 0.0.1... [INFO] testing wholock-0.0.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate wholock 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate wholock 0.0.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wholock 0.0.1 [INFO] tweaked toml for crates.io crate wholock 0.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wholock 0.0.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wholock 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6559686b90ddf7177d0d47175edfb44d5c1faa252313b955d63cabfd598a6091 [INFO] running `Command { std: "docker" "start" "-a" "6559686b90ddf7177d0d47175edfb44d5c1faa252313b955d63cabfd598a6091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6559686b90ddf7177d0d47175edfb44d5c1faa252313b955d63cabfd598a6091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6559686b90ddf7177d0d47175edfb44d5c1faa252313b955d63cabfd598a6091", kill_on_drop: false }` [INFO] [stdout] 6559686b90ddf7177d0d47175edfb44d5c1faa252313b955d63cabfd598a6091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bbcad00e932c238bf3e68427edf32991ecd28466b0b49492a809ee12e5f1473 [INFO] running `Command { std: "docker" "start" "-a" "5bbcad00e932c238bf3e68427edf32991ecd28466b0b49492a809ee12e5f1473", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling test-log v0.2.17 [INFO] [stderr] Compiling wholock v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/error.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Foundation::WIN32_ERROR; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/error.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core::Error as WindowsError; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/error.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | use windows::Win32::System::Diagnostics::Debug::{FormatMessageW, FORMAT_MESSAGE_FROM_SYSTEM}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/interop.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | windows::ffi::OsStringExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/error.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | use windows::core::PWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Foundation::HANDLE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::Foundation::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use windows::Win32::Security::{GetTokenInformation, TokenUser, TOKEN_QUERY, TOKEN_USER}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use windows::Win32::Security::{LookupAccountSidW, SID_NAME_USE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use windows::Win32::Storage::FileSystem::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use windows::Win32::System::Threading::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Wdk` in `windows` [INFO] [stdout] --> src/interop.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Wdk::System::SystemInformation::{NtQuerySystemInformation, SYSTEM_INFORMATION_CLASS}, [INFO] [stdout] | ^^^ could not find `Wdk` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Win32::Foundation::WIN32_ERROR, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::Foundation::{CloseHandle, HANDLE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Storage::FileSystem::{ReOpenFile, FILE_FLAGS_AND_ATTRIBUTES, FILE_SHARE_MODE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::System::Threading::{GetCurrentProcess, OpenProcess, TerminateProcess}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | use windows::Win32::System::Threading::PROCESS_TERMINATE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/interop.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::core::{PCWSTR, PWSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | current_process: windows::Win32::Foundation::HANDLE, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:158:36 [INFO] [stdout] | [INFO] [stdout] 158 | handle_owner_process: windows::Win32::Foundation::HANDLE, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> WholockResult { [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:161:37 [INFO] [stdout] | [INFO] [stdout] 161 | let mut target_handle: windows::Win32::Foundation::HANDLE = [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | windows::Win32::Foundation::HANDLE(ptr::null_mut()); [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | windows::Win32::Foundation::HANDLE(handle.handle_value()), [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:178:41 [INFO] [stdout] | [INFO] [stdout] 178 | let err = unsafe { windows::Win32::Foundation::GetLastError() }; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:370:22 [INFO] [stdout] | [INFO] [stdout] 370 | windows::Win32::System::Threading::PROCESS_NAME_FORMAT(0), [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | let current_process: windows::Win32::Foundation::HANDLE = unsafe { GetCurrentProcess() }; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/interop.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | let file_path = OsString::from_wide(&buf); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 204 - let file_path = OsString::from_wide(&buf); [INFO] [stdout] 204 + let file_path = OsString::from_iter(&buf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/interop.rs:339:28 [INFO] [stdout] | [INFO] [stdout] 339 | let os_str = OsString::from_wide(&buffer[..len]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 339 - let os_str = OsString::from_wide(&buffer[..len]); [INFO] [stdout] 339 + let os_str = OsString::from_iter(&buffer[..len]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `wholock` (lib) due to 29 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5bbcad00e932c238bf3e68427edf32991ecd28466b0b49492a809ee12e5f1473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bbcad00e932c238bf3e68427edf32991ecd28466b0b49492a809ee12e5f1473", kill_on_drop: false }` [INFO] [stdout] 5bbcad00e932c238bf3e68427edf32991ecd28466b0b49492a809ee12e5f1473