[INFO] cloning repository https://github.com/Hellager/wholock-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hellager/wholock-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHellager%2Fwholock-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHellager%2Fwholock-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a81660a5181348c89f65fde72808adb45e24fa3a [INFO] checking Hellager/wholock-rs against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHellager%2Fwholock-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hellager/wholock-rs [INFO] finished tweaking git repo https://github.com/Hellager/wholock-rs [INFO] tweaked toml for git repo https://github.com/Hellager/wholock-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hellager/wholock-rs on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hellager/wholock-rs 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.cfg(windows).runner [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Hellager/wholock-rs against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHellager%2Fwholock-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hellager/wholock-rs [INFO] finished tweaking git repo https://github.com/Hellager/wholock-rs [INFO] tweaked toml for git repo https://github.com/Hellager/wholock-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hellager/wholock-rs on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hellager/wholock-rs 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.cfg(windows).runner [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-log v0.2.17 [INFO] [stderr] Downloaded test-log-macros v0.2.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22a419bee33fa2812184f8dd49715b212418cdce337fa99b0c7d18c2dfebe6f0 [INFO] running `Command { std: "docker" "start" "-a" "22a419bee33fa2812184f8dd49715b212418cdce337fa99b0c7d18c2dfebe6f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22a419bee33fa2812184f8dd49715b212418cdce337fa99b0c7d18c2dfebe6f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a419bee33fa2812184f8dd49715b212418cdce337fa99b0c7d18c2dfebe6f0", kill_on_drop: false }` [INFO] [stdout] 22a419bee33fa2812184f8dd49715b212418cdce337fa99b0c7d18c2dfebe6f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51fad72c6d644e04d5f741fb5ca298d56924f90a0099fe93e11e574c6afea77e [INFO] running `Command { std: "docker" "start" "-a" "51fad72c6d644e04d5f741fb5ca298d56924f90a0099fe93e11e574c6afea77e", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.cfg(windows).runner [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking sysinfo v0.33.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Checking test-log v0.2.17 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking wholock v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot 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]: cannot 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]: cannot 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/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/os/mod.rs:120:9 [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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/os/mod.rs:120:9 [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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot find `windows` in `os` [INFO] [stdout] --> src/interop.rs:388:18 [INFO] [stdout] | [INFO] [stdout] 388 | use std::os::windows::io::AsRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/interop.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | use windows::Win32::System::Threading::GetCurrentProcess; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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[E0433]: cannot 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/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/ffi/os_str.rs:141:4 [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: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/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/ffi/os_str.rs:141:4 [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/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/ffi/os_str.rs:141:4 [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] 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/9961e55b3687a6d0b2bab4af0e5e81494b09be81/library/std/src/ffi/os_str.rs:141:4 [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] error[E0599]: no method named `as_raw_handle` found for struct `File` in the current scope [INFO] [stdout] --> src/interop.rs:443:34 [INFO] [stdout] | [INFO] [stdout] 443 | let handle = HANDLE(file.as_raw_handle() as _); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 443 - let handle = HANDLE(file.as_raw_handle() as _); [INFO] [stdout] 443 + let handle = HANDLE(file.as_raw_fd() as _); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wholock` (lib) due to 29 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wholock` (lib test) due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "51fad72c6d644e04d5f741fb5ca298d56924f90a0099fe93e11e574c6afea77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51fad72c6d644e04d5f741fb5ca298d56924f90a0099fe93e11e574c6afea77e", kill_on_drop: false }` [INFO] [stdout] 51fad72c6d644e04d5f741fb5ca298d56924f90a0099fe93e11e574c6afea77e