[INFO] updating cached repository https://github.com/matteomeli/adamant [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 49a9ea01242529aea2f2e93c10ceef282f08476d [INFO] checking matteomeli/adamant against master#446e5e57b667c841ba3ebb4b41b44fb98bd3af4b for pr-65294 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatteomeli%2Fadamant" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matteomeli/adamant on toolchain 446e5e57b667c841ba3ebb4b41b44fb98bd3af4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/matteomeli/adamant [INFO] finished tweaking git repo https://github.com/matteomeli/adamant [INFO] tweaked toml for git repo https://github.com/matteomeli/adamant written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/matteomeli/adamant already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+446e5e57b667c841ba3ebb4b41b44fb98bd3af4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 72c289d155da93285f6753cff130da9441d1b39772bb1805096011776708ca85 [INFO] running `"docker" "start" "-a" "72c289d155da93285f6753cff130da9441d1b39772bb1805096011776708ca85"` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking aho-corasick v0.7.4 [INFO] [stderr] Checking regex-syntax v0.6.10 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking regex v1.2.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.3 [INFO] [stderr] Checking adamant v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/com.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::winerror::FAILED; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/com.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/com.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/com.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/graphics_core.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::{ [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/graphics_core.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::{ [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/com.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::winerror::FAILED; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/com.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/com.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/graphics_core.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::{d3d12, d3d12sdklayers, d3dcommon, dxgidebug, synchapi, winbase, winnt}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/graphics_core.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/graphics_core.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/lib.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::dxgiformat; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/lib.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::d3dcommon; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/com.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/graphics_core.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::{ [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/graphics_core.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::{ [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/graphics_core.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::{d3d12, d3d12sdklayers, d3dcommon, dxgidebug, synchapi, winbase, winnt}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/graphics_core.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/graphics_core.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/lib.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::dxgiformat; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/lib.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::d3dcommon; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OsStringExt` [INFO] [stderr] --> src/graphics_core.rs:624:45 [INFO] [stderr] | [INFO] [stderr] 624 | let name = ::from_wide(&desc.Description[..len]); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OsStringExt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/com.rs:43:41 [INFO] [stderr] | [INFO] [stderr] 43 | pub unsafe fn as_unknown(&self) -> &IUnknown { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/com.rs:45:27 [INFO] [stderr] | [INFO] [stderr] 45 | &*(self.0 as *mut IUnknown) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/com.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/graphics_core.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | window_handle: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:89:24 [INFO] [stderr] | [INFO] [stderr] 89 | if FAILED(hr) || allow_tearing_feature == minwindef::FALSE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:159:16 [INFO] [stderr] | [INFO] [stderr] 159 | if SUCCEEDED(device.CheckFeatureSupport( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:284:16 [INFO] [stderr] | [INFO] [stderr] 284 | if FAILED(self.command_allocators[current_index].Reset()) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:290:16 [INFO] [stderr] | [INFO] [stderr] 290 | if FAILED(self.command_list.Reset( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:359:16 [INFO] [stderr] | [INFO] [stderr] 359 | if FAILED(self.command_list.Close()) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:390:23 [INFO] [stderr] | [INFO] [stderr] 390 | } else if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:398:24 [INFO] [stderr] | [INFO] [stderr] 398 | if FAILED(dxgi1_3::CreateDXGIFactory2( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:435:20 [INFO] [stderr] | [INFO] [stderr] 435 | if SUCCEEDED(d3d12::D3D12GetDebugInterface( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:450:20 [INFO] [stderr] | [INFO] [stderr] 450 | if SUCCEEDED(dxgi1_3::DXGIGetDebugInterface1( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/graphics_core.rs:489:38 [INFO] [stderr] | [INFO] [stderr] 489 | fn create_factory(window_handle: HWND, flags: u32) -> ComPtr { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:493:16 [INFO] [stderr] | [INFO] [stderr] 493 | if SUCCEEDED(dxgi1_3::CreateDXGIFactory2( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:506:16 [INFO] [stderr] | [INFO] [stderr] 506 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:524:24 [INFO] [stderr] | [INFO] [stderr] 524 | if SUCCEEDED(factory6.EnumAdapterByGpuPreference( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:533:28 [INFO] [stderr] | [INFO] [stderr] 533 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:542:28 [INFO] [stderr] | [INFO] [stderr] 542 | if SUCCEEDED(d3d12::D3D12CreateDevice( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:558:23 [INFO] [stderr] | [INFO] [stderr] 558 | while SUCCEEDED(factory.EnumAdapters1( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:566:24 [INFO] [stderr] | [INFO] [stderr] 566 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:575:24 [INFO] [stderr] | [INFO] [stderr] 575 | if SUCCEEDED(d3d12::D3D12CreateDevice( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:588:20 [INFO] [stderr] | [INFO] [stderr] 588 | if FAILED(factory.EnumAdapters1( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:599:24 [INFO] [stderr] | [INFO] [stderr] 599 | && FAILED( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:619:20 [INFO] [stderr] | [INFO] [stderr] 619 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:647:16 [INFO] [stderr] | [INFO] [stderr] 647 | if SUCCEEDED(d3d12::D3D12CreateDevice( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:683:16 [INFO] [stderr] | [INFO] [stderr] 683 | if SUCCEEDED(device.CreateCommandQueue( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:719:16 [INFO] [stderr] | [INFO] [stderr] 719 | if SUCCEEDED(device.CreateDescriptorHeap( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:754:16 [INFO] [stderr] | [INFO] [stderr] 754 | if SUCCEEDED(device.CreateDescriptorHeap( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:790:20 [INFO] [stderr] | [INFO] [stderr] 790 | if SUCCEEDED(device.CreateCommandAllocator( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:824:16 [INFO] [stderr] | [INFO] [stderr] 824 | if SUCCEEDED(device.CreateCommandList( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:837:16 [INFO] [stderr] | [INFO] [stderr] 837 | if FAILED(command_list.Close()) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:858:16 [INFO] [stderr] | [INFO] [stderr] 858 | if SUCCEEDED(device.CreateFence( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/graphics_core.rs:900:24 [INFO] [stderr] | [INFO] [stderr] 900 | window_handle: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:934:16 [INFO] [stderr] | [INFO] [stderr] 934 | if SUCCEEDED(factory.CreateSwapChainForHwnd( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:963:16 [INFO] [stderr] | [INFO] [stderr] 963 | if SUCCEEDED(swapchain.GetContainingOutput(&mut output.as_raw())) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:966:24 [INFO] [stderr] | [INFO] [stderr] 966 | if FAILED(output6.GetDesc1(&mut desc)) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:996:16 [INFO] [stderr] | [INFO] [stderr] 996 | if SUCCEEDED(swapchain.CheckColorSpaceSupport(color_space, &mut color_space_support)) [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:999:20 [INFO] [stderr] | [INFO] [stderr] 999 | && FAILED(swapchain.SetColorSpace1(color_space)) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1023:20 [INFO] [stderr] | [INFO] [stderr] 1023 | if SUCCEEDED(swapchain.GetBuffer( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1103:16 [INFO] [stderr] | [INFO] [stderr] 1103 | if SUCCEEDED(device.CreateCommittedResource( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1157:16 [INFO] [stderr] | [INFO] [stderr] 1157 | if FAILED( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1169:20 [INFO] [stderr] | [INFO] [stderr] 1169 | if FAILED(self.fence.SetEventOnCompletion( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1228:23 [INFO] [stderr] | [INFO] [stderr] 1228 | } else if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1282:16 [INFO] [stderr] | [INFO] [stderr] 1282 | if SUCCEEDED(self.command_queue.Signal(self.fence.as_raw(), fence_value)) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1284:20 [INFO] [stderr] | [INFO] [stderr] 1284 | if SUCCEEDED( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1386:24 [INFO] [stderr] | [INFO] [stderr] 1386 | if FAILED(hr) || allow_tearing_feature == minwindef::FALSE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1456:16 [INFO] [stderr] | [INFO] [stderr] 1456 | if SUCCEEDED(self.device.CheckFeatureSupport( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OsStringExt` [INFO] [stderr] --> src/graphics_core.rs:624:45 [INFO] [stderr] | [INFO] [stderr] 624 | let name = ::from_wide(&desc.Description[..len]); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OsStringExt` [INFO] [stderr] [INFO] [stderr] error: aborting due to 60 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `adamant`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/com.rs:43:41 [INFO] [stderr] | [INFO] [stderr] 43 | pub unsafe fn as_unknown(&self) -> &IUnknown { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/com.rs:45:27 [INFO] [stderr] | [INFO] [stderr] 45 | &*(self.0 as *mut IUnknown) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/com.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/graphics_core.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | window_handle: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:89:24 [INFO] [stderr] | [INFO] [stderr] 89 | if FAILED(hr) || allow_tearing_feature == minwindef::FALSE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:159:16 [INFO] [stderr] | [INFO] [stderr] 159 | if SUCCEEDED(device.CheckFeatureSupport( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:284:16 [INFO] [stderr] | [INFO] [stderr] 284 | if FAILED(self.command_allocators[current_index].Reset()) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:290:16 [INFO] [stderr] | [INFO] [stderr] 290 | if FAILED(self.command_list.Reset( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:359:16 [INFO] [stderr] | [INFO] [stderr] 359 | if FAILED(self.command_list.Close()) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:390:23 [INFO] [stderr] | [INFO] [stderr] 390 | } else if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:398:24 [INFO] [stderr] | [INFO] [stderr] 398 | if FAILED(dxgi1_3::CreateDXGIFactory2( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:435:20 [INFO] [stderr] | [INFO] [stderr] 435 | if SUCCEEDED(d3d12::D3D12GetDebugInterface( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:450:20 [INFO] [stderr] | [INFO] [stderr] 450 | if SUCCEEDED(dxgi1_3::DXGIGetDebugInterface1( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/graphics_core.rs:489:38 [INFO] [stderr] | [INFO] [stderr] 489 | fn create_factory(window_handle: HWND, flags: u32) -> ComPtr { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:493:16 [INFO] [stderr] | [INFO] [stderr] 493 | if SUCCEEDED(dxgi1_3::CreateDXGIFactory2( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:506:16 [INFO] [stderr] | [INFO] [stderr] 506 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:524:24 [INFO] [stderr] | [INFO] [stderr] 524 | if SUCCEEDED(factory6.EnumAdapterByGpuPreference( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:533:28 [INFO] [stderr] | [INFO] [stderr] 533 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:542:28 [INFO] [stderr] | [INFO] [stderr] 542 | if SUCCEEDED(d3d12::D3D12CreateDevice( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:558:23 [INFO] [stderr] | [INFO] [stderr] 558 | while SUCCEEDED(factory.EnumAdapters1( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:566:24 [INFO] [stderr] | [INFO] [stderr] 566 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:575:24 [INFO] [stderr] | [INFO] [stderr] 575 | if SUCCEEDED(d3d12::D3D12CreateDevice( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:588:20 [INFO] [stderr] | [INFO] [stderr] 588 | if FAILED(factory.EnumAdapters1( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:599:24 [INFO] [stderr] | [INFO] [stderr] 599 | && FAILED( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:619:20 [INFO] [stderr] | [INFO] [stderr] 619 | if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:647:16 [INFO] [stderr] | [INFO] [stderr] 647 | if SUCCEEDED(d3d12::D3D12CreateDevice( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:683:16 [INFO] [stderr] | [INFO] [stderr] 683 | if SUCCEEDED(device.CreateCommandQueue( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:719:16 [INFO] [stderr] | [INFO] [stderr] 719 | if SUCCEEDED(device.CreateDescriptorHeap( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:754:16 [INFO] [stderr] | [INFO] [stderr] 754 | if SUCCEEDED(device.CreateDescriptorHeap( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:790:20 [INFO] [stderr] | [INFO] [stderr] 790 | if SUCCEEDED(device.CreateCommandAllocator( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:824:16 [INFO] [stderr] | [INFO] [stderr] 824 | if SUCCEEDED(device.CreateCommandList( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:837:16 [INFO] [stderr] | [INFO] [stderr] 837 | if FAILED(command_list.Close()) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:858:16 [INFO] [stderr] | [INFO] [stderr] 858 | if SUCCEEDED(device.CreateFence( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/graphics_core.rs:900:24 [INFO] [stderr] | [INFO] [stderr] 900 | window_handle: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:934:16 [INFO] [stderr] | [INFO] [stderr] 934 | if SUCCEEDED(factory.CreateSwapChainForHwnd( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:963:16 [INFO] [stderr] | [INFO] [stderr] 963 | if SUCCEEDED(swapchain.GetContainingOutput(&mut output.as_raw())) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:966:24 [INFO] [stderr] | [INFO] [stderr] 966 | if FAILED(output6.GetDesc1(&mut desc)) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:996:16 [INFO] [stderr] | [INFO] [stderr] 996 | if SUCCEEDED(swapchain.CheckColorSpaceSupport(color_space, &mut color_space_support)) [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:999:20 [INFO] [stderr] | [INFO] [stderr] 999 | && FAILED(swapchain.SetColorSpace1(color_space)) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1023:20 [INFO] [stderr] | [INFO] [stderr] 1023 | if SUCCEEDED(swapchain.GetBuffer( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1103:16 [INFO] [stderr] | [INFO] [stderr] 1103 | if SUCCEEDED(device.CreateCommittedResource( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1157:16 [INFO] [stderr] | [INFO] [stderr] 1157 | if FAILED( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1169:20 [INFO] [stderr] | [INFO] [stderr] 1169 | if FAILED(self.fence.SetEventOnCompletion( [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1228:23 [INFO] [stderr] | [INFO] [stderr] 1228 | } else if FAILED(hr) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1282:16 [INFO] [stderr] | [INFO] [stderr] 1282 | if SUCCEEDED(self.command_queue.Signal(self.fence.as_raw(), fence_value)) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1284:20 [INFO] [stderr] | [INFO] [stderr] 1284 | if SUCCEEDED( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `FAILED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1386:24 [INFO] [stderr] | [INFO] [stderr] 1386 | if FAILED(hr) || allow_tearing_feature == minwindef::FALSE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/graphics_core.rs:1456:16 [INFO] [stderr] | [INFO] [stderr] 1456 | if SUCCEEDED(self.device.CheckFeatureSupport( [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 60 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `adamant`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "72c289d155da93285f6753cff130da9441d1b39772bb1805096011776708ca85"` [INFO] running `"docker" "rm" "-f" "72c289d155da93285f6753cff130da9441d1b39772bb1805096011776708ca85"` [INFO] [stdout] 72c289d155da93285f6753cff130da9441d1b39772bb1805096011776708ca85