[INFO] cloning repository https://github.com/davidrios/testwindowtabs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidrios/testwindowtabs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidrios%2Ftestwindowtabs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidrios%2Ftestwindowtabs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43f4ccf2e298376343a7597b45492e39bb5b34e9 [INFO] documenting davidrios/testwindowtabs against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidrios%2Ftestwindowtabs" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidrios/testwindowtabs on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-33/source/.cargo/config [INFO] started tweaking git repo https://github.com/davidrios/testwindowtabs [INFO] finished tweaking git repo https://github.com/davidrios/testwindowtabs [INFO] tweaked toml for git repo https://github.com/davidrios/testwindowtabs written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate git repo https://github.com/davidrios/testwindowtabs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vswhom v0.1.0 [INFO] [stderr] Downloaded vswhom-sys v0.1.0 [INFO] [stderr] Downloaded embed-resource v1.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff6bfa11d546bf268ce4039b13e29556a54f4e77533fb7c0558898cfdac5f1bd [INFO] running `Command { std: "docker" "start" "-a" "ff6bfa11d546bf268ce4039b13e29556a54f4e77533fb7c0558898cfdac5f1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff6bfa11d546bf268ce4039b13e29556a54f4e77533fb7c0558898cfdac5f1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff6bfa11d546bf268ce4039b13e29556a54f4e77533fb7c0558898cfdac5f1bd", kill_on_drop: false }` [INFO] [stdout] ff6bfa11d546bf268ce4039b13e29556a54f4e77533fb7c0558898cfdac5f1bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c7641b91bf2da8fcacf5f2dd22c1b54f501ec518696cd2fdc3afc5f16c2a494 [INFO] running `Command { std: "docker" "start" "-a" "7c7641b91bf2da8fcacf5f2dd22c1b54f501ec518696cd2fdc3afc5f16c2a494", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling embed-resource v1.6.5 [INFO] [stderr] Compiling testwindowtabs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting testwindowtabs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/button.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::d3d9types::D3DCOLORVALUE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/button.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{FALSE, HINSTANCE, LPARAM, LRESULT, TRUE, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/button.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/button.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::d2d1::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/button.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::wingdi::{CreateSolidBrush, DeleteObject, RGB}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/button.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/component.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{FALSE, HINSTANCE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/component.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::{HWND, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/component.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::InvalidateRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/wutils.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::prelude::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/wutils.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::d3d9types::{D3DCOLORVALUE, D3DCOLOR_COLORVALUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/wutils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/wutils.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/wutils.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::winerror::{HRESULT, S_OK}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/wutils.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::d2d1::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/wutils.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::uxtheme::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/wutils.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::dxgiformat::DXGI_FORMAT_R8G8B8A8_UNORM; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::d2d1::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::dcommon::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::wincon::{AttachConsole, ATTACH_PARENT_PROCESS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::wingdi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/wutils.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::Interface`, `crate::wnd_proc_gen`, `crate::wpanic_ifeq`, `crate::wpanic_ifne`, `crate::wpanic_ifnull`, `crate::wutils`, `crate::wpanic_ifeq` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::{wnd_proc_gen, wpanic_ifeq, wpanic_ifne, wpanic_ifnull, wutils}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/component.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::wpanic_ifeq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | hwnd: winapi::shared::windef::HWND, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | message: winapi::shared::minwindef::UINT, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | wparam: winapi::shared::minwindef::WPARAM, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | lparam: winapi::shared::minwindef::LPARAM, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> winapi::shared::minwindef::LRESULT { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | wnd_proc_gen!(Button, wnd_proc_btn); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | hwnd: winapi::shared::windef::HWND, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | message: winapi::shared::minwindef::UINT, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | wparam: winapi::shared::minwindef::WPARAM, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | lparam: winapi::shared::minwindef::LPARAM, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/macros.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> winapi::shared::minwindef::LRESULT { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/button.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 658 | wnd_proc_gen!(ToggleButton, wnd_proc_tbtn); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `wnd_proc_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/button.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | const CM_CLICK: UINT = WM_USER + 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/button.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | const CM_CLICK: UINT = WM_USER + 1; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/button.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | const CM_PAINTLAST: UINT = WM_USER + 2; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/button.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | const CM_PAINTLAST: UINT = WM_USER + 2; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | default: D3DCOLORVALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | hover: D3DCOLORVALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | down: D3DCOLORVALUE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(default: D3DCOLORVALUE, hover: D3DCOLORVALUE, down: D3DCOLORVALUE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(default: D3DCOLORVALUE, hover: D3DCOLORVALUE, down: D3DCOLORVALUE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:45:68 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(default: D3DCOLORVALUE, hover: D3DCOLORVALUE, down: D3DCOLORVALUE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn default(&self) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn hover(&self) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/button.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn down(&self) -> D3DCOLORVALUE { [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/button.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | 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/button.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | d2d_factory: &'a ID2D1Factory, [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/button.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Button<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1HwndRenderTarget` [INFO] [stdout] ... [INFO] [stdout] 78 | d2d_render_target: Option<&'a 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/button.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Button<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1SolidColorBrush` [INFO] [stdout] ... [INFO] [stdout] 79 | d2d_brush: Option<&'a 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/button.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | fn hwnd(&self) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | fn register_class(h_inst: HINSTANCE) -> Result<(), Error> { [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/button.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | parent_hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | h_inst: HINSTANCE, [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/button.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 149 | impl<'a> Button<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1Factory` [INFO] [stdout] ... [INFO] [stdout] 158 | d2d_factory: Option<&'a ID2D1Factory>, [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/button.rs:258:35 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn d2d_factory(&self) -> &ID2D1Factory { [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/button.rs:262:41 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn d2d_render_target(&self) -> &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/button.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn d2d_brush(&self) -> &ID2D1SolidColorBrush { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/button.rs:321:43 [INFO] [stdout] | [INFO] [stdout] 321 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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/button.rs:321:57 [INFO] [stdout] | [INFO] [stdout] 321 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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/button.rs:321:73 [INFO] [stdout] | [INFO] [stdout] 321 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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/button.rs:321:84 [INFO] [stdout] | [INFO] [stdout] 321 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> 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/button.rs:410:11 [INFO] [stdout] | [INFO] [stdout] 410 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | h_inst: HINSTANCE, [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/button.rs:413:22 [INFO] [stdout] | [INFO] [stdout] 413 | d2d_factory: &'a ID2D1Factory, [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/button.rs:442:23 [INFO] [stdout] | [INFO] [stdout] 442 | fn hwnd(&self) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:446:31 [INFO] [stdout] | [INFO] [stdout] 446 | fn register_class(h_inst: HINSTANCE) -> Result<(), Error> { [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/button.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 475 | parent_hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/button.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | h_inst: HINSTANCE, [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/button.rs:483:33 [INFO] [stdout] | [INFO] [stdout] 473 | impl<'a> ToggleButton<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1Factory` [INFO] [stdout] ... [INFO] [stdout] 483 | d2d_factory: Option<&'a ID2D1Factory>, [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/button.rs:590:41 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn d2d_render_target(&self) -> &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/button.rs:594:33 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn d2d_brush(&self) -> &ID2D1SolidColorBrush { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/button.rs:627:43 [INFO] [stdout] | [INFO] [stdout] 627 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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/button.rs:627:57 [INFO] [stdout] | [INFO] [stdout] 627 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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/button.rs:627:73 [INFO] [stdout] | [INFO] [stdout] 627 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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/button.rs:627:84 [INFO] [stdout] | [INFO] [stdout] 627 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> 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/component.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | fn hwnd(&self) -> HWND; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/component.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn register_class(h_inst: HINSTANCE) -> Result<(), Error>; [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/component.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_client_rect(&self) -> RECT { [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/wutils.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/wutils.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [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/wutils.rs:32:66 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [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/wutils.rs:32:82 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [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/wutils.rs:32:93 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe extern "system" fn(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT; [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/wutils.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Hresult(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/wutils.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub close: 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/wutils.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub maximize: 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/wutils.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub minimize: RECT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/wutils.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | h_inst: HINSTANCE, [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/wutils.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_client_rect(handle: HWND) -> Result { [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/wutils.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_client_rect(handle: HWND) -> Result { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_dpi_for_window(handle: HWND) -> Result { [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/wutils.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_titlebar_rect(handle: HWND) -> Result { [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/wutils.rs:165:50 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn get_titlebar_rect(handle: HWND) -> Result { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn fake_shadow_rect(handle: HWND) -> Result { [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/wutils.rs:210:49 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn fake_shadow_rect(handle: HWND) -> Result { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/wutils.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | handle: HWND, [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/wutils.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 219 | title_bar_rect: &RECT, [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/wutils.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn window_is_maximized(handle: HWND) -> Result { [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/wutils.rs:266:30 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn is_mouse_over(handle: HWND) -> Result { [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/wutils.rs:281:44 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn center_rect_in_rect(to_center: &mut RECT, outer_rect: &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/wutils.rs:281:63 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn center_rect_in_rect(to_center: &mut RECT, outer_rect: &RECT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/wutils.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn center_d2drect_in_rect(to_center: &mut D2D1_RECT_F, outer_rect: &D2D1_RECT_F) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_RECT_F` in this scope [INFO] [stdout] --> src/wutils.rs:294:73 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn center_d2drect_in_rect(to_center: &mut D2D1_RECT_F, outer_rect: &D2D1_RECT_F) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/wutils.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn color_from_argb(color: u32) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stdout] --> src/wutils.rs:316:35 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn color_from_colorref(color: COLORREF) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/wutils.rs:316:48 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn color_from_colorref(color: COLORREF) -> D3DCOLORVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DCOLORVALUE` in this scope [INFO] [stdout] --> src/wutils.rs:325:33 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn color_to_colorref(color: D3DCOLORVALUE) -> COLORREF { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COLORREF` in this scope [INFO] [stdout] --> src/wutils.rs:325:51 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn color_to_colorref(color: D3DCOLORVALUE) -> COLORREF { [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/wutils.rs:330:47 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn create_d2d_factory<'a>() -> Result<&'a ID2D1Factory, Error> { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, ID2D1Factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | h_inst: HINSTANCE, [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/main.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | d2d_factory: &'a ID2D1Factory, [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/main.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Window<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1HwndRenderTarget` [INFO] [stdout] ... [INFO] [stdout] 53 | d2d_render_target: Option<&'a 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/main.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Window<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, ID2D1SolidColorBrush` [INFO] [stdout] ... [INFO] [stdout] 54 | d2d_brush: Option<&'a ID2D1SolidColorBrush>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn register_class(h_inst: HINSTANCE) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(parent_hwnd: HWND, h_inst: HINSTANCE) -> Result, Error> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(parent_hwnd: HWND, h_inst: HINSTANCE) -> Result, Error> { [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/main.rs:487:35 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn d2d_factory(&self) -> &ID2D1Factory { [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/main.rs:491:41 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn d2d_render_target(&self) -> &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/main.rs:495:33 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn d2d_brush(&self) -> &ID2D1SolidColorBrush { [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/main.rs:499:85 [INFO] [stdout] | [INFO] [stdout] 499 | fn reposition_component(&self, button_ref: Option<&Box>, rect: RECT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:528:43 [INFO] [stdout] | [INFO] [stdout] 528 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:528:57 [INFO] [stdout] | [INFO] [stdout] 528 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:528:73 [INFO] [stdout] | [INFO] [stdout] 528 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:528:84 [INFO] [stdout] | [INFO] [stdout] 528 | fn handle_message(&mut self, message: UINT, wparam: WPARAM, lparam: LPARAM) -> 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/main.rs:904:35 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:904:50 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:904:64 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:904:80 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:904:91 [INFO] [stdout] | [INFO] [stdout] 904 | extern "system" fn wnd_proc(hwnd: HWND, message: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [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 137 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `testwindowtabs` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name testwindowtabs src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=86dbc3d9bceb7e94 -L dependency=/opt/rustwide/target/debug/deps --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-e70c37c389e3dac1.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "7c7641b91bf2da8fcacf5f2dd22c1b54f501ec518696cd2fdc3afc5f16c2a494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c7641b91bf2da8fcacf5f2dd22c1b54f501ec518696cd2fdc3afc5f16c2a494", kill_on_drop: false }` [INFO] [stdout] 7c7641b91bf2da8fcacf5f2dd22c1b54f501ec518696cd2fdc3afc5f16c2a494