[INFO] cloning repository https://github.com/arrayJY/tiny-renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arrayJY/tiny-renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FarrayJY%2Ftiny-renderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FarrayJY%2Ftiny-renderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d20ce2d0f96f7af17d79d841d8f9d4619765b3e5 [INFO] checking arrayJY/tiny-renderer against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FarrayJY%2Ftiny-renderer" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arrayJY/tiny-renderer on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arrayJY/tiny-renderer [INFO] finished tweaking git repo https://github.com/arrayJY/tiny-renderer [INFO] tweaked toml for git repo https://github.com/arrayJY/tiny-renderer written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/arrayJY/tiny-renderer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded loom v0.4.0 [INFO] [stderr] Downloaded generator v0.6.24 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.2 [INFO] [stderr] Downloaded crossbeam-utils v0.8.2 [INFO] [stderr] Downloaded tobj v2.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fd7b3c2430863f686607b69cd08345b7aa18b3e2fe17eabb9e4a4ebfb7f4029 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4fd7b3c2430863f686607b69cd08345b7aa18b3e2fe17eabb9e4a4ebfb7f4029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fd7b3c2430863f686607b69cd08345b7aa18b3e2fe17eabb9e4a4ebfb7f4029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd7b3c2430863f686607b69cd08345b7aa18b3e2fe17eabb9e4a4ebfb7f4029", kill_on_drop: false }` [INFO] [stdout] 4fd7b3c2430863f686607b69cd08345b7aa18b3e2fe17eabb9e4a4ebfb7f4029 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55d6c515f6aa314d3233c3a634b92135c1c8b8733447aa91d6279a8f71d343dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "55d6c515f6aa314d3233c3a634b92135c1c8b8733447aa91d6279a8f71d343dd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tobj v2.0.4 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking wayland-commons v0.28.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.13 [INFO] [stderr] Checking wayland-cursor v0.28.3 [INFO] [stderr] Checking smithay-client-toolkit v0.12.2 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking tiny-renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window/platform.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/window/platform.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raw_window_handle::windows` [INFO] [stdout] --> src/window/platform.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use raw_window_handle::windows::WindowsHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `raw_window_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window/platform.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/window/platform.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | memory_dc: HDC, [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/window/platform.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | let hwnd = &mut *(hwnd as HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/window/platform.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let hdc = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/window/platform.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let memory_dc = CreateCompatibleDC(hdc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/window/platform.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | ReleaseDC(hwnd, hdc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/window/platform.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | let mut bitmap_header = BITMAPINFOHEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope [INFO] [stdout] --> src/window/platform.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | biCompression: BI_RGB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/window/platform.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | let bitmap_header_ptr: *mut BITMAPINFOHEADER = &mut bitmap_header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDIBSection` in this scope [INFO] [stdout] --> src/window/platform.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | let dib_bitmap = CreateDIBSection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/window/platform.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | bitmap_header_ptr as *mut BITMAPINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope [INFO] [stdout] --> src/window/platform.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | DIB_RGB_COLORS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window/platform.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window/platform.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | assert_ne!(dib_bitmap, NULL as HBITMAP); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBITMAP` in this scope [INFO] [stdout] --> src/window/platform.rs:86:44 [INFO] [stdout] | [INFO] [stdout] 86 | assert_ne!(dib_bitmap, NULL as HBITMAP); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/window/platform.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | let old_bitmap = SelectObject(memory_dc, dib_bitmap as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/window/platform.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | DeleteObject(old_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/window/platform.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | let windows_dc = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/window/platform.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | BitBlt(windows_dc, 0, 0, width, height, memory_dc, 0, 0, SRCCOPY); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window/platform.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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/window/platform.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/window/platform.rs:110:70 [INFO] [stdout] | [INFO] [stdout] 110 | BitBlt(windows_dc, 0, 0, width, height, memory_dc, 0, 0, SRCCOPY); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raw_window_handle::windows` [INFO] [stdout] --> src/window/platform.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use raw_window_handle::windows::WindowsHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `raw_window_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/window/platform.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | ReleaseDC(hwnd, windows_dc); [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/window/platform.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/window/platform.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | memory_dc: HDC, [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/window/platform.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | let hwnd = &mut *(hwnd as HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/window/platform.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let hdc = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/window/platform.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let memory_dc = CreateCompatibleDC(hdc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/window/platform.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | ReleaseDC(hwnd, hdc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/window/platform.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | let mut bitmap_header = BITMAPINFOHEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope [INFO] [stdout] --> src/window/platform.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | biCompression: BI_RGB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/window/platform.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | let bitmap_header_ptr: *mut BITMAPINFOHEADER = &mut bitmap_header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDIBSection` in this scope [INFO] [stdout] --> src/window/platform.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | let dib_bitmap = CreateDIBSection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope [INFO] [stdout] --> src/window/platform.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | bitmap_header_ptr as *mut BITMAPINFO, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope [INFO] [stdout] --> src/window/platform.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | DIB_RGB_COLORS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window/platform.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/window/platform.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | assert_ne!(dib_bitmap, NULL as HBITMAP); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBITMAP` in this scope [INFO] [stdout] --> src/window/platform.rs:86:44 [INFO] [stdout] | [INFO] [stdout] 86 | assert_ne!(dib_bitmap, NULL as HBITMAP); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/window/platform.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | let old_bitmap = SelectObject(memory_dc, dib_bitmap as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/window/platform.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | DeleteObject(old_bitmap); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/window/platform.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | let windows_dc = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/window/platform.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | BitBlt(windows_dc, 0, 0, width, height, memory_dc, 0, 0, SRCCOPY); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/window/platform.rs:110:70 [INFO] [stdout] | [INFO] [stdout] 110 | BitBlt(windows_dc, 0, 0, width, height, memory_dc, 0, 0, SRCCOPY); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/window/platform.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | ReleaseDC(hwnd, windows_dc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Windows` found for enum `RawWindowHandle` in the current scope [INFO] [stdout] --> src/window.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | RawWindowHandle::Windows(handle) => { [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `RawWindowHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-renderer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no variant or associated item named `Windows` found for enum `RawWindowHandle` in the current scope [INFO] [stdout] --> src/window.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | RawWindowHandle::Windows(handle) => { [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `RawWindowHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "55d6c515f6aa314d3233c3a634b92135c1c8b8733447aa91d6279a8f71d343dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55d6c515f6aa314d3233c3a634b92135c1c8b8733447aa91d6279a8f71d343dd", kill_on_drop: false }` [INFO] [stdout] 55d6c515f6aa314d3233c3a634b92135c1c8b8733447aa91d6279a8f71d343dd