[INFO] fetching crate imgui-dx9-renderer 0.1.0... [INFO] extracting crate imgui-dx9-renderer 0.1.0 into work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/imgui-dx9-renderer/0.1.0 [INFO] extracting crate imgui-dx9-renderer 0.1.0 into work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/reg/imgui-dx9-renderer/0.1.0 [INFO] validating manifest of imgui-dx9-renderer-0.1.0 on toolchain master#5f9c0448dde167128d668da4555879f64e56af1d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of imgui-dx9-renderer-0.1.0 on toolchain try#8ec8125bea94852768b56958f05da47666c21ab0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing imgui-dx9-renderer-0.1.0 [INFO] finished frobbing imgui-dx9-renderer-0.1.0 [INFO] frobbed toml for imgui-dx9-renderer-0.1.0 written to work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/imgui-dx9-renderer/0.1.0/Cargo.toml [INFO] started frobbing imgui-dx9-renderer-0.1.0 [INFO] finished frobbing imgui-dx9-renderer-0.1.0 [INFO] frobbed toml for imgui-dx9-renderer-0.1.0 written to work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/reg/imgui-dx9-renderer/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking imgui-dx9-renderer-0.1.0 against try#8ec8125bea94852768b56958f05da47666c21ab0 for pr-62133 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62133/worker-5/try#8ec8125bea94852768b56958f05da47666c21ab0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/reg/imgui-dx9-renderer/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a2de2f836608148e5c9dad2493fcfbf09cf9b42fb026e6ef5974fde6b9781043 [INFO] running `"docker" "start" "-a" "a2de2f836608148e5c9dad2493fcfbf09cf9b42fb026e6ef5974fde6b9781043"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling imgui-sys v0.0.23 [INFO] [stderr] Checking imgui v0.0.23 [INFO] [stderr] Checking imgui-winit-support v0.0.23 [INFO] [stderr] Checking imgui-dx9-renderer v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> examples/winit.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::{d3d9::*, d3d9caps::*, d3d9types::*, windef::HWND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winit::os::windows` [INFO] [stderr] --> examples/winit.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | use winit::{dpi::LogicalSize, os::windows::WindowExt, Event}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Renderer` in `imgui_dx9_renderer` [INFO] [stderr] --> examples/winit.rs:63:29 [INFO] [stderr] | [INFO] [stderr] 63 | imgui_dx9_renderer::Renderer::new(&mut imgui, unsafe { NonNull::new_unchecked(device) }) [INFO] [stderr] | ^^^^^^^^ could not find `Renderer` in `imgui_dx9_renderer` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> examples/winit.rs:11:35 [INFO] [stderr] | [INFO] [stderr] 11 | unsafe fn set_up_dx_context(hwnd: HWND) -> (LPDIRECT3D9, LPDIRECT3DDEVICE9) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDIRECT3D9` in this scope [INFO] [stderr] --> examples/winit.rs:11:45 [INFO] [stderr] | [INFO] [stderr] 11 | unsafe fn set_up_dx_context(hwnd: HWND) -> (LPDIRECT3D9, LPDIRECT3DDEVICE9) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPDIRECT3DDEVICE9` in this scope [INFO] [stderr] --> examples/winit.rs:11:58 [INFO] [stderr] | [INFO] [stderr] 11 | unsafe fn set_up_dx_context(hwnd: HWND) -> (LPDIRECT3D9, LPDIRECT3DDEVICE9) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Direct3DCreate9` in this scope [INFO] [stderr] --> examples/winit.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | let d9 = Direct3DCreate9(D3D_SDK_VERSION); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3D_SDK_VERSION` in this scope [INFO] [stderr] --> examples/winit.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | let d9 = Direct3DCreate9(D3D_SDK_VERSION); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `D3DPRESENT_PARAMETERS` in this scope [INFO] [stderr] --> examples/winit.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | let mut present_params = D3DPRESENT_PARAMETERS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DMULTISAMPLE_NONE` in this scope [INFO] [stderr] --> examples/winit.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | MultiSampleType: D3DMULTISAMPLE_NONE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DSWAPEFFECT_DISCARD` in this scope [INFO] [stderr] --> examples/winit.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | SwapEffect: D3DSWAPEFFECT_DISCARD, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DPRESENT_RATE_DEFAULT` in this scope [INFO] [stderr] --> examples/winit.rs:23:37 [INFO] [stderr] | [INFO] [stderr] 23 | FullScreen_RefreshRateInHz: D3DPRESENT_RATE_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DPRESENT_INTERVAL_DEFAULT` in this scope [INFO] [stderr] --> examples/winit.rs:24:31 [INFO] [stderr] | [INFO] [stderr] 24 | PresentationInterval: D3DPRESENT_INTERVAL_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DFMT_R5G6B5` in this scope [INFO] [stderr] --> examples/winit.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | BackBufferFormat: D3DFMT_R5G6B5, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DADAPTER_DEFAULT` in this scope [INFO] [stderr] --> examples/winit.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | D3DADAPTER_DEFAULT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DDEVTYPE_HAL` in this scope [INFO] [stderr] --> examples/winit.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | D3DDEVTYPE_HAL, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DCREATE_SOFTWARE_VERTEXPROCESSING` in this scope [INFO] [stderr] --> examples/winit.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | D3DCREATE_SOFTWARE_VERTEXPROCESSING, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `D3DCLEAR_TARGET` in this scope [INFO] [stderr] --> examples/winit.rs:127:17 [INFO] [stderr] | [INFO] [stderr] 127 | D3DCLEAR_TARGET, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `d3d9::*`, `d3d9caps::*`, `d3d9types::*`, `windef::HWND` [INFO] [stderr] --> examples/winit.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::{d3d9::*, d3d9caps::*, d3d9types::*, windef::HWND}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_hwnd` found for type `winit::Window` in the current scope [INFO] [stderr] --> examples/winit.rs:60:58 [INFO] [stderr] | [INFO] [stderr] 60 | let (d9, device) = unsafe { set_up_dx_context(window.get_hwnd() as _) }; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `imgui-dx9-renderer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a2de2f836608148e5c9dad2493fcfbf09cf9b42fb026e6ef5974fde6b9781043"` [INFO] running `"docker" "rm" "-f" "a2de2f836608148e5c9dad2493fcfbf09cf9b42fb026e6ef5974fde6b9781043"` [INFO] [stdout] a2de2f836608148e5c9dad2493fcfbf09cf9b42fb026e6ef5974fde6b9781043