[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] documenting hummingly/rust-texteditor-document-WIP against beta-2023-04-20 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-texteditor-document-WIP" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hummingly/rust-texteditor-document-WIP on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb5dc667eb2bcc6e313953a5e0e485d9477dfd9f11023260ecdcdd19ecb8a73f
[INFO] running `Command { std: "docker" "start" "-a" "eb5dc667eb2bcc6e313953a5e0e485d9477dfd9f11023260ecdcdd19ecb8a73f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb5dc667eb2bcc6e313953a5e0e485d9477dfd9f11023260ecdcdd19ecb8a73f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb5dc667eb2bcc6e313953a5e0e485d9477dfd9f11023260ecdcdd19ecb8a73f", kill_on_drop: false }`
[INFO] [stdout] eb5dc667eb2bcc6e313953a5e0e485d9477dfd9f11023260ecdcdd19ecb8a73f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34daaf75d5c5c6a37fe12bc0f06f2690fb37afc0cdfd8ec8224b9d06029eefe4
[INFO] running `Command { std: "docker" "start" "-a" "34daaf75d5c5c6a37fe12bc0f06f2690fb37afc0cdfd8ec8224b9d06029eefe4", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling gdi32-sys v0.2.0
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]  Documenting winapi v0.1.0 (/opt/rustwide/workdir)
[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[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[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[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 one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use document::lib::ffi::c_void;
[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[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 one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use document::lib::ffi::c_void;
[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[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 `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 `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 `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[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[E0433]: failed to resolve: could not resolve path `IID`
[INFO] [stdout]   --> src/document/lib.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const UuidOfIDWriteFactory: IID = IID {
[INFO] [stdout]    |                                       ^^^ could not resolve path `IID`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error was originally ignored because you are running `rustdoc`
[INFO] [stdout]    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 70 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `winapi`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name winapi src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=d2db6653fc30d75e -L dependency=/opt/rustwide/target/debug/deps --extern gdi32=/opt/rustwide/target/debug/deps/libgdi32-2a8b403cb8df5620.rmeta --extern kernel32=/opt/rustwide/target/debug/deps/libkernel32-67ac85d5137985c1.rmeta --extern user32=/opt/rustwide/target/debug/deps/libuser32-1ffdff27f5e62c18.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-e49b9bc0a818ba33.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "34daaf75d5c5c6a37fe12bc0f06f2690fb37afc0cdfd8ec8224b9d06029eefe4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34daaf75d5c5c6a37fe12bc0f06f2690fb37afc0cdfd8ec8224b9d06029eefe4", kill_on_drop: false }`
[INFO] [stdout] 34daaf75d5c5c6a37fe12bc0f06f2690fb37afc0cdfd8ec8224b9d06029eefe4
