[INFO] cloning repository https://github.com/vassjozsef/wanapi-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vassjozsef/wanapi-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvassjozsef%2Fwanapi-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvassjozsef%2Fwanapi-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d91c1684aaa3d4866596b78d79ba3fee3cc75a21 [INFO] testing vassjozsef/wanapi-rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvassjozsef%2Fwanapi-rust" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vassjozsef/wanapi-rust 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/vassjozsef/wanapi-rust [INFO] finished tweaking git repo https://github.com/vassjozsef/wanapi-rust [INFO] tweaked toml for git repo https://github.com/vassjozsef/wanapi-rust written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/vassjozsef/wanapi-rust 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] [stderr] Updating git repository `https://github.com/discord/ari` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded widestring v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] a8f7b2d9e75831e363ddf957cf05ccead482ab5ef0d5320099dc4427978b8c05 [INFO] running `Command { std: "docker" "start" "-a" "a8f7b2d9e75831e363ddf957cf05ccead482ab5ef0d5320099dc4427978b8c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8f7b2d9e75831e363ddf957cf05ccead482ab5ef0d5320099dc4427978b8c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8f7b2d9e75831e363ddf957cf05ccead482ab5ef0d5320099dc4427978b8c05", kill_on_drop: false }` [INFO] [stdout] a8f7b2d9e75831e363ddf957cf05ccead482ab5ef0d5320099dc4427978b8c05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 805179b4230aeece10f71dc561e9fb31883a0ad1b5bd013c8559321e23884356 [INFO] running `Command { std: "docker" "start" "-a" "805179b4230aeece10f71dc561e9fb31883a0ad1b5bd013c8559321e23884356", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling ari v0.0.5 (https://github.com/discord/ari?branch=remove-nightly-features#be60f32a) [INFO] [stderr] Compiling winapi-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling widestring v0.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winrt` in `winapi` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::winrt::roapi::RoGetActivationFactory; [INFO] [stdout] | ^^^^^ could not find `winrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ari::os::win` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use ari::os::win::ComPtr; [INFO] [stdout] | ^^^ could not find `win` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | shared::{ [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/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | um::combaseapi::CoInitializeEx, [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/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | um::dwmapi::DwmGetWindowAttribute, [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/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::objbase::COINIT_MULTITHREADED, [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/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winrt` in `winapi` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | winrt::{inspectable::IInspectable, roapi::RoActivateInstance}, [INFO] [stdout] | ^^^^^ could not find `winrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/dispatcher.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::winerror::HRESULT; [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/dispatcher.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::unknwnbase::{IUnknown, IUnknownVtbl}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winrt` in `winapi` [INFO] [stdout] --> src/dispatcher.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::winrt::inspectable::{IInspectable, IInspectableVtbl}; [INFO] [stdout] | ^^^^^ could not find `winrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/graphics.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::guiddef::REFIID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/graphics.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/graphics.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::winerror::HRESULT; [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/graphics.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::unknwnbase::{IUnknown, IUnknownVtbl}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winrt` in `winapi` [INFO] [stdout] --> src/graphics.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::winrt::hstring::HSTRING; [INFO] [stdout] | ^^^^^ could not find `winrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winrt` in `winapi` [INFO] [stdout] --> src/graphics.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::winrt::inspectable::{IInspectable, IInspectableVtbl}; [INFO] [stdout] | ^^^^^ could not find `winrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::RIDL` [INFO] [stdout] --> src/dispatcher.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::RIDL; [INFO] [stdout] | ^^^^^^^^^^^^ no `RIDL` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::winerror::{HRESULT, S_OK}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winrt` in `winapi` [INFO] [stdout] --> src/util.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::winrt::hstring::HSTRING; [INFO] [stdout] | ^^^^^ could not find `winrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winrt` in `winapi` [INFO] [stdout] --> src/util.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::winrt::inspectable::IInspectable; [INFO] [stdout] | ^^^^^ could not find `winrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winrt` in `winapi` [INFO] [stdout] --> src/util.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::winrt::winstring::{WindowsCreateString, WindowsGetStringRawBuffer}; [INFO] [stdout] | ^^^^^ could not find `winrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::RIDL` [INFO] [stdout] --> src/graphics.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::RIDL; [INFO] [stdout] | ^^^^^^^^^^^^ no `RIDL` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dispatcher::IDispatcherQueueController` [INFO] [stdout] --> src/main.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | CreateDispatcherQueueController, DispatcherQueueOptions, IDispatcherQueueController, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `IDispatcherQueueController` in `dispatcher` [INFO] [stdout] | help: a similar name exists in the module: `CreateDispatcherQueueController` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::graphics::IDirect3D11CaptureFramePool`, `crate::graphics::IDirect3D11CaptureFramePoolStatics`, `crate::graphics::IGraphicsCaptureItem`, `crate::graphics::IGraphicsCaptureItemInterop`, `crate::graphics::IGraphicsCaptureSession` [INFO] [stdout] --> src/main.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | B8G8R8A8UIntNormalized, IDirect3D11CaptureFramePool, IDirect3D11CaptureFramePoolStatics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `IDirect3D11CaptureFramePoolStatics` in `graphics` [INFO] [stdout] | | [INFO] [stdout] | no `IDirect3D11CaptureFramePool` in `graphics` [INFO] [stdout] 40 | IGraphicsCaptureItem, IGraphicsCaptureItemInterop, IGraphicsCaptureSession, SizeInt32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `IGraphicsCaptureSession` in `graphics` [INFO] [stdout] | | | [INFO] [stdout] | | no `IGraphicsCaptureItemInterop` in `graphics` [INFO] [stdout] | no `IGraphicsCaptureItem` in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `RIDL` [INFO] [stdout] --> src/dispatcher.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | RIDL! {#[uuid(0x603e88e4, 0xa338, 0x4ffe, 0xa4, 0x57, 0xa5, 0xcf, 0xb9, 0xce, 0xb8, 0x99)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `RIDL` [INFO] [stdout] --> src/dispatcher.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | RIDL! {#[uuid(0x22f34e66, 0x50db, 0x4e36, 0xa9, 0x8d, 0x61, 0xc0, 0x1b, 0x38, 0x4d, 0x20)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `RIDL` [INFO] [stdout] --> src/graphics.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | RIDL! {#[uuid(0x3628e81b, 0x3cac, 0x4c60, 0xb7, 0xf4, 0x23, 0xce, 0x0e, 0x0c, 0x33, 0x56)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `RIDL` [INFO] [stdout] --> src/graphics.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | RIDL! {#[uuid(0x79c3f95b, 0x31f7, 0x4ec2, 0xa4, 0x64, 0x63, 0x2e, 0xf5, 0xd3, 0x07, 0x60)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `RIDL` [INFO] [stdout] --> src/graphics.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | RIDL! {#[uuid(0x7784056a, 0x67aa, 0x4d53, 0xae, 0x54, 0x10, 0x88, 0xd5, 0xa8, 0xca, 0x21)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `RIDL` [INFO] [stdout] --> src/graphics.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | RIDL! {#[uuid(0x24eb6d22, 0x1975, 0x422e, 0x82, 0xe7, 0x78, 0x0d, 0xbd, 0x8d, 0xdf, 0x24)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `RIDL` [INFO] [stdout] --> src/graphics.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | RIDL! {#[uuid(0x814e42a9, 0xf70f, 0x4ad7, 0x93, 0x9b, 0xfd, 0xdc, 0xc6, 0xeb, 0x88, 0x0d)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDispatcherQueueController` in this scope [INFO] [stdout] --> src/dispatcher.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | dispatcherqueuecontroller: *mut *mut IDispatcherQueueController, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/dispatcher.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/util.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn from(hr: HRESULT) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HSTRING` in this scope [INFO] [stdout] --> src/util.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn to_hstring(value: &str) -> Result { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WindowsCreateString` in this scope [INFO] [stdout] --> src/util.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | WindowsCreateString(name.as_mut_ptr(), name.len() as u32, &mut hstr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HSTRING` in this scope [INFO] [stdout] --> src/util.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_hstring(value: HSTRING) -> String { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WindowsGetStringRawBuffer` in this scope [INFO] [stdout] --> src/util.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let ptr = unsafe { WindowsGetStringRawBuffer(value, &mut len) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IInspectable` in this scope [INFO] [stdout] --> src/util.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn print_runtime_class_name(class: &IInspectable) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | D3D_FEATURE_LEVEL_11_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_0` in this scope [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | D3D_FEATURE_LEVEL_11_0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_1` in this scope [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | D3D_FEATURE_LEVEL_10_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_10_0` in this scope [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | D3D_FEATURE_LEVEL_10_0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_3` in this scope [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | D3D_FEATURE_LEVEL_9_3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_2` in this scope [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | D3D_FEATURE_LEVEL_9_2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_9_1` in this scope [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | D3D_FEATURE_LEVEL_9_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | WinResult::from(unsafe { CoInitializeEx(core::ptr::null_mut(), COINIT_MULTITHREADED) })?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_MULTITHREADED` in this scope [INFO] [stdout] --> src/main.rs:65:68 [INFO] [stdout] | [INFO] [stdout] 65 | WinResult::from(unsafe { CoInitializeEx(core::ptr::null_mut(), COINIT_MULTITHREADED) })?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RoActivateInstance` in this scope [INFO] [stdout] --> src/main.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | WinResult::from(unsafe { RoActivateInstance(name, &mut instance) })?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | EnumWindows( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:83:49 [INFO] [stdout] | [INFO] [stdout] 83 | &mut windows as *mut Vec as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | if res == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RoGetActivationFactory` in this scope [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | RoGetActivationFactory(name, &IGraphicsCaptureItemInterop::uuidof(), &mut ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIDevice` in this scope [INFO] [stdout] --> src/main.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 120 | let dxgi_device = device.query::()?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RoGetActivationFactory` in this scope [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | RoGetActivationFactory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IInspectable` in this scope [INFO] [stdout] --> src/main.rs:169:35 [INFO] [stdout] | [INFO] [stdout] 169 | graphicsdevice: *mut *mut IInspectable, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/main.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device` in this scope [INFO] [stdout] --> src/main.rs:188:41 [INFO] [stdout] | [INFO] [stdout] 188 | fn create_d3d_device() -> Result, i32> { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope [INFO] [stdout] --> src/main.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_DRIVER_TYPE_HARDWARE` in this scope [INFO] [stdout] --> src/main.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | let driver_type = D3D_DRIVER_TYPE_HARDWARE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDevice` in this scope [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | D3D11CreateDevice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | D3D11_SDK_VERSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | extern "system" fn enum_window(handle: HWND, data: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:219:52 [INFO] [stdout] | [INFO] [stdout] 219 | extern "system" fn enum_window(handle: HWND, data: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:219:63 [INFO] [stdout] | [INFO] [stdout] 219 | extern "system" fn enum_window(handle: HWND, data: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetShellWindow` in this scope [INFO] [stdout] --> src/main.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | let shell_window = unsafe { GetShellWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/main.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | if IsWindowVisible(handle) == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/main.rs:225:39 [INFO] [stdout] | [INFO] [stdout] 225 | if IsWindowVisible(handle) == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAncestor` in this scope [INFO] [stdout] --> src/main.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if GetAncestor(handle, GA_ROOT) != handle { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GA_ROOT` in this scope [INFO] [stdout] --> src/main.rs:231:32 [INFO] [stdout] | [INFO] [stdout] 231 | if GetAncestor(handle, GA_ROOT) != handle { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:232:20 [INFO] [stdout] | [INFO] [stdout] 232 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongA` in this scope [INFO] [stdout] --> src/main.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | let style = GetWindowLongA(handle, GWL_STYLE) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/main.rs:237:44 [INFO] [stdout] | [INFO] [stdout] 237 | let style = GetWindowLongA(handle, GWL_STYLE) as u32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_DISABLED` in this scope [INFO] [stdout] --> src/main.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | if style & WS_DISABLED == WS_DISABLED { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_DISABLED` in this scope [INFO] [stdout] --> src/main.rs:238:35 [INFO] [stdout] | [INFO] [stdout] 238 | if style & WS_DISABLED == WS_DISABLED { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope [INFO] [stdout] --> src/main.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | let hr = DwmGetWindowAttribute(handle, DWMWA_CLOAKED, ptr, mem::size_of::() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWMWA_CLOAKED` in this scope [INFO] [stdout] --> src/main.rs:246:48 [INFO] [stdout] | [INFO] [stdout] 246 | let hr = DwmGetWindowAttribute(handle, DWMWA_CLOAKED, ptr, mem::size_of::() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/main.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 247 | if hr == S_OK && cloaked as u32 == DWM_CLOAKED_SHELL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWM_CLOAKED_SHELL` in this scope [INFO] [stdout] --> src/main.rs:247:44 [INFO] [stdout] | [INFO] [stdout] 247 | if hr == S_OK && cloaked as u32 == DWM_CLOAKED_SHELL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/main.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | let len = GetWindowTextW(handle, text.as_mut_ptr(), text.len() as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0699]: the type of this value must be known to call a method on a raw pointer on it [INFO] [stdout] --> src/main.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 70 | let string_map = unsafe { instance.as_ref().unwrap() }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0699]: the type of this value must be known to call a method on a raw pointer on it [INFO] [stdout] --> src/main.rs:128:45 [INFO] [stdout] | [INFO] [stdout] 128 | let direct3d_device = unsafe { instance.as_ref().unwrap() }; [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/main.rs:258:30 [INFO] [stdout] | [INFO] [stdout] 258 | let text = OsString::from_wide(&text[..len as usize]); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 93 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0699. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winapi-rust` due to 94 previous errors [INFO] running `Command { std: "docker" "inspect" "805179b4230aeece10f71dc561e9fb31883a0ad1b5bd013c8559321e23884356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805179b4230aeece10f71dc561e9fb31883a0ad1b5bd013c8559321e23884356", kill_on_drop: false }` [INFO] [stdout] 805179b4230aeece10f71dc561e9fb31883a0ad1b5bd013c8559321e23884356