[INFO] cloning repository https://github.com/Nufflee/zoomer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nufflee/zoomer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNufflee%2Fzoomer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNufflee%2Fzoomer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 340753a67708a073b6d9979bebf8cc708f668f2d [INFO] testing Nufflee/zoomer against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNufflee%2Fzoomer" "/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/Nufflee/zoomer on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nufflee/zoomer [INFO] finished tweaking git repo https://github.com/Nufflee/zoomer [INFO] tweaked toml for git repo https://github.com/Nufflee/zoomer written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Nufflee/zoomer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wide v0.7.4 [INFO] [stderr] Downloaded simba v0.7.1 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b265c52f305b06c9329b5bf6bce8e8a2573ac57edf58a32b85569cb77d96956 [INFO] running `Command { std: "docker" "start" "-a" "8b265c52f305b06c9329b5bf6bce8e8a2573ac57edf58a32b85569cb77d96956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b265c52f305b06c9329b5bf6bce8e8a2573ac57edf58a32b85569cb77d96956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b265c52f305b06c9329b5bf6bce8e8a2573ac57edf58a32b85569cb77d96956", kill_on_drop: false }` [INFO] [stdout] 8b265c52f305b06c9329b5bf6bce8e8a2573ac57edf58a32b85569cb77d96956 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d60130160f5c3da5ff8cc984440887fb3b791a1f13d01e17cd70fd1cba1fe741 [INFO] running `Command { std: "docker" "start" "-a" "d60130160f5c3da5ff8cc984440887fb3b791a1f13d01e17cd70fd1cba1fe741", kill_on_drop: false }` [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling simba v0.7.1 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling nalgebra-glm v0.16.0 [INFO] [stderr] Compiling zoomer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/console.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | shared::ntdef::HANDLE, [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/console.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/gl.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::{HDC, HGLRC}; [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/gl.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::wingdi::wglGetProcAddress; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/console.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/screenshot.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::windef::{HGDIOBJ, HWND}, [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/screenshot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/zoomer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | shared::windef::{HDC, HWND}, [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/zoomer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | um::{wingdi::*, winuser::*}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | um::{libloaderapi::GetModuleHandleA, sysinfoapi::GetTickCount, wingdi::*, winuser::*}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `crate::console` [INFO] [stdout] --> src/screenshot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/zoomer.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{console, screenshot::Screenshot}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BITMAP` [INFO] [stdout] --> src/screenshot.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | let mut bitmap = BITMAP::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type `BITMAP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> src/main.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | let mut message = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/console.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | std_out_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/console.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | let std_out_handle = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleMode` in this scope [INFO] [stdout] --> src/console.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | assert!(GetConsoleMode(std_out_handle, &mut mode) == 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/console.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(SetConsoleMode(std_out_handle, ENABLE_VIRTUAL_TERMINAL_PROCESSING) == 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteConsoleA` in this scope [INFO] [stdout] --> src/console.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | WriteConsoleA( [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/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 167 | declare_opengl_function!(fn glGenBuffers(n: GLsizei, buffers: *mut GLuint)); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 168 | declare_opengl_function!(fn glBindBuffer(target: GLenum, buffer: GLuint)); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 169 | declare_opengl_function!(fn glBufferData(target: GLenum,size: GLsizei,data: *const GLvoid, usage: GLenum)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 170 | / declare_opengl_function!( [INFO] [stdout] 171 | | fn glVertexAttribPointer( [INFO] [stdout] 172 | | index: GLuint, [INFO] [stdout] 173 | | size: GLint, [INFO] [stdout] ... | [INFO] [stdout] 178 | | ) [INFO] [stdout] 179 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 181 | declare_opengl_function!(fn glEnableVertexAttribArray(index: GLuint)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 182 | declare_opengl_function!(fn glGenVertexArrays(n: GLsizei, arrays: *mut GLuint)); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 183 | declare_opengl_function!(fn glBindVertexArray(array: GLuint)); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 185 | declare_opengl_function!(fn glDrawArrays(mode: GLenum, first: GLint, count: GLsizei)); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 186 | / declare_opengl_function!( [INFO] [stdout] 187 | | fn glDrawElements( [INFO] [stdout] 188 | | mode: GLenum, [INFO] [stdout] 189 | | count: GLsizei, [INFO] [stdout] ... | [INFO] [stdout] 192 | | ) [INFO] [stdout] 193 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 195 | declare_opengl_function!(fn glCreateShader(shaderType: GLenum) -> GLuint); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 196 | / declare_opengl_function!( [INFO] [stdout] 197 | | fn glShaderSource( [INFO] [stdout] 198 | | shader: GLuint, [INFO] [stdout] 199 | | count: GLsizei, [INFO] [stdout] ... | [INFO] [stdout] 202 | | ) [INFO] [stdout] 203 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 204 | declare_opengl_function!(fn glCompileShader(shader: GLuint)); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 205 | declare_opengl_function!(fn glGetShaderiv(shader: GLuint, pname: GLenum, params: *mut GLint)); [INFO] [stdout] | --------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 206 | declare_opengl_function!(fn glCreateProgram() -> GLuint); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 207 | declare_opengl_function!(fn glAttachShader(program: GLuint, shader: GLuint)); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 208 | declare_opengl_function!(fn glLinkProgram(program: GLuint)); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 209 | declare_opengl_function!(fn glGetProgramiv(program: GLuint, pname: GLenum, params: *mut GLint)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 210 | declare_opengl_function!(fn glUseProgram(program: GLuint)); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 211 | declare_opengl_function!(fn glGetUniformLocation(program: GLuint, name: *const GLchar) -> GLint); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 212 | declare_opengl_function!(fn glUniform1i(location: GLint, v0: GLint)); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 213 | / declare_opengl_function!( [INFO] [stdout] 214 | | fn glUniformMatrix4fv( [INFO] [stdout] 215 | | location: GLint, [INFO] [stdout] 216 | | count: GLsizei, [INFO] [stdout] ... | [INFO] [stdout] 219 | | ) [INFO] [stdout] 220 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 221 | / declare_opengl_function!( [INFO] [stdout] 222 | | fn glGetShaderInfoLog( [INFO] [stdout] 223 | | shader: GLuint, [INFO] [stdout] 224 | | maxLength: GLsizei, [INFO] [stdout] ... | [INFO] [stdout] 227 | | ) [INFO] [stdout] 228 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 230 | declare_opengl_function!(fn glEnable(cap: GLenum)); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 232 | declare_opengl_function!(fn glGenTextures(n: GLsizei, textures: *mut GLuint)); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 233 | declare_opengl_function!(fn glBindTexture(target: GLenum, texture: GLuint)); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 234 | declare_opengl_function!(fn glActiveTexture(texture: GLenum)); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 235 | declare_opengl_function!(fn glGenerateMipmap(target: GLenum)); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglGetProcAddress` in this scope [INFO] [stdout] --> src/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 247 | declare_opengl_function!(fn glDebugMessageCallback(callback: DEBUGPROC, userParam: *mut c_void)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/gl.rs:251:40 [INFO] [stdout] | [INFO] [stdout] 251 | fn wglCreateContextAttribsARB(hdc: HDC, shareContext: HGLRC, attribList: *const i32) -> HGLRC [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/gl.rs:251:59 [INFO] [stdout] | [INFO] [stdout] 251 | fn wglCreateContextAttribsARB(hdc: HDC, shareContext: HGLRC, attribList: *const i32) -> HGLRC [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/gl.rs:251:93 [INFO] [stdout] | [INFO] [stdout] 251 | fn wglCreateContextAttribsARB(hdc: HDC, shareContext: HGLRC, attribList: *const i32) -> HGLRC [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/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 250 | / declare_opengl_function!( [INFO] [stdout] 251 | | fn wglCreateContextAttribsARB(hdc: HDC, shareContext: HGLRC, attribList: *const i32) -> HGLRC [INFO] [stdout] 252 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/gl.rs:255:39 [INFO] [stdout] | [INFO] [stdout] 255 | fn wglGetExtensionsStringARB(hdc: HDC) -> *const GLchar, [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/gl.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | let func = wglGetProcAddress(c_str_ptr!(stringify!($name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 254 | / declare_opengl_function!( [INFO] [stdout] 255 | | fn wglGetExtensionsStringARB(hdc: HDC) -> *const GLchar, [INFO] [stdout] 256 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `declare_opengl_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/screenshot.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | handle: 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/screenshot.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let window_dc = GetDC(handle); [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/screenshot.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let memory_dc = CreateCompatibleDC(window_dc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/screenshot.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let bitmap_handle = CreateCompatibleBitmap(window_dc, width as i32, height as i32); [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/screenshot.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let ret = SelectObject(memory_dc, bitmap_handle as HGDIOBJ); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stdout] --> src/screenshot.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | let ret = SelectObject(memory_dc, bitmap_handle as HGDIOBJ); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HGDI_ERROR` in this scope [INFO] [stdout] --> src/screenshot.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!ret.is_null() && ret != HGDI_ERROR); [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/screenshot.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let ret = BitBlt( [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/screenshot.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetObjectA` in this scope [INFO] [stdout] --> src/screenshot.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let ret = GetObjectA( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/screenshot.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | bitmap_handle as HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope [INFO] [stdout] --> src/screenshot.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn take_screenshot( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 81 | size_of::() as i32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/screenshot.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | &mut bitmap as *mut _ as HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope [INFO] [stdout] --> src/screenshot.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | let mut bitmap_info = BITMAPINFO { [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/screenshot.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | bmiHeader: BITMAPINFOHEADER { [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/screenshot.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn take_screenshot( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 91 | biSize: size_of::() as u32, [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/screenshot.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | biCompression: BI_RGB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDIBits` in this scope [INFO] [stdout] --> src/screenshot.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | let ret = GetDIBits( [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/screenshot.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | DIB_RGB_COLORS, [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/screenshot.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | ReleaseDC(handle, window_dc); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/screenshot.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | DeleteDC(memory_dc); [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/screenshot.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | DeleteObject(bitmap_handle as *mut c_void); [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/zoomer.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Zoomer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 58 | hdc: Option, [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/zoomer.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn init(&mut self, window: 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/zoomer.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | self.hdc = Some(unsafe { GetDC(window) }); [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/zoomer.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | fn create_opengl_context(&self, window: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/zoomer.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | let format_descriptor = PIXELFORMATDESCRIPTOR { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIXELFORMATDESCRIPTOR` in this scope [INFO] [stdout] --> src/zoomer.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 66 | impl Zoomer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 83 | nSize: size_of::() as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DRAW_TO_WINDOW` in this scope [INFO] [stdout] --> src/zoomer.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | dwFlags: PFD_DRAW_TO_WINDOW [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_SUPPORT_OPENGL` in this scope [INFO] [stdout] --> src/zoomer.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | | PFD_SUPPORT_OPENGL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_SUPPORT_COMPOSITION` in this scope [INFO] [stdout] --> src/zoomer.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | | PFD_SUPPORT_COMPOSITION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PFD_DOUBLEBUFFER` in this scope [INFO] [stdout] --> src/zoomer.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | | PFD_DOUBLEBUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChoosePixelFormat` in this scope [INFO] [stdout] --> src/zoomer.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | let format_index = unsafe { ChoosePixelFormat(hdc, &format_descriptor) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixelFormat` in this scope [INFO] [stdout] --> src/zoomer.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | assert!(unsafe { SetPixelFormat(hdc, format_index, &format_descriptor) } != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglCreateContext` in this scope [INFO] [stdout] --> src/zoomer.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | let dummy_context = wglCreateContext(hdc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglMakeCurrent` in this scope [INFO] [stdout] --> src/zoomer.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | wglMakeCurrent(hdc, dummy_context); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglMakeCurrent` in this scope [INFO] [stdout] --> src/zoomer.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | wglMakeCurrent(hdc, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglDeleteContext` in this scope [INFO] [stdout] --> src/zoomer.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | wglDeleteContext(dummy_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wglMakeCurrent` in this scope [INFO] [stdout] --> src/zoomer.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(unsafe { wglMakeCurrent(hdc, opengl_handle) } != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/zoomer.rs:388:30 [INFO] [stdout] | [INFO] [stdout] 388 | let width = unsafe { GetSystemMetrics(SM_CXVIRTUALSCREEN) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXVIRTUALSCREEN` in this scope [INFO] [stdout] --> src/zoomer.rs:388:47 [INFO] [stdout] | [INFO] [stdout] 388 | let width = unsafe { GetSystemMetrics(SM_CXVIRTUALSCREEN) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/zoomer.rs:389:31 [INFO] [stdout] | [INFO] [stdout] 389 | let height = unsafe { GetSystemMetrics(SM_CYVIRTUALSCREEN) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYVIRTUALSCREEN` in this scope [INFO] [stdout] --> src/zoomer.rs:389:48 [INFO] [stdout] | [INFO] [stdout] 389 | let height = unsafe { GetSystemMetrics(SM_CYVIRTUALSCREEN) as u32 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/zoomer.rs:390:32 [INFO] [stdout] | [INFO] [stdout] 390 | let start_x = unsafe { GetSystemMetrics(SM_XVIRTUALSCREEN) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_XVIRTUALSCREEN` in this scope [INFO] [stdout] --> src/zoomer.rs:390:49 [INFO] [stdout] | [INFO] [stdout] 390 | let start_x = unsafe { GetSystemMetrics(SM_XVIRTUALSCREEN) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/zoomer.rs:391:32 [INFO] [stdout] | [INFO] [stdout] 391 | let start_y = unsafe { GetSystemMetrics(SM_YVIRTUALSCREEN) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_YVIRTUALSCREEN` in this scope [INFO] [stdout] --> src/zoomer.rs:391:49 [INFO] [stdout] | [INFO] [stdout] 391 | let start_y = unsafe { GetSystemMetrics(SM_YVIRTUALSCREEN) }; [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/zoomer.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | SwapBuffers(self.hdc.unwrap()); [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/zoomer.rs:506:36 [INFO] [stdout] | [INFO] [stdout] 506 | fn is_wgl_extension_supported(hdc: HDC, extension_name: &str) -> bool { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/main.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let instance = unsafe { GetModuleHandleA(std::ptr::null()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExA` in this scope [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | RegisterClassExA(&WNDCLASSEXA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXA` in this scope [INFO] [stdout] --> src/main.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | RegisterClassExA(&WNDCLASSEXA { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXA` in this scope [INFO] [stdout] --> src/main.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | cbSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/main.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/main.rs:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | hCursor: LoadCursorW(std::ptr::null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | WS_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | CW_USEDEFAULT, [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/main.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let hdc = unsafe { GetDC(window) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrA` in this scope [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | SetWindowLongPtrA(window, GWLP_USERDATA, &mut zoomer as *mut _ as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/main.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | SetWindowLongPtrA(window, GWLP_USERDATA, &mut zoomer as *mut _ as isize); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount` in this scope [INFO] [stdout] --> src/main.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | let _start_time = unsafe { GetTickCount() }; [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:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | ShowWindow(window, SW_SHOW); [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:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | ShowWindow(window, 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 `PeekMessageA` in this scope [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | while PeekMessageA(&mut message, window, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/main.rs:85:60 [INFO] [stdout] | [INFO] [stdout] 85 | while PeekMessageA(&mut message, window, 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | TranslateMessage(&message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | DispatchMessageA(&message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount` in this scope [INFO] [stdout] --> src/main.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let _time = GetTickCount() - _start_time; [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:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | handle: HWND, [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:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrW` in this scope [INFO] [stdout] --> src/main.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | let zoomer = &mut *(GetWindowLongPtrW(handle, GWLP_USERDATA) as *mut Zoomer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWLP_USERDATA` in this scope [INFO] [stdout] --> src/main.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 103 | let zoomer = &mut *(GetWindowLongPtrW(handle, GWLP_USERDATA) as *mut Zoomer); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_WHEEL_DELTA_WPARAM` in this scope [INFO] [stdout] --> src/main.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let delta = GET_WHEEL_DELTA_WPARAM(w_param); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_X_LPARAM` in this scope [INFO] [stdout] --> src/main.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let x = GET_X_LPARAM(l_param); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GET_Y_LPARAM` in this scope [INFO] [stdout] --> src/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let y = GET_Y_LPARAM(l_param); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/main.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let width = LOWORD(l_param as DWORD); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | let width = LOWORD(l_param as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/main.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | let height = HIWORD(l_param as DWORD); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | let height = HIWORD(l_param as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/main.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | _ => return DefWindowProcA(handle, message, w_param, l_param), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `os::raw::c_char`, `ptr::null` [INFO] [stdout] --> src/console.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::TryInto, ffi::CString, num::ParseIntError, os::raw::c_char, ptr::null}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ffi::CStr`, `size_of_val`, `size_of` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ffi::CStr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | mem::{size_of, size_of_val}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_str` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use ffi::{c_str, c_str_ptr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl::*` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use gl::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4`, `Vec2`, `Vec3`, `vec2`, `vec3` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use nalgebra_glm::{vec2, vec3, Mat4, Vec2, Vec3}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/zoomer.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 58 | hdc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 138 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zoomer` due to 139 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d60130160f5c3da5ff8cc984440887fb3b791a1f13d01e17cd70fd1cba1fe741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60130160f5c3da5ff8cc984440887fb3b791a1f13d01e17cd70fd1cba1fe741", kill_on_drop: false }` [INFO] [stdout] d60130160f5c3da5ff8cc984440887fb3b791a1f13d01e17cd70fd1cba1fe741