[INFO] fetching crate bly-dx2d 0.1.0... [INFO] testing bly-dx2d-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bly-dx2d 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate bly-dx2d 0.1.0 [INFO] finished tweaking crates.io crate bly-dx2d 0.1.0 [INFO] tweaked toml for crates.io crate bly-dx2d 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bly-dx2d 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 148 packages to latest compatible versions [INFO] [stderr] Adding block-sys v0.1.0-beta.1 (available: v0.1.0-beta.2) [INFO] [stderr] Adding block2 v0.2.0-alpha.6 (available: v0.2.0) [INFO] [stderr] Adding objc-sys v0.2.0-beta.2 (available: v0.2.0-beta.3) [INFO] [stderr] Adding objc2 v0.3.0-beta.3.patch-leaks.3 (available: v0.3.0-beta.5) [INFO] [stderr] Adding objc2-encode v2.0.0-pre.2 (available: v2.0.0) [INFO] [stderr] Adding windows v0.38.0 (available: v0.61.3) [INFO] [stderr] Adding winit v0.28.7 (available: v0.30.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Downloaded xcursor v0.3.10 [INFO] [stderr] Downloaded ab_glyph v0.2.30 [INFO] [stderr] Downloaded tiny-skia-path v0.8.4 [INFO] [stderr] Downloaded ndk v0.7.0 [INFO] [stderr] Downloaded bly-ac v0.1.0 [INFO] [stderr] Downloaded sctk-adwaita v0.5.4 [INFO] [stderr] Downloaded calloop v0.10.6 [INFO] [stderr] Downloaded tiny-skia v0.8.4 [INFO] [stderr] Downloaded android-activity v0.4.3 [INFO] [stderr] Downloaded ndk-sys v0.4.1+23.1.7779620 [INFO] [stderr] Downloaded winit v0.28.7 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.38.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.38.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.38.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.38.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.38.0 [INFO] [stderr] Downloaded windows v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbdd2af115aa35ef8c4b1e242f7df8cc67983a6cd0cbceca2e3d7bc355c9b7a8 [INFO] running `Command { std: "docker" "start" "-a" "cbdd2af115aa35ef8c4b1e242f7df8cc67983a6cd0cbceca2e3d7bc355c9b7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbdd2af115aa35ef8c4b1e242f7df8cc67983a6cd0cbceca2e3d7bc355c9b7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbdd2af115aa35ef8c4b1e242f7df8cc67983a6cd0cbceca2e3d7bc355c9b7a8", kill_on_drop: false }` [INFO] [stdout] cbdd2af115aa35ef8c4b1e242f7df8cc67983a6cd0cbceca2e3d7bc355c9b7a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 707146a65decc40b7c06f4aaa2b2a4ae6d396b16861964954ba1997818919f4a [INFO] running `Command { std: "docker" "start" "-a" "707146a65decc40b7c06f4aaa2b2a4ae6d396b16861964954ba1997818919f4a", kill_on_drop: false }` [INFO] [stderr] Compiling bly-ac v0.1.0 [INFO] [stderr] Compiling bly-dx2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows::core::*`, `windows::Foundation::Numerics::*`, `windows::Win32::Foundation::*`, `windows::Win32::Graphics::Direct2D::Common::*`, `windows::Win32::Graphics::Direct2D::*`, `windows::Win32::UI::WindowsAndMessaging::*` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | core::*, Foundation::Numerics::*, Win32::Foundation::*, Win32::Graphics::Direct2D::Common::*, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | Win32::Graphics::Direct2D::*, Win32::UI::WindowsAndMessaging::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory1` in this scope [INFO] [stdout] --> src/lib.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | factory: ID2D1Factory1, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | target: ID2D1HwndRenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/lib.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | self.target.Clear(&D2D1_COLOR_F { r, g, b, a }); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/lib.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let color = D2D1_COLOR_F { r, g, b, a }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BRUSH_PROPERTIES` in this scope [INFO] [stdout] --> src/lib.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | let properties = D2D1_BRUSH_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ELLIPSE` in this scope [INFO] [stdout] --> src/lib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | &mut D2D1_ELLIPSE { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/lib.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | point: D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/lib.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | let color = D2D1_COLOR_F { r, g, b, a }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BRUSH_PROPERTIES` in this scope [INFO] [stdout] --> src/lib.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let properties = D2D1_BRUSH_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/lib.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | let rect = D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/lib.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let color = D2D1_COLOR_F { r, g, b, a }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BRUSH_PROPERTIES` in this scope [INFO] [stdout] --> src/lib.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | let properties = D2D1_BRUSH_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_RECT_F` in this scope [INFO] [stdout] --> src/lib.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let rect = D2D_RECT_F { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_ROUNDED_RECT` in this scope [INFO] [stdout] --> src/lib.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | let rounded_rect = D2D1_ROUNDED_RECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/lib.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | let color = D2D1_COLOR_F { r, g, b, a }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_BRUSH_PROPERTIES` in this scope [INFO] [stdout] --> src/lib.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | let properties = D2D1_BRUSH_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_STROKE_STYLE_PROPERTIES` in this scope [INFO] [stdout] --> src/lib.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | let props = D2D1_STROKE_STYLE_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_ROUND` in this scope [INFO] [stdout] --> src/lib.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | startCap: D2D1_CAP_STYLE_ROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_CAP_STYLE_TRIANGLE` in this scope [INFO] [stdout] --> src/lib.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | endCap: D2D1_CAP_STYLE_TRIANGLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | D2D_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_POINT_2F` in this scope [INFO] [stdout] --> src/lib.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | D2D_POINT_2F { [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/lib.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | fn create_target(hwnd: HWND, factory: &ID2D1Factory1) -> (ID2D1HwndRenderTarget, u32, u32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory1` in this scope [INFO] [stdout] --> src/lib.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | fn create_target(hwnd: HWND, factory: &ID2D1Factory1) -> (ID2D1HwndRenderTarget, u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/lib.rs:198:59 [INFO] [stdout] | [INFO] [stdout] 198 | fn create_target(hwnd: HWND, factory: &ID2D1Factory1) -> (ID2D1HwndRenderTarget, u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/lib.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | let d2d_rect = D2D_SIZE_U { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/lib.rs:212:34 [INFO] [stdout] | [INFO] [stdout] 212 | let hwnd_render_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/lib.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [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/lib.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | fn new(hwnd: HWND) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/lib.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | let d2d_rect = D2D_SIZE_U { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/lib.rs:264:42 [INFO] [stdout] | [INFO] [stdout] 264 | let hwnd_render_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/lib.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory1` in this scope [INFO] [stdout] --> src/lib.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | fn create_factory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 279 | fn create_factory() -> Result { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_INFORMATION` in this scope [INFO] [stdout] --> src/lib.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | options.debugLevel = D2D1_DEBUG_LEVEL_INFORMATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_SINGLE_THREADED` in this scope [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | D2D1_FACTORY_TYPE_SINGLE_THREADED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | fn create_factory() -> Result { [INFO] [stdout] | ^^^^^^ ------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 279 | fn create_factory() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | fn new(hwnd: HWND) -> Result { [INFO] [stdout] | ^^^^^^ ---- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 232 | fn new(hwnd: HWND) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/lib.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | let backend = Direct2DBackend::new(HWND(hwnd)).unwrap(); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `hwnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix3x2` [INFO] [stdout] --> src/lib.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | transform: Matrix3x2::identity(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Matrix3x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix3x2` [INFO] [stdout] --> src/lib.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | transform: Matrix3x2::identity(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Matrix3x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix3x2` [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | transform: Matrix3x2::identity(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Matrix3x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix3x2` [INFO] [stdout] --> src/lib.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | transform: Matrix3x2::identity(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Matrix3x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/lib.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | let mut rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/lib.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | GetClientRect(hwnd, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D2D1_RENDER_TARGET_PROPERTIES` [INFO] [stdout] --> src/lib.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | let render_properties = D2D1_RENDER_TARGET_PROPERTIES::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D2D1_RENDER_TARGET_PROPERTIES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/lib.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let mut rect = RECT::default(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/lib.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | GetClientRect(self.handle, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D2D1_RENDER_TARGET_PROPERTIES` [INFO] [stdout] --> src/lib.rs:262:37 [INFO] [stdout] | [INFO] [stdout] 262 | let render_properties = D2D1_RENDER_TARGET_PROPERTIES::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D2D1_RENDER_TARGET_PROPERTIES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D2D1_FACTORY_OPTIONS` [INFO] [stdout] --> src/lib.rs:280:23 [INFO] [stdout] | [INFO] [stdout] 280 | let mut options = D2D1_FACTORY_OPTIONS::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D2D1_FACTORY_OPTIONS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID2D1Factory1` [INFO] [stdout] --> src/lib.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | &ID2D1Factory1::IID, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID2D1Factory1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D2D1CreateFactory` in this scope [INFO] [stdout] --> src/lib.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | D2D1CreateFactory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bly-dx2d` (lib) due to 53 previous errors [INFO] running `Command { std: "docker" "inspect" "707146a65decc40b7c06f4aaa2b2a4ae6d396b16861964954ba1997818919f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "707146a65decc40b7c06f4aaa2b2a4ae6d396b16861964954ba1997818919f4a", kill_on_drop: false }` [INFO] [stdout] 707146a65decc40b7c06f4aaa2b2a4ae6d396b16861964954ba1997818919f4a