[INFO] cloning repository https://github.com/hummingly/rust-texteditor-document-WIP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hummingly/rust-texteditor-document-WIP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-texteditor-document-WIP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-texteditor-document-WIP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6eadcc3bf6e54c2eb273665281bf6fb51533a018 [INFO] checking hummingly/rust-texteditor-document-WIP against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-texteditor-document-WIP" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hummingly/rust-texteditor-document-WIP on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hummingly/rust-texteditor-document-WIP [INFO] finished tweaking git repo https://github.com/hummingly/rust-texteditor-document-WIP [INFO] tweaked toml for git repo https://github.com/hummingly/rust-texteditor-document-WIP written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/hummingly/rust-texteditor-document-WIP already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5904be03b4467bed4dfff72cf0b5cf3ef78c49e2c1a9fa9732142fa8c296a98 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c5904be03b4467bed4dfff72cf0b5cf3ef78c49e2c1a9fa9732142fa8c296a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5904be03b4467bed4dfff72cf0b5cf3ef78c49e2c1a9fa9732142fa8c296a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5904be03b4467bed4dfff72cf0b5cf3ef78c49e2c1a9fa9732142fa8c296a98", kill_on_drop: false }` [INFO] [stdout] c5904be03b4467bed4dfff72cf0b5cf3ef78c49e2c1a9fa9732142fa8c296a98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 173715df856a1c4057d5745744b6e602c5b6b04f673a644861541083dea43e01 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "173715df856a1c4057d5745744b6e602c5b6b04f673a644861541083dea43e01", kill_on_drop: false }` [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Checking winapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/document/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | #[allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `too_many_arguments` [INFO] [stdout] --> src/document/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | #[allow(too_many_arguments)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kernel32::GetLastError` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use kernel32::GetLastError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `GetLastError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `user32::MessageBoxW` [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use user32::MessageBoxW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `MessageBoxW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::d2d1` [INFO] [stdout] --> src/utils.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::d2d1::*; [INFO] [stdout] | ^^^^ could not find `d2d1` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::dcommon` [INFO] [stdout] --> src/utils.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::dcommon::{D2D1_ALPHA_MODE_IGNORE, D2D1_PIXEL_FORMAT}; [INFO] [stdout] | ^^^^^^^ could not find `dcommon` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::dxgiformat` [INFO] [stdout] --> src/utils.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::dxgiformat::DXGI_FORMAT; [INFO] [stdout] | ^^^^^^^^^^ could not find `dxgiformat` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/utils.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::windef::{POINT, RECT}; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::winuser` [INFO] [stdout] --> src/utils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::winuser::{MB_OK, MSG, PAINTSTRUCT}; [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gdi32::GetDeviceCaps` [INFO] [stdout] --> src/document/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gdi32::GetDeviceCaps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `GetDeviceCaps` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kernel32::GetModuleHandleW` [INFO] [stdout] --> src/document/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use kernel32::GetModuleHandleW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetModuleHandleW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kernel32::GetLastError` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use kernel32::GetLastError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `GetLastError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `user32::MessageBoxW` [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use user32::MessageBoxW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `MessageBoxW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::d2d1` [INFO] [stdout] --> src/utils.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::d2d1::*; [INFO] [stdout] | ^^^^ could not find `d2d1` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::dcommon` [INFO] [stdout] --> src/utils.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::dcommon::{D2D1_ALPHA_MODE_IGNORE, D2D1_PIXEL_FORMAT}; [INFO] [stdout] | ^^^^^^^ could not find `dcommon` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::dxgiformat` [INFO] [stdout] --> src/utils.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::dxgiformat::DXGI_FORMAT; [INFO] [stdout] | ^^^^^^^^^^ could not find `dxgiformat` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::windef` [INFO] [stdout] --> src/utils.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::windef::{POINT, RECT}; [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::winuser` [INFO] [stdout] --> src/utils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::winuser::{MB_OK, MSG, PAINTSTRUCT}; [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gdi32::GetDeviceCaps` [INFO] [stdout] --> src/document/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gdi32::GetDeviceCaps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `GetDeviceCaps` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kernel32::GetModuleHandleW` [INFO] [stdout] --> src/document/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use kernel32::GetModuleHandleW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetModuleHandleW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/utils.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | impl WinStruct for D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/utils.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope [INFO] [stdout] --> src/utils.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | _type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE` in this scope [INFO] [stdout] --> src/utils.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | usage: D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FEATURE_LEVEL_DEFAULT` in this scope [INFO] [stdout] --> src/utils.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stdout] --> src/utils.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | impl WinStruct for D2D1_MATRIX_3X2_F { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stdout] --> src/utils.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | D2D1_MATRIX_3X2_F { matrix: [[1.0, 0.0], [0.0, 1.0], [0.0, 0.0]] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/utils.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | impl WinStruct for D2D1_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/utils.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | D2D1_POINT_2F { x: 0.0, y: 0.0 } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IID` in this scope [INFO] [stdout] --> src/document/lib.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub const UuidOfIDWriteFactory: IID = IID { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IID` in this scope [INFO] [stdout] --> src/document/lib.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub const UuidOfIDWriteFactory: IID = IID { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope [INFO] [stdout] --> src/document/lib.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 17 | type D2D1CreateFactoryFn = extern "system" fn(factoryType: D2D1_FACTORY_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/document/lib.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 18 | ... riid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/document/lib.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | ... pFactoryOptions: *const D2D1_FACTORY_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/document/lib.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | ... ppIFactory: *mut *mut c_void) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | ... -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope [INFO] [stdout] --> src/document/lib.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | type DWriteCreateFactoryFn = extern "system" fn(factoryType: DWRITE_FACTORY_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/document/lib.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | ... iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/document/lib.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | ... factory: *mut *mut IUnknown) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | ... -> HRESULT; [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/document/lib.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn load_library(lib: &str) -> HMODULE { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/document/lib.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let mut library = GetModuleHandleW(lib_name.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/document/lib.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | library = LoadLibraryW(lib_name.as_ptr()); [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/document/lib.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let function_ptr = GetProcAddress(lib, procedure.as_ptr()); [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/document/lib.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let function_ptr = GetProcAddress(lib, procedure.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope [INFO] [stdout] --> src/document/lib.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | factory_type: D2D1_FACTORY_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/document/lib.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | riid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/document/lib.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | p_factory_options: *const D2D1_FACTORY_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/document/lib.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | pp_factory: *mut *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope [INFO] [stdout] --> src/document/lib.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | factory_type: DWRITE_FACTORY_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/document/lib.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/document/lib.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | pp_factory: *mut *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | ) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stdout] --> src/document/lib.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | font_collection: *mut IDWriteFontCollection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stdout] --> src/document/lib.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | font_weight: DWRITE_FONT_WEIGHT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stdout] --> src/document/lib.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | font_style: DWRITE_FONT_STYLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stdout] --> src/document/lib.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | font_stretch: DWRITE_FONT_STRETCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/lib.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | text_format: *mut *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/lib.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | text_format: *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stdout] --> src/document/lib.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | text_layout: *mut *mut IDWriteTextLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/document/lib.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DWriteFactory { [INFO] [stdout] | ----------------------- similarly named trait `DWriteFactory` defined here [INFO] [stdout] ... [INFO] [stdout] 113 | impl DWriteFactory for IDWriteFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `DWriteFactory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stdout] --> src/document/lib.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | font_collection: *mut IDWriteFontCollection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stdout] --> src/document/lib.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | font_weight: DWRITE_FONT_WEIGHT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stdout] --> src/document/lib.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | font_style: DWRITE_FONT_STYLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stdout] --> src/document/lib.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | font_stretch: DWRITE_FONT_STRETCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/lib.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | text_format: *mut *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | ) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/lib.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | text_format: *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stdout] --> src/document/lib.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | text_layout: *mut *mut IDWriteTextLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/document/lib.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | impl Brush for D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/document/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/document/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/document/lib.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/document/mod.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub render_target: *mut ID2D1HwndRenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/document/mod.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub brush: *mut ID2D1SolidColorBrush, [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/document/mod.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/document/mod.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub d2d1_factory: *mut ID2D1Factory, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/document/mod.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub dwrite_factory: *mut IDWriteFactory, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `DWriteFactory` [INFO] [stdout] | [INFO] [stdout] ::: src/document/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DWriteFactory { [INFO] [stdout] | ----------------------- similarly named trait `DWriteFactory` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/mod.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub text_format: *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stdout] --> src/document/mod.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub text_layout: *mut IDWriteTextLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/document/mod.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let mut d2d1_factory: *mut c_void = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/document/mod.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | let factory_options = D2D1_FACTORY_OPTIONS { debugLevel: D2D1_DEBUG_LEVEL_NONE }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_NONE` in this scope [INFO] [stdout] --> src/document/mod.rs:56:62 [INFO] [stdout] | [INFO] [stdout] 56 | let factory_options = D2D1_FACTORY_OPTIONS { debugLevel: D2D1_DEBUG_LEVEL_NONE }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_MULTI_THREADED` in this scope [INFO] [stdout] --> src/document/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | D2D1_FACTORY_TYPE_MULTI_THREADED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UuidOfID2D1Factory` in this scope [INFO] [stdout] --> src/document/mod.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | &UuidOfID2D1Factory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UuidOfIDWriteFactory` [INFO] [stdout] | [INFO] [stdout] ::: src/document/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const UuidOfIDWriteFactory: IID = IID { [INFO] [stdout] | ----------------------------------------- similarly named constant `UuidOfIDWriteFactory` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/document/mod.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | &factory_options as *const D2D1_FACTORY_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/document/mod.rs:67:49 [INFO] [stdout] | [INFO] [stdout] 67 | doc.d2d1_factory = d2d1_factory as *mut ID2D1Factory; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/document/mod.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | let mut dwrite_factory: *mut IUnknown = null_mut(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope [INFO] [stdout] --> src/document/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | DWRITE_FACTORY_TYPE_SHARED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/document/mod.rs:80:53 [INFO] [stdout] | [INFO] [stdout] 80 | doc.dwrite_factory = dwrite_factory as *mut IDWriteFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `DWriteFactory` [INFO] [stdout] | [INFO] [stdout] ::: src/document/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DWriteFactory { [INFO] [stdout] | ----------------------- similarly named trait `DWriteFactory` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/document/mod.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | let dwrite_factory: &mut IDWriteFactory = unsafe { &mut *doc.dwrite_factory }; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `DWriteFactory` [INFO] [stdout] | [INFO] [stdout] ::: src/document/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DWriteFactory { [INFO] [stdout] | ----------------------- similarly named trait `DWriteFactory` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_REGULAR` in this scope [INFO] [stdout] --> src/document/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | DWRITE_FONT_WEIGHT_REGULAR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope [INFO] [stdout] --> src/document/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | DWRITE_FONT_STYLE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope [INFO] [stdout] --> src/document/mod.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | DWRITE_FONT_STRETCH_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let mut rect: RECT = WinStruct::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/document/mod.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { GetClientRect(doc.hwnd, &mut rect as *mut RECT) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { GetClientRect(doc.hwnd, &mut rect as *mut RECT) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | let mut rect: RECT = WinStruct::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/document/mod.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | GetClientRect(doc.hwnd, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:131:55 [INFO] [stdout] | [INFO] [stdout] 131 | GetClientRect(doc.hwnd, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope [INFO] [stdout] --> src/document/mod.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | let d2d_rect = D2D1_SIZE_U { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/document/mod.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | let render_properties: D2D1_RENDER_TARGET_PROPERTIES = WinStruct::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/document/mod.rs:140:42 [INFO] [stdout] | [INFO] [stdout] 140 | let hwnd_render_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/document/mod.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/document/mod.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | let factory: &mut ID2D1Factory = &mut *doc.d2d1_factory; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/document/mod.rs:157:37 [INFO] [stdout] | [INFO] [stdout] 157 | let render_target: &mut ID2D1HwndRenderTarget = &mut *doc.resources.render_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/mod.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | fn on_paint(doc: &mut TextDocument) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stdout] --> src/document/mod.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | let d2d1_matrix: D2D1_MATRIX_3X2_F = WinStruct::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/utils.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | impl WinStruct for D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/utils.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | D2D1_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_TYPE_DEFAULT` in this scope [INFO] [stdout] --> src/utils.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | _type: D2D1_RENDER_TARGET_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE` in this scope [INFO] [stdout] --> src/utils.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | usage: D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FEATURE_LEVEL_DEFAULT` in this scope [INFO] [stdout] --> src/utils.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | minLevel: D2D1_FEATURE_LEVEL_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stdout] --> src/utils.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | impl WinStruct for D2D1_MATRIX_3X2_F { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stdout] --> src/utils.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | D2D1_MATRIX_3X2_F { matrix: [[1.0, 0.0], [0.0, 1.0], [0.0, 0.0]] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/utils.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | impl WinStruct for D2D1_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/utils.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | D2D1_POINT_2F { x: 0.0, y: 0.0 } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IID` in this scope [INFO] [stdout] --> src/document/lib.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub const UuidOfIDWriteFactory: IID = IID { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IID` in this scope [INFO] [stdout] --> src/document/lib.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub const UuidOfIDWriteFactory: IID = IID { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope [INFO] [stdout] --> src/document/lib.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 17 | type D2D1CreateFactoryFn = extern "system" fn(factoryType: D2D1_FACTORY_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/document/lib.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 18 | ... riid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/document/lib.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | ... pFactoryOptions: *const D2D1_FACTORY_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/document/lib.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | ... ppIFactory: *mut *mut c_void) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | ... -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope [INFO] [stdout] --> src/document/lib.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | type DWriteCreateFactoryFn = extern "system" fn(factoryType: DWRITE_FACTORY_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/document/lib.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | ... iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/document/lib.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | ... factory: *mut *mut IUnknown) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | ... -> HRESULT; [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/document/lib.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn load_library(lib: &str) -> HMODULE { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/document/lib.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let mut library = GetModuleHandleW(lib_name.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/document/lib.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | library = LoadLibraryW(lib_name.as_ptr()); [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/document/lib.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | let function_ptr = GetProcAddress(lib, procedure.as_ptr()); [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/document/lib.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let function_ptr = GetProcAddress(lib, procedure.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope [INFO] [stdout] --> src/document/lib.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | factory_type: D2D1_FACTORY_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/document/lib.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | riid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/document/lib.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | p_factory_options: *const D2D1_FACTORY_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/document/lib.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | pp_factory: *mut *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FACTORY_TYPE` in this scope [INFO] [stdout] --> src/document/lib.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | factory_type: DWRITE_FACTORY_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/document/lib.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/document/lib.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | pp_factory: *mut *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | ) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stdout] --> src/document/lib.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | font_collection: *mut IDWriteFontCollection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stdout] --> src/document/lib.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | font_weight: DWRITE_FONT_WEIGHT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stdout] --> src/document/lib.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | font_style: DWRITE_FONT_STYLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stdout] --> src/document/lib.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | font_stretch: DWRITE_FONT_STRETCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/lib.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | text_format: *mut *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/lib.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | text_format: *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stdout] --> src/document/lib.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | text_layout: *mut *mut IDWriteTextLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | let mut rect: RECT = WinStruct::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/document/mod.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | GetClientRect(doc.hwnd, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | GetClientRect(doc.hwnd, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/document/mod.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let origin = D2D1_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Brush` in this scope [INFO] [stdout] --> src/document/mod.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | &mut **doc.resources.brush as *mut ID2D1Brush, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/document/mod.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | D2D1_DRAW_TEXT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/document/lib.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DWriteFactory { [INFO] [stdout] | ----------------------- similarly named trait `DWriteFactory` defined here [INFO] [stdout] ... [INFO] [stdout] 113 | impl DWriteFactory for IDWriteFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `DWriteFactory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/document/mod.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | let screen = GetDC(null_mut()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOGPIXELSX` in this scope [INFO] [stdout] --> src/document/mod.rs:240:49 [INFO] [stdout] | [INFO] [stdout] 240 | doc.dpi_scale_x = GetDeviceCaps(screen, LOGPIXELSX) / 96; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOGPIXELSY` in this scope [INFO] [stdout] --> src/document/mod.rs:241:49 [INFO] [stdout] | [INFO] [stdout] 241 | doc.dpi_scale_y = GetDeviceCaps(screen, LOGPIXELSY) / 96; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFontCollection` in this scope [INFO] [stdout] --> src/document/lib.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | font_collection: *mut IDWriteFontCollection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/document/mod.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | let wndcl = WNDCLASSEXW { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/document/mod.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn init_text(mut doc: &mut TextDocument) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 250 | cbSize: mem::size_of::() as UINT32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/document/mod.rs:250:54 [INFO] [stdout] | [INFO] [stdout] 250 | cbSize: mem::size_of::() as UINT32, [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/document/mod.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_WEIGHT` in this scope [INFO] [stdout] --> src/document/lib.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | font_weight: DWRITE_FONT_WEIGHT, [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/document/mod.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT32` in this scope [INFO] [stdout] --> src/document/mod.rs:254:59 [INFO] [stdout] | [INFO] [stdout] 254 | cbWndExtra: mem::size_of::() as INT32, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/document/mod.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | hIcon: 0 as HICON, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_STYLE` in this scope [INFO] [stdout] --> src/document/lib.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | font_style: DWRITE_FONT_STYLE, [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/document/mod.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | hCursor: LoadCursorW(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/document/mod.rs:257:46 [INFO] [stdout] | [INFO] [stdout] 257 | hCursor: LoadCursorW(null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWRITE_FONT_STRETCH` in this scope [INFO] [stdout] --> src/document/lib.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | font_stretch: DWRITE_FONT_STRETCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COLOR_WINDOWFRAME` in this scope [INFO] [stdout] --> src/document/mod.rs:258:28 [INFO] [stdout] | [INFO] [stdout] 258 | hbrBackground: COLOR_WINDOWFRAME as HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/document/mod.rs:258:49 [INFO] [stdout] | [INFO] [stdout] 258 | hbrBackground: COLOR_WINDOWFRAME as HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/document/mod.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | hIconSm: 0 as HICON, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/lib.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | text_format: *mut *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/document/mod.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | match RegisterClassExW(&wndcl) { [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/document/mod.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | ) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/document/mod.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | RegisterClassExW(&wndcl); [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/document/mod.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | PostQuitMessage(0); [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/document/mod.rs:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | fn create_window() -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/lib.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | text_format: *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/document/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope [INFO] [stdout] --> src/document/mod.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | WS_EX_COMPOSITED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stdout] --> src/document/lib.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | text_layout: *mut *mut IDWriteTextLayout, [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/document/mod.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/document/mod.rs:296:35 [INFO] [stdout] | [INFO] [stdout] 296 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [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/document/mod.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/lib.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> HRESULT { [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/document/mod.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | CW_USEDEFAULT, [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/document/mod.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/document/mod.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | message: UINT32, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/document/lib.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | impl Brush for D2D1_COLOR_F { [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/document/mod.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | 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/document/mod.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/document/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | D2D1_COLOR_F { [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/document/mod.rs:315:6 [INFO] [stdout] | [INFO] [stdout] 315 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2DERR_RECREATE_TARGET` in this scope [INFO] [stdout] --> src/document/mod.rs:321:33 [INFO] [stdout] | [INFO] [stdout] 321 | if on_paint(doc) == D2DERR_RECREATE_TARGET { [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/document/mod.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | let width = GET_X_LPARAM(lparam); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/document/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | D2D1_COLOR_F { [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/document/mod.rs:328:26 [INFO] [stdout] | [INFO] [stdout] 328 | let height = GET_Y_LPARAM(lparam); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/document/mod.rs:331:35 [INFO] [stdout] | [INFO] [stdout] 331 | let render_size = D2D_SIZE_U { [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/document/mod.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_COLOR_F` in this scope [INFO] [stdout] --> src/document/lib.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | D2D1_COLOR_F { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope [INFO] [stdout] --> src/document/mod.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | UnregisterClassW( [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/document/mod.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | _ => DefWindowProcW(hwnd, message, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/document/mod.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub render_target: *mut ID2D1HwndRenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/document/mod.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 365 | let mut msg: MSG = WinStruct::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/document/mod.rs:367:15 [INFO] [stdout] | [INFO] [stdout] 367 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/document/mod.rs:367:44 [INFO] [stdout] | [INFO] [stdout] 367 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/document/mod.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub brush: *mut ID2D1SolidColorBrush, [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/document/mod.rs:367:54 [INFO] [stdout] | [INFO] [stdout] 367 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 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/document/mod.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | TranslateMessage(&msg as *const MSG); [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/document/mod.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/document/mod.rs:368:45 [INFO] [stdout] | [INFO] [stdout] 368 | TranslateMessage(&msg as *const MSG); [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/document/mod.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | DispatchMessageW(&msg as *const MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/document/mod.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub d2d1_factory: *mut ID2D1Factory, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/document/mod.rs:369:45 [INFO] [stdout] | [INFO] [stdout] 369 | DispatchMessageW(&msg as *const MSG); [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/document/mod.rs:375:25 [INFO] [stdout] | [INFO] [stdout] 375 | fn get_window_ptr(hwnd: HWND) -> *mut TextDocument { [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/document/mod.rs:376:14 [INFO] [stdout] | [INFO] [stdout] 376 | unsafe { GetWindowLongPtrW(hwnd, 0) as *mut TextDocument } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/document/mod.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | SetWindowLongPtrW(doc.hwnd, 0, doc as *mut TextDocument as LONG_PTR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/document/mod.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub dwrite_factory: *mut IDWriteFactory, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `DWriteFactory` [INFO] [stdout] | [INFO] [stdout] ::: src/document/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DWriteFactory { [INFO] [stdout] | ----------------------- similarly named trait `DWriteFactory` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/document/mod.rs:381:68 [INFO] [stdout] | [INFO] [stdout] 381 | SetWindowLongPtrW(doc.hwnd, 0, doc as *mut TextDocument as LONG_PTR); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kernel32::*` [INFO] [stdout] --> src/document/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use kernel32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/document/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextFormat` in this scope [INFO] [stdout] --> src/document/mod.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub text_format: *mut IDWriteTextFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteTextLayout` in this scope [INFO] [stdout] --> src/document/mod.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pub text_layout: *mut IDWriteTextLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/document/mod.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let mut d2d1_factory: *mut c_void = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/document/mod.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | let factory_options = D2D1_FACTORY_OPTIONS { debugLevel: D2D1_DEBUG_LEVEL_NONE }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DEBUG_LEVEL_NONE` in this scope [INFO] [stdout] --> src/document/mod.rs:56:62 [INFO] [stdout] | [INFO] [stdout] 56 | let factory_options = D2D1_FACTORY_OPTIONS { debugLevel: D2D1_DEBUG_LEVEL_NONE }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_FACTORY_TYPE_MULTI_THREADED` in this scope [INFO] [stdout] --> src/document/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | D2D1_FACTORY_TYPE_MULTI_THREADED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UuidOfID2D1Factory` in this scope [INFO] [stdout] --> src/document/mod.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | &UuidOfID2D1Factory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UuidOfIDWriteFactory` [INFO] [stdout] | [INFO] [stdout] ::: src/document/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const UuidOfIDWriteFactory: IID = IID { [INFO] [stdout] | ----------------------------------------- similarly named constant `UuidOfIDWriteFactory` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/document/mod.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | &factory_options as *const D2D1_FACTORY_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/document/mod.rs:67:49 [INFO] [stdout] | [INFO] [stdout] 67 | doc.d2d1_factory = d2d1_factory as *mut ID2D1Factory; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/document/mod.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | let mut dwrite_factory: *mut IUnknown = null_mut(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FACTORY_TYPE_SHARED` in this scope [INFO] [stdout] --> src/document/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | DWRITE_FACTORY_TYPE_SHARED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/document/mod.rs:80:53 [INFO] [stdout] | [INFO] [stdout] 80 | doc.dwrite_factory = dwrite_factory as *mut IDWriteFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `DWriteFactory` [INFO] [stdout] | [INFO] [stdout] ::: src/document/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DWriteFactory { [INFO] [stdout] | ----------------------- similarly named trait `DWriteFactory` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDWriteFactory` in this scope [INFO] [stdout] --> src/document/mod.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | let dwrite_factory: &mut IDWriteFactory = unsafe { &mut *doc.dwrite_factory }; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `DWriteFactory` [INFO] [stdout] | [INFO] [stdout] ::: src/document/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DWriteFactory { [INFO] [stdout] | ----------------------- similarly named trait `DWriteFactory` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_WEIGHT_REGULAR` in this scope [INFO] [stdout] --> src/document/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | DWRITE_FONT_WEIGHT_REGULAR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STYLE_NORMAL` in this scope [INFO] [stdout] --> src/document/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | DWRITE_FONT_STYLE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWRITE_FONT_STRETCH_NORMAL` in this scope [INFO] [stdout] --> src/document/mod.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | DWRITE_FONT_STRETCH_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let mut rect: RECT = WinStruct::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/document/mod.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { GetClientRect(doc.hwnd, &mut rect as *mut RECT) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { GetClientRect(doc.hwnd, &mut rect as *mut RECT) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | let mut rect: RECT = WinStruct::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/document/mod.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | GetClientRect(doc.hwnd, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:131:55 [INFO] [stdout] | [INFO] [stdout] 131 | GetClientRect(doc.hwnd, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_SIZE_U` in this scope [INFO] [stdout] --> src/document/mod.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | let d2d_rect = D2D1_SIZE_U { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/document/mod.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | let render_properties: D2D1_RENDER_TARGET_PROPERTIES = WinStruct::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_HWND_RENDER_TARGET_PROPERTIES` in this scope [INFO] [stdout] --> src/document/mod.rs:140:42 [INFO] [stdout] | [INFO] [stdout] 140 | let hwnd_render_properties = D2D1_HWND_RENDER_TARGET_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_PRESENT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/document/mod.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | presentOptions: D2D1_PRESENT_OPTIONS_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/document/mod.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | let factory: &mut ID2D1Factory = &mut *doc.d2d1_factory; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | ) != S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/document/mod.rs:157:37 [INFO] [stdout] | [INFO] [stdout] 157 | let render_target: &mut ID2D1HwndRenderTarget = &mut *doc.resources.render_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stdout] --> src/document/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | S_OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/document/mod.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | fn on_paint(doc: &mut TextDocument) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_MATRIX_3X2_F` in this scope [INFO] [stdout] --> src/document/mod.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | let d2d1_matrix: D2D1_MATRIX_3X2_F = WinStruct::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | let mut rect: RECT = WinStruct::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/document/mod.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | GetClientRect(doc.hwnd, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/document/mod.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | GetClientRect(doc.hwnd, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D1_POINT_2F` in this scope [INFO] [stdout] --> src/document/mod.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let origin = D2D1_POINT_2F { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Brush` in this scope [INFO] [stdout] --> src/document/mod.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | &mut **doc.resources.brush as *mut ID2D1Brush, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2D1_DRAW_TEXT_OPTIONS_NONE` in this scope [INFO] [stdout] --> src/document/mod.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | D2D1_DRAW_TEXT_OPTIONS_NONE, [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/document/mod.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | let screen = GetDC(null_mut()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOGPIXELSX` in this scope [INFO] [stdout] --> src/document/mod.rs:240:49 [INFO] [stdout] | [INFO] [stdout] 240 | doc.dpi_scale_x = GetDeviceCaps(screen, LOGPIXELSX) / 96; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOGPIXELSY` in this scope [INFO] [stdout] --> src/document/mod.rs:241:49 [INFO] [stdout] | [INFO] [stdout] 241 | doc.dpi_scale_y = GetDeviceCaps(screen, LOGPIXELSY) / 96; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/document/mod.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | let wndcl = WNDCLASSEXW { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/document/mod.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn init_text(mut doc: &mut TextDocument) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 250 | cbSize: mem::size_of::() as UINT32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/document/mod.rs:250:54 [INFO] [stdout] | [INFO] [stdout] 250 | cbSize: mem::size_of::() as UINT32, [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/document/mod.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | style: 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/document/mod.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT32` in this scope [INFO] [stdout] --> src/document/mod.rs:254:59 [INFO] [stdout] | [INFO] [stdout] 254 | cbWndExtra: mem::size_of::() as INT32, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/document/mod.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | hIcon: 0 as HICON, [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/document/mod.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | hCursor: LoadCursorW(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/document/mod.rs:257:46 [INFO] [stdout] | [INFO] [stdout] 257 | hCursor: LoadCursorW(null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COLOR_WINDOWFRAME` in this scope [INFO] [stdout] --> src/document/mod.rs:258:28 [INFO] [stdout] | [INFO] [stdout] 258 | hbrBackground: COLOR_WINDOWFRAME as HBRUSH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/document/mod.rs:258:49 [INFO] [stdout] | [INFO] [stdout] 258 | hbrBackground: COLOR_WINDOWFRAME as HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/document/mod.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | hIconSm: 0 as HICON, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/document/mod.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | match RegisterClassExW(&wndcl) { [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/document/mod.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | 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 `RegisterClassExW` in this scope [INFO] [stdout] --> src/document/mod.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | RegisterClassExW(&wndcl); [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/document/mod.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | PostQuitMessage(0); [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/document/mod.rs:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | fn create_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 `CreateWindowExW` in this scope [INFO] [stdout] --> src/document/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_COMPOSITED` in this scope [INFO] [stdout] --> src/document/mod.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | WS_EX_COMPOSITED, [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/document/mod.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/document/mod.rs:296:35 [INFO] [stdout] | [INFO] [stdout] 296 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [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/document/mod.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | 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/document/mod.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | CW_USEDEFAULT, [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/document/mod.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT32` in this scope [INFO] [stdout] --> src/document/mod.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | message: UINT32, [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/document/mod.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | 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/document/mod.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | 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/document/mod.rs:315:6 [INFO] [stdout] | [INFO] [stdout] 315 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D2DERR_RECREATE_TARGET` in this scope [INFO] [stdout] --> src/document/mod.rs:321:33 [INFO] [stdout] | [INFO] [stdout] 321 | if on_paint(doc) == D2DERR_RECREATE_TARGET { [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/document/mod.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | let width = GET_X_LPARAM(lparam); [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/document/mod.rs:328:26 [INFO] [stdout] | [INFO] [stdout] 328 | let height = GET_Y_LPARAM(lparam); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D2D_SIZE_U` in this scope [INFO] [stdout] --> src/document/mod.rs:331:35 [INFO] [stdout] | [INFO] [stdout] 331 | let render_size = D2D_SIZE_U { [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/document/mod.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | 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 `UnregisterClassW` in this scope [INFO] [stdout] --> src/document/mod.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | UnregisterClassW( [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/document/mod.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | _ => DefWindowProcW(hwnd, message, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user32::*` [INFO] [stdout] --> src/document/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use user32::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/document/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/document/mod.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 365 | let mut msg: MSG = WinStruct::default(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/document/mod.rs:367:15 [INFO] [stdout] | [INFO] [stdout] 367 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/document/mod.rs:367:44 [INFO] [stdout] | [INFO] [stdout] 367 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 0 { [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/document/mod.rs:367:54 [INFO] [stdout] | [INFO] [stdout] 367 | while GetMessageW(&mut msg as *mut MSG, 0 as HWND, 0, 0) != 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/document/mod.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | TranslateMessage(&msg as *const MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/document/mod.rs:368:45 [INFO] [stdout] | [INFO] [stdout] 368 | TranslateMessage(&msg as *const MSG); [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/document/mod.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | DispatchMessageW(&msg as *const MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/document/mod.rs:369:45 [INFO] [stdout] | [INFO] [stdout] 369 | DispatchMessageW(&msg as *const MSG); [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/document/mod.rs:375:25 [INFO] [stdout] | [INFO] [stdout] 375 | fn get_window_ptr(hwnd: HWND) -> *mut TextDocument { [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/document/mod.rs:376:14 [INFO] [stdout] | [INFO] [stdout] 376 | unsafe { GetWindowLongPtrW(hwnd, 0) as *mut TextDocument } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrW` in this scope [INFO] [stdout] --> src/document/mod.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | SetWindowLongPtrW(doc.hwnd, 0, doc as *mut TextDocument as LONG_PTR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG_PTR` in this scope [INFO] [stdout] --> src/document/mod.rs:381:68 [INFO] [stdout] | [INFO] [stdout] 381 | SetWindowLongPtrW(doc.hwnd, 0, doc as *mut TextDocument as LONG_PTR); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kernel32::*` [INFO] [stdout] --> src/document/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use kernel32::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/document/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user32::*` [INFO] [stdout] --> src/document/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use user32::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/document/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | ffi::OsStr::new(self).encode_wide().chain(Some(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 166 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 166 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winapi` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "173715df856a1c4057d5745744b6e602c5b6b04f673a644861541083dea43e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "173715df856a1c4057d5745744b6e602c5b6b04f673a644861541083dea43e01", kill_on_drop: false }` [INFO] [stdout] 173715df856a1c4057d5745744b6e602c5b6b04f673a644861541083dea43e01