[INFO] crate win-opacity 1.0.0 is already in cache [INFO] documenting win-opacity-1.0.0 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate win-opacity 1.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate win-opacity 1.0.0 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate win-opacity 1.0.0 [INFO] finished tweaking crates.io crate win-opacity 1.0.0 [INFO] tweaked toml for crates.io crate win-opacity 1.0.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44b692a1a6d2e16d6db80e0e3373b5de05ab6ea8241e8e15712ffde2b09a72a0 [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" "44b692a1a6d2e16d6db80e0e3373b5de05ab6ea8241e8e15712ffde2b09a72a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44b692a1a6d2e16d6db80e0e3373b5de05ab6ea8241e8e15712ffde2b09a72a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44b692a1a6d2e16d6db80e0e3373b5de05ab6ea8241e8e15712ffde2b09a72a0", kill_on_drop: false }` [INFO] [stdout] 44b692a1a6d2e16d6db80e0e3373b5de05ab6ea8241e8e15712ffde2b09a72a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1c7ab0196455763834e04411a126e8e8731517c80fbd44767e024e69da5d328 [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" "d1c7ab0196455763834e04411a126e8e8731517c80fbd44767e024e69da5d328", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking crossterm v0.2.2 [INFO] [stderr] Documenting win-opacity v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`? [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::minwindef::{BOOL, DWORD, LPARAM, TRUE}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `winapi`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`? [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::windef::HWND as Handle; [INFO] [stdout] | ^^^^^^ maybe a missing crate `winapi`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`? [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::{LONG, LPSTR}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `winapi`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`? [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser; [INFO] [stdout] | ^^^^^^ maybe a missing crate `winapi`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handle` in this scope [INFO] [stdout] --> src/lib.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | extern "system" fn enum_windows_callback(handle: Handle, lparam: LPARAM) -> BOOL { [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/lib.rs:17:66 [INFO] [stdout] | [INFO] [stdout] 17 | extern "system" fn enum_windows_callback(handle: Handle, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:17:77 [INFO] [stdout] | [INFO] [stdout] 17 | extern "system" fn enum_windows_callback(handle: Handle, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handle` in this scope [INFO] [stdout] --> src/lib.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_all_windows() -> Vec { [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 `Handle` in this scope [INFO] [stdout] --> src/lib.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_window_title(handle: &Handle) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handle` in this scope [INFO] [stdout] --> src/lib.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn is_window_visible(handle: &Handle) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handle` in this scope [INFO] [stdout] --> src/lib.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_visible_windows() -> Vec { [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 `Handle` in this scope [INFO] [stdout] --> src/lib.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn set_opacity(handle: Handle, opacity: u8) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/lib.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | const WS_EX_LAYERED: LONG = 0x80000; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | const LWA_ALPHA: DWORD = 0x2; [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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `win-opacity`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name win_opacity src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern crossterm=/opt/rustwide/target/debug/deps/libcrossterm-352aeee759309595.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-a2776535adb6682c.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "d1c7ab0196455763834e04411a126e8e8731517c80fbd44767e024e69da5d328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c7ab0196455763834e04411a126e8e8731517c80fbd44767e024e69da5d328", kill_on_drop: false }` [INFO] [stdout] d1c7ab0196455763834e04411a126e8e8731517c80fbd44767e024e69da5d328