[INFO] cloning repository https://github.com/LGUG2Z/win32-display-data [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LGUG2Z/win32-display-data" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLGUG2Z%2Fwin32-display-data", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLGUG2Z%2Fwin32-display-data'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55cebdebfbd68dbd14945a1ba90f6b05b7be2893 [INFO] checking LGUG2Z/win32-display-data against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLGUG2Z%2Fwin32-display-data" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LGUG2Z/win32-display-data on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LGUG2Z/win32-display-data [INFO] finished tweaking git repo https://github.com/LGUG2Z/win32-display-data [INFO] tweaked toml for git repo https://github.com/LGUG2Z/win32-display-data written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LGUG2Z/win32-display-data 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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-numerics v0.1.1 [INFO] [stderr] Downloaded windows-core v0.60.1 [INFO] [stderr] Downloaded windows-future v0.1.1 [INFO] [stderr] Downloaded wmi v0.15.1 [INFO] [stderr] Downloaded windows-collections v0.1.1 [INFO] [stderr] Downloaded windows v0.60.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7310fc7efa04eb4c6b53f8b90ec8397e8346df52d239c40cb8f8f558bfd4fcb9 [INFO] running `Command { std: "docker" "start" "-a" "7310fc7efa04eb4c6b53f8b90ec8397e8346df52d239c40cb8f8f558bfd4fcb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7310fc7efa04eb4c6b53f8b90ec8397e8346df52d239c40cb8f8f558bfd4fcb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7310fc7efa04eb4c6b53f8b90ec8397e8346df52d239c40cb8f8f558bfd4fcb9", kill_on_drop: false }` [INFO] [stdout] 7310fc7efa04eb4c6b53f8b90ec8397e8346df52d239c40cb8f8f558bfd4fcb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d2a3c386cd61f3646b58bab5179de177acc91d0875dd11e87c3345e4d61e191 [INFO] running `Command { std: "docker" "start" "-a" "2d2a3c386cd61f3646b58bab5179de177acc91d0875dd11e87c3345e4d61e191", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Checking windows-link v0.1.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking wmi v0.15.1 [INFO] [stderr] Checking windows-strings v0.3.1 [INFO] [stderr] Checking windows-result v0.3.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Checking windows-core v0.60.1 [INFO] [stderr] Checking windows-collections v0.1.1 [INFO] [stderr] Checking windows-numerics v0.1.1 [INFO] [stderr] Checking windows-future v0.1.1 [INFO] [stderr] Checking windows v0.60.0 [INFO] [stderr] Checking win32-display-data v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/device.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::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/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/device.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::Devices::Display::DestroyPhysicalMonitor; [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/device.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Devices::Display::DisplayConfigGetDeviceInfo; [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/device.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::Devices::Display::GetDisplayConfigBufferSizes; [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/device.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::Win32::Devices::Display::GetNumberOfPhysicalMonitorsFromHMONITOR; [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/device.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::Devices::Display::GetPhysicalMonitorsFromHMONITOR; [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/device.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use windows::Win32::Devices::Display::QueryDisplayConfig; [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/device.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use windows::Win32::Devices::Display::DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME; [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/device.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use windows::Win32::Devices::Display::DISPLAYCONFIG_MODE_INFO; [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/device.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use windows::Win32::Devices::Display::DISPLAYCONFIG_MODE_INFO_TYPE_TARGET; [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/device.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use windows::Win32::Devices::Display::DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INTERNAL; [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/device.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use windows::Win32::Devices::Display::DISPLAYCONFIG_PATH_INFO; [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/device.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use windows::Win32::Devices::Display::DISPLAYCONFIG_TARGET_DEVICE_NAME; [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/device.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | use windows::Win32::Devices::Display::DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY; [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/device.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use windows::Win32::Devices::Display::PHYSICAL_MONITOR; [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/device.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | use windows::Win32::Devices::Display::QDC_ONLY_ACTIVE_PATHS; [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/device.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | use windows::Win32::Foundation::CloseHandle; [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/device.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | use windows::Win32::Foundation::ERROR_ACCESS_DENIED; [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/device.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | use windows::Win32::Foundation::ERROR_SUCCESS; [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/device.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | 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/device.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | use windows::Win32::Foundation::LPARAM; [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/device.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | use windows::Win32::Foundation::RECT; [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/device.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use windows::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/device.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | use windows::Win32::Graphics::Gdi::EnumDisplayDevicesW; [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/device.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | use windows::Win32::Graphics::Gdi::EnumDisplayMonitors; [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/device.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | use windows::Win32::Graphics::Gdi::GetMonitorInfoW; [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/device.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | use windows::Win32::Graphics::Gdi::DISPLAY_DEVICEW; [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/device.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | use windows::Win32::Graphics::Gdi::DISPLAY_DEVICE_ACTIVE; [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/device.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | use windows::Win32::Graphics::Gdi::HDC; [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/device.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | use windows::Win32::Graphics::Gdi::HMONITOR; [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/device.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | use windows::Win32::Graphics::Gdi::MONITORINFO; [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/device.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | use windows::Win32::Graphics::Gdi::MONITORINFOEXW; [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/device.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | use windows::Win32::Storage::FileSystem::CreateFileW; [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/device.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | use windows::Win32::Storage::FileSystem::FILE_GENERIC_READ; [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/device.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use windows::Win32::Storage::FileSystem::FILE_GENERIC_WRITE; [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/device.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | use windows::Win32::Storage::FileSystem::FILE_SHARE_READ; [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/device.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | use windows::Win32::Storage::FileSystem::FILE_SHARE_WRITE; [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/device.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | use windows::Win32::Storage::FileSystem::OPEN_EXISTING; [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/device.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | use windows::Win32::UI::WindowsAndMessaging::EDD_GET_DEVICE_INTERFACE_NAME; [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/device.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::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/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/device.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::Devices::Display::DestroyPhysicalMonitor; [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/device.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Devices::Display::DisplayConfigGetDeviceInfo; [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/device.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::Devices::Display::GetDisplayConfigBufferSizes; [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/device.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::Win32::Devices::Display::GetNumberOfPhysicalMonitorsFromHMONITOR; [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/device.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::Devices::Display::GetPhysicalMonitorsFromHMONITOR; [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/device.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use windows::Win32::Devices::Display::QueryDisplayConfig; [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/device.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use windows::Win32::Devices::Display::DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME; [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/device.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use windows::Win32::Devices::Display::DISPLAYCONFIG_MODE_INFO; [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/device.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use windows::Win32::Devices::Display::DISPLAYCONFIG_MODE_INFO_TYPE_TARGET; [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/device.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use windows::Win32::Devices::Display::DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INTERNAL; [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/device.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use windows::Win32::Devices::Display::DISPLAYCONFIG_PATH_INFO; [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/device.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use windows::Win32::Devices::Display::DISPLAYCONFIG_TARGET_DEVICE_NAME; [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/device.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | use windows::Win32::Devices::Display::DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY; [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/device.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use windows::Win32::Devices::Display::PHYSICAL_MONITOR; [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/device.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | use windows::Win32::Devices::Display::QDC_ONLY_ACTIVE_PATHS; [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/device.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | use windows::Win32::Foundation::CloseHandle; [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/device.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | use windows::Win32::Foundation::ERROR_ACCESS_DENIED; [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/device.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | use windows::Win32::Foundation::ERROR_SUCCESS; [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/device.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | 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/device.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | use windows::Win32::Foundation::LPARAM; [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/device.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | use windows::Win32::Foundation::RECT; [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/device.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use windows::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/device.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | use windows::Win32::Graphics::Gdi::EnumDisplayDevicesW; [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/device.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | use windows::Win32::Graphics::Gdi::EnumDisplayMonitors; [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/device.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | use windows::Win32::Graphics::Gdi::GetMonitorInfoW; [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/device.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | use windows::Win32::Graphics::Gdi::DISPLAY_DEVICEW; [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/device.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | use windows::Win32::Graphics::Gdi::DISPLAY_DEVICE_ACTIVE; [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/device.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | use windows::Win32::Graphics::Gdi::HDC; [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/device.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | use windows::Win32::Graphics::Gdi::HMONITOR; [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/device.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | use windows::Win32::Graphics::Gdi::MONITORINFO; [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/device.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | use windows::Win32::Graphics::Gdi::MONITORINFOEXW; [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/device.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | use windows::Win32::Storage::FileSystem::CreateFileW; [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/device.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | use windows::Win32::Storage::FileSystem::FILE_GENERIC_READ; [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/device.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use windows::Win32::Storage::FileSystem::FILE_GENERIC_WRITE; [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/device.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | use windows::Win32::Storage::FileSystem::FILE_SHARE_READ; [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/device.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | use windows::Win32::Storage::FileSystem::FILE_SHARE_WRITE; [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/device.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | use windows::Win32::Storage::FileSystem::OPEN_EXISTING; [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/device.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | use windows::Win32::UI::WindowsAndMessaging::EDD_GET_DEVICE_INTERFACE_NAME; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/device.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wmi::COMLibrary` [INFO] [stdout] --> src/device.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use wmi::COMLibrary; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `COMLibrary` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wmi::WMIConnection` [INFO] [stdout] --> src/device.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use wmi::WMIConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `WMIConnection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::core::Error as WinError; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/device.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wmi::COMLibrary` [INFO] [stdout] --> src/device.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use wmi::COMLibrary; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `COMLibrary` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wmi::WMIConnection` [INFO] [stdout] --> src/device.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use wmi::WMIConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `WMIConnection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::core::Error as WinError; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `StateFlags` on type `&_` [INFO] [stdout] --> src/device.rs:474:42 [INFO] [stdout] | [INFO] [stdout] 474 | .filter(|device| flag_set(device.StateFlags, DISPLAY_DEVICE_ACTIVE)) [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `StateFlags` on type `&_` [INFO] [stdout] --> src/device.rs:474:42 [INFO] [stdout] | [INFO] [stdout] 474 | .filter(|device| flag_set(device.StateFlags, DISPLAY_DEVICE_ACTIVE)) [INFO] [stdout] | ^^^^^^^^^^ unknown field [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/device.rs:557:15 [INFO] [stdout] | [INFO] [stdout] 557 | OsString::from_wide(truncated).to_string_lossy().into() [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/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 557 - OsString::from_wide(truncated).to_string_lossy().into() [INFO] [stdout] 557 + OsString::from_iter(truncated).to_string_lossy().into() [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/device.rs:557:15 [INFO] [stdout] | [INFO] [stdout] 557 | OsString::from_wide(truncated).to_string_lossy().into() [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/5e7498e6740d105521420ac0ab146e2c7a21596d/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 557 - OsString::from_wide(truncated).to_string_lossy().into() [INFO] [stdout] 557 + OsString::from_iter(truncated).to_string_lossy().into() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win32-display-data` (lib) due to 45 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `win32-display-data` (lib test) due to 45 previous errors [INFO] running `Command { std: "docker" "inspect" "2d2a3c386cd61f3646b58bab5179de177acc91d0875dd11e87c3345e4d61e191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d2a3c386cd61f3646b58bab5179de177acc91d0875dd11e87c3345e4d61e191", kill_on_drop: false }` [INFO] [stdout] 2d2a3c386cd61f3646b58bab5179de177acc91d0875dd11e87c3345e4d61e191