[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 1.46.0 for beta-1.47-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-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 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", 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" "+1.46.0" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6aacd2e3de9e385afd7c3a684d7ae4dfac5341a9687db3bec3cc28d8ce3000f [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" "d6aacd2e3de9e385afd7c3a684d7ae4dfac5341a9687db3bec3cc28d8ce3000f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6aacd2e3de9e385afd7c3a684d7ae4dfac5341a9687db3bec3cc28d8ce3000f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6aacd2e3de9e385afd7c3a684d7ae4dfac5341a9687db3bec3cc28d8ce3000f", kill_on_drop: false }` [INFO] [stdout] d6aacd2e3de9e385afd7c3a684d7ae4dfac5341a9687db3bec3cc28d8ce3000f [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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cac77d079c4e42e8ea25edd4d0744e61bd0d3afc3fa5f1921e0567eefed7f8cb [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" "cac77d079c4e42e8ea25edd4d0744e61bd0d3afc3fa5f1921e0567eefed7f8cb", kill_on_drop: false }` [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 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[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[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: Compilation failed, aborting rustdoc [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 --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern gdi32=/opt/rustwide/target/debug/deps/libgdi32-98b88605129fa4be.rmeta --extern kernel32=/opt/rustwide/target/debug/deps/libkernel32-03c247914a1985c7.rmeta --extern user32=/opt/rustwide/target/debug/deps/libuser32-980a75703039564e.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-6fb04c0e4bf6f496.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "cac77d079c4e42e8ea25edd4d0744e61bd0d3afc3fa5f1921e0567eefed7f8cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac77d079c4e42e8ea25edd4d0744e61bd0d3afc3fa5f1921e0567eefed7f8cb", kill_on_drop: false }` [INFO] [stdout] cac77d079c4e42e8ea25edd4d0744e61bd0d3afc3fa5f1921e0567eefed7f8cb