[INFO] cloning repository https://github.com/jo12bar/triangle-from-scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jo12bar/triangle-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo12bar%2Ftriangle-from-scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo12bar%2Ftriangle-from-scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f60e1892dbcc0cfa346ddc9aa2ab35e816c41b2 [INFO] checking jo12bar/triangle-from-scratch against master#7bdae134cba57426d3c56b5de737a351762445e1 for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo12bar%2Ftriangle-from-scratch" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jo12bar/triangle-from-scratch on toolchain 7bdae134cba57426d3c56b5de737a351762445e1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7bdae134cba57426d3c56b5de737a351762445e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jo12bar/triangle-from-scratch [INFO] finished tweaking git repo https://github.com/jo12bar/triangle-from-scratch [INFO] tweaked toml for git repo https://github.com/jo12bar/triangle-from-scratch written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jo12bar/triangle-from-scratch already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7bdae134cba57426d3c56b5de737a351762445e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking jo12bar/triangle-from-scratch against try#f0a46ffcb8bbd220fe569642e5e175207d8e3fea for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo12bar%2Ftriangle-from-scratch" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jo12bar/triangle-from-scratch on toolchain f0a46ffcb8bbd220fe569642e5e175207d8e3fea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jo12bar/triangle-from-scratch [INFO] finished tweaking git repo https://github.com/jo12bar/triangle-from-scratch [INFO] tweaked toml for git repo https://github.com/jo12bar/triangle-from-scratch written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jo12bar/triangle-from-scratch already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jo12bar/triangle-from-scratch against try#f0a46ffcb8bbd220fe569642e5e175207d8e3fea for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo12bar%2Ftriangle-from-scratch" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jo12bar/triangle-from-scratch on toolchain f0a46ffcb8bbd220fe569642e5e175207d8e3fea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jo12bar/triangle-from-scratch [INFO] finished tweaking git repo https://github.com/jo12bar/triangle-from-scratch [INFO] tweaked toml for git repo https://github.com/jo12bar/triangle-from-scratch written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jo12bar/triangle-from-scratch already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 616dd41c3e1b0ebe1813efe762bf7a9fc4e1dd713ce2e7fd2d1d0c7fbca3eb19 [INFO] running `Command { std: "docker" "start" "-a" "616dd41c3e1b0ebe1813efe762bf7a9fc4e1dd713ce2e7fd2d1d0c7fbca3eb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "616dd41c3e1b0ebe1813efe762bf7a9fc4e1dd713ce2e7fd2d1d0c7fbca3eb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616dd41c3e1b0ebe1813efe762bf7a9fc4e1dd713ce2e7fd2d1d0c7fbca3eb19", kill_on_drop: false }` [INFO] [stdout] 616dd41c3e1b0ebe1813efe762bf7a9fc4e1dd713ce2e7fd2d1d0c7fbca3eb19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 805805ff5f4a1d40d885fb2151611819621b492032175aa5b325a201dd777819 [INFO] running `Command { std: "docker" "start" "-a" "805805ff5f4a1d40d885fb2151611819621b492032175aa5b325a201dd777819", kill_on_drop: false }` [INFO] [stderr] Checking triangle-from-scratch-c-types v0.1.0 (/opt/rustwide/workdir/crates/c-types) [INFO] [stderr] Checking triangle-from-scratch-gl v0.1.0 (/opt/rustwide/workdir/crates/gl) [INFO] [stderr] Checking triangle-from-scratch-win32 v0.1.0 (/opt/rustwide/workdir/crates/win32) [INFO] [stderr] Checking triangle-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `win32::c_str`, `win32::create_app_window`, `win32::describe_pixel_format`, `win32::do_wgl_choose_pixel_format_arb`, `win32::do_wgl_create_context_attribs_arb`, `win32::get_any_message`, `win32::get_dc`, `win32::get_process_handle`, `win32::get_wgl_basics`, `win32::get_window_userdata`, `win32::load_library`, `win32::load_predefined_cursor`, `win32::post_quit_message`, `win32::prelude`, `win32::register_class`, `win32::release_dc`, `win32::set_pixel_format`, `win32::set_window_userdata`, `win32::translate_message`, `win32::utf16_null`, `win32::wgl_delete_context`, `win32::wgl_make_current` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | c_str, create_app_window, describe_pixel_format, do_wgl_choose_pixel_format_arb, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `do_wgl_choose_pixel_format_arb` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `describe_pixel_format` in the root [INFO] [stdout] | | no `create_app_window` in the root [INFO] [stdout] | no `c_str` in the root [INFO] [stdout] 18 | do_wgl_create_context_attribs_arb, get_any_message, get_dc, get_process_handle, get_wgl_basics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `get_wgl_basics` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `get_process_handle` in the root [INFO] [stdout] | | | no `get_dc` in the root [INFO] [stdout] | | no `get_any_message` in the root [INFO] [stdout] | no `do_wgl_create_context_attribs_arb` in the root [INFO] [stdout] 19 | get_window_userdata, load_library, load_predefined_cursor, post_quit_message, prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `get_window_userdata` in the root [INFO] [stdout] 20 | register_class, release_dc, set_pixel_format, set_window_userdata, translate_message, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | utf16_null, wgl_delete_context, wgl_make_current, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] core::ffi::c_str [INFO] [stdout] std::ffi::c_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `win32::c_str`, `win32::create_app_window`, `win32::describe_pixel_format`, `win32::do_wgl_choose_pixel_format_arb`, `win32::do_wgl_create_context_attribs_arb`, `win32::get_any_message`, `win32::get_dc`, `win32::get_process_handle`, `win32::get_wgl_basics`, `win32::get_window_userdata`, `win32::load_library`, `win32::load_predefined_cursor`, `win32::post_quit_message`, `win32::prelude`, `win32::register_class`, `win32::release_dc`, `win32::set_pixel_format`, `win32::set_window_userdata`, `win32::translate_message`, `win32::utf16_null`, `win32::wgl_delete_context`, `win32::wgl_make_current` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | c_str, create_app_window, describe_pixel_format, do_wgl_choose_pixel_format_arb, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `do_wgl_choose_pixel_format_arb` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `describe_pixel_format` in the root [INFO] [stdout] | | no `create_app_window` in the root [INFO] [stdout] | no `c_str` in the root [INFO] [stdout] 18 | do_wgl_create_context_attribs_arb, get_any_message, get_dc, get_process_handle, get_wgl_basics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `get_wgl_basics` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `get_process_handle` in the root [INFO] [stdout] | | | no `get_dc` in the root [INFO] [stdout] | | no `get_any_message` in the root [INFO] [stdout] | no `do_wgl_create_context_attribs_arb` in the root [INFO] [stdout] 19 | get_window_userdata, load_library, load_predefined_cursor, post_quit_message, prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `get_window_userdata` in the root [INFO] [stdout] 20 | register_class, release_dc, set_pixel_format, set_window_userdata, translate_message, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | utf16_null, wgl_delete_context, wgl_make_current, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] core::ffi::c_str [INFO] [stdout] std::ffi::c_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> examples/win32_window_standalone.rs:799:13 [INFO] [stdout] | [INFO] [stdout] 799 | Box::from_raw(ptr); // by not saving the box, it immediately gets dropped and the [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 799 | let _ = Box::from_raw(ptr); // by not saving the box, it immediately gets dropped and the [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/main.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | let wc = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/main.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/main.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_DRAW_TO_WINDOW_ARB` in this scope [INFO] [stdout] --> src/main.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | [WGL_DRAW_TO_WINDOW_ARB, true as _], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_SUPPORT_OPENGL_ARB` in this scope [INFO] [stdout] --> src/main.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | [WGL_SUPPORT_OPENGL_ARB, true as _], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_DOUBLE_BUFFER_ARB` in this scope [INFO] [stdout] --> src/main.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | [WGL_DOUBLE_BUFFER_ARB, true as _], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GL_ARRAY_BUFFER_ARB` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/crates/gl/src/bindings/constants.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub const GL_ARRAY_BUFFER_ARB: GLenum = 0x8892; [INFO] [stdout] | ------------------------------------- similarly named constant `GL_ARRAY_BUFFER_ARB` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_PIXEL_TYPE_ARB` in this scope [INFO] [stdout] --> src/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | [WGL_PIXEL_TYPE_ARB, WGL_TYPE_RGBA_ARB], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_TYPE_RGBA_ARB` in this scope [INFO] [stdout] --> src/main.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | [WGL_PIXEL_TYPE_ARB, WGL_TYPE_RGBA_ARB], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_COLOR_BITS_ARB` in this scope [INFO] [stdout] --> src/main.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | [WGL_COLOR_BITS_ARB, 32], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_DEPTH_BITS_ARB` in this scope [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | [WGL_DEPTH_BITS_ARB, 24], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_STENCIL_BITS_ARB` in this scope [INFO] [stdout] --> src/main.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | [WGL_STENCIL_BITS_ARB, 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT` in this scope [INFO] [stdout] --> src/main.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | pf_int_attribs.push([WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT, true as _]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_SAMPLE_BUFFERS_ARB` in this scope [INFO] [stdout] --> src/main.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | pf_int_attribs.push([WGL_SAMPLE_BUFFERS_ARB, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GL_ARRAY_BUFFER_ARB` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/crates/gl/src/bindings/constants.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub const GL_ARRAY_BUFFER_ARB: GLenum = 0x8892; [INFO] [stdout] | ------------------------------------- similarly named constant `GL_ARRAY_BUFFER_ARB` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB` in this scope [INFO] [stdout] --> src/main.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | const OPENGL_CONTEXT_FLAGS: CInt = WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_DEBUG_BIT_ARB` in this scope [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | WGL_CONTEXT_DEBUG_BIT_ARB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_MAJOR_VERSION_ARB` in this scope [INFO] [stdout] --> src/main.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | [WGL_CONTEXT_MAJOR_VERSION_ARB, 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_MINOR_VERSION_ARB` in this scope [INFO] [stdout] --> src/main.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | [WGL_CONTEXT_MINOR_VERSION_ARB, 6], // opengl 4.6 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_PROFILE_MASK_ARB` in this scope [INFO] [stdout] --> src/main.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | WGL_CONTEXT_PROFILE_MASK_ARB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_CORE_PROFILE_BIT_ARB` in this scope [INFO] [stdout] --> src/main.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | WGL_CONTEXT_CORE_PROFILE_BIT_ARB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_FLAGS_ARB` in this scope [INFO] [stdout] --> src/main.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | [WGL_CONTEXT_FLAGS_ARB, OPENGL_CONTEXT_FLAGS], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/main.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | let _previously_visible = unsafe { ShowWindow(hwnd, SW_SHOW) }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/main.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | if msg.message == WM_QUIT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | lib_opengl32: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/main.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | let wc = WNDCLASSW { [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/main.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | hdc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stdout] --> src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/main.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | hglrc: HGLRC, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/main.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | lib_opengl32: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/main.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | style: CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:215:61 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn set_lib_opengl32_handle(&mut self, lib_opengl32: HMODULE) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 252 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_DRAW_TO_WINDOW_ARB` in this scope [INFO] [stdout] --> src/main.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | [WGL_DRAW_TO_WINDOW_ARB, true as _], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_SUPPORT_OPENGL_ARB` in this scope [INFO] [stdout] --> src/main.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | [WGL_SUPPORT_OPENGL_ARB, true as _], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:256:6 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_DOUBLE_BUFFER_ARB` in this scope [INFO] [stdout] --> src/main.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | [WGL_DOUBLE_BUFFER_ARB, true as _], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GL_ARRAY_BUFFER_ARB` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/crates/gl/src/bindings/constants.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub const GL_ARRAY_BUFFER_ARB: GLenum = 0x8892; [INFO] [stdout] | ------------------------------------- similarly named constant `GL_ARRAY_BUFFER_ARB` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCREATESTRUCTW` in this scope [INFO] [stdout] --> src/main.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | let createstruct: LPCREATESTRUCTW = lparam as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_PIXEL_TYPE_ARB` in this scope [INFO] [stdout] --> src/main.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | [WGL_PIXEL_TYPE_ARB, WGL_TYPE_RGBA_ARB], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_TYPE_RGBA_ARB` in this scope [INFO] [stdout] --> src/main.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | [WGL_PIXEL_TYPE_ARB, WGL_TYPE_RGBA_ARB], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_COLOR_BITS_ARB` in this scope [INFO] [stdout] --> src/main.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | [WGL_COLOR_BITS_ARB, 32], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_DEPTH_BITS_ARB` in this scope [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | [WGL_DEPTH_BITS_ARB, 24], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_STENCIL_BITS_ARB` in this scope [INFO] [stdout] --> src/main.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | [WGL_STENCIL_BITS_ARB, 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT` in this scope [INFO] [stdout] --> src/main.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | pf_int_attribs.push([WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT, true as _]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:271:62 [INFO] [stdout] | [INFO] [stdout] 271 | return set_window_userdata(hwnd, ptr).is_ok() as LRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_SAMPLE_BUFFERS_ARB` in this scope [INFO] [stdout] --> src/main.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | pf_int_attribs.push([WGL_SAMPLE_BUFFERS_ARB, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `GL_ARRAY_BUFFER_ARB` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/crates/gl/src/bindings/constants.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub const GL_ARRAY_BUFFER_ARB: GLenum = 0x8892; [INFO] [stdout] | ------------------------------------- similarly named constant `GL_ARRAY_BUFFER_ARB` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB` in this scope [INFO] [stdout] --> src/main.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | const OPENGL_CONTEXT_FLAGS: CInt = WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_DEBUG_BIT_ARB` in this scope [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | WGL_CONTEXT_DEBUG_BIT_ARB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_MAJOR_VERSION_ARB` in this scope [INFO] [stdout] --> src/main.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | [WGL_CONTEXT_MAJOR_VERSION_ARB, 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_MINOR_VERSION_ARB` in this scope [INFO] [stdout] --> src/main.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | [WGL_CONTEXT_MINOR_VERSION_ARB, 6], // opengl 4.6 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_PROFILE_MASK_ARB` in this scope [INFO] [stdout] --> src/main.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | WGL_CONTEXT_PROFILE_MASK_ARB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_CORE_PROFILE_BIT_ARB` in this scope [INFO] [stdout] --> src/main.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | WGL_CONTEXT_CORE_PROFILE_BIT_ARB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WGL_CONTEXT_FLAGS_ARB` in this scope [INFO] [stdout] --> src/main.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | [WGL_CONTEXT_FLAGS_ARB, OPENGL_CONTEXT_FLAGS], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/main.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | let _previously_visible = unsafe { ShowWindow(hwnd, SW_SHOW) }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/main.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | if msg.message == WM_QUIT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | lib_opengl32: HMODULE, [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/main.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | hdc: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGLRC` in this scope [INFO] [stdout] --> src/main.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | hglrc: HGLRC, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | lib_opengl32: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:215:61 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn set_lib_opengl32_handle(&mut self, lib_opengl32: HMODULE) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 252 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:256:6 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCREATESTRUCTW` in this scope [INFO] [stdout] --> src/main.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | let createstruct: LPCREATESTRUCTW = lparam as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:271:62 [INFO] [stdout] | [INFO] [stdout] 271 | return set_window_userdata(hwnd, ptr).is_ok() as LRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDCursor` [INFO] [stdout] --> src/main.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | hCursor: load_predefined_cursor(IDCursor::Arrow)?, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `IDCursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDCursor` [INFO] [stdout] --> src/main.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | hCursor: load_predefined_cursor(IDCursor::Arrow)?, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `IDCursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/main.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | let _previously_visible = unsafe { ShowWindow(hwnd, SW_SHOW) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/main.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let p = wglGetProcAddress(name.as_ptr().cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/main.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | let _previously_visible = unsafe { ShowWindow(hwnd, SW_SHOW) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/main.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | 0 | 1 | 2 | 3 | usize::MAX => GetProcAddress(self.lib_opengl32, name.as_ptr().cast()), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> src/main.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | SwapBuffers(window_data.hdc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/main.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | InvalidateRect(hwnd, ptr::null(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/main.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let p = wglGetProcAddress(name.as_ptr().cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/main.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | DestroyWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/main.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | 0 | 1 | 2 | 3 | usize::MAX => GetProcAddress(self.lib_opengl32, name.as_ptr().cast()), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lib_opengl32` on type `Box<_>` [INFO] [stdout] --> src/main.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | FreeLibrary(window_data.lib_opengl32); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/main.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | FreeLibrary(window_data.lib_opengl32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SwapBuffers` in this scope [INFO] [stdout] --> src/main.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | SwapBuffers(window_data.hdc); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | _ => return DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in this scope [INFO] [stdout] --> src/main.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | InvalidateRect(hwnd, ptr::null(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/main.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | DestroyWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lib_opengl32` on type `Box<_>` [INFO] [stdout] --> src/main.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | FreeLibrary(window_data.lib_opengl32); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/main.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | FreeLibrary(window_data.lib_opengl32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | _ => return DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `triangle-from-scratch` (bin "triangle-from-scratch" test) due to 48 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `triangle-from-scratch` (bin "triangle-from-scratch") due to 48 previous errors [INFO] running `Command { std: "docker" "inspect" "805805ff5f4a1d40d885fb2151611819621b492032175aa5b325a201dd777819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805805ff5f4a1d40d885fb2151611819621b492032175aa5b325a201dd777819", kill_on_drop: false }` [INFO] [stdout] 805805ff5f4a1d40d885fb2151611819621b492032175aa5b325a201dd777819