[INFO] cloning repository https://github.com/Ratismal/window-arranger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ratismal/window-arranger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRatismal%2Fwindow-arranger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRatismal%2Fwindow-arranger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acd346102d37304b35ace79ed5e5e64d3b858a35 [INFO] documenting Ratismal/window-arranger 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%2FRatismal%2Fwindow-arranger" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ratismal/window-arranger 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/Ratismal/window-arranger [INFO] finished tweaking git repo https://github.com/Ratismal/window-arranger [INFO] tweaked toml for git repo https://github.com/Ratismal/window-arranger written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Ratismal/window-arranger 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] bd74a5793c29d45b1cfd3509c54a249ee32450ac93d5700d54ecafd0a10f9e72 [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" "bd74a5793c29d45b1cfd3509c54a249ee32450ac93d5700d54ecafd0a10f9e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd74a5793c29d45b1cfd3509c54a249ee32450ac93d5700d54ecafd0a10f9e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd74a5793c29d45b1cfd3509c54a249ee32450ac93d5700d54ecafd0a10f9e72", kill_on_drop: false }` [INFO] [stdout] bd74a5793c29d45b1cfd3509c54a249ee32450ac93d5700d54ecafd0a10f9e72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 8fc27d41bbc604c19e7e27537d5f384060192bd54ef05c07527ec40f24a06b02 [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" "8fc27d41bbc604c19e7e27537d5f384060192bd54ef05c07527ec40f24a06b02", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Documenting window-arranger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/api/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::minwindef::{BOOL, LPARAM}; [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/api/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::{HDC, HMONITOR, HWND, LPRECT, 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/api/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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/api/def.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::windef::{POINT, 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/api/def.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::{MONITORINFO, TITLEBARINFO, WINDOWPLACEMENT}; [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/structs/program.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::windef::{HMONITOR, 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/structs/program.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::{MONITORINFO, WINDOWPLACEMENT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> src/api/def.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn monitor_info() -> MONITORINFO { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/api/def.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn point() -> POINT { [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/api/def.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn rect() -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/api/def.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn window_placement() -> WINDOWPLACEMENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/api/def.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn clone_window_placement(p: WINDOWPLACEMENT) -> WINDOWPLACEMENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/api/def.rs:37:54 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn clone_window_placement(p: WINDOWPLACEMENT) -> WINDOWPLACEMENT { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TITLEBARINFO` in this scope [INFO] [stdout] --> src/api/def.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn titlebar_info() -> TITLEBARINFO { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/api/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | _: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/api/mod.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | _: HDC, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/api/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | rect: LPRECT, [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/api/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | l_param: LPARAM, [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/api/mod.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> BOOL { [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/api/mod.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_all_monitors() -> 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 `HWND` in this scope [INFO] [stdout] --> src/api/mod.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: 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/api/mod.rs:44:65 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: 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/api/mod.rs:44:76 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL { [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/api/mod.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | 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 `HWND` in this scope [INFO] [stdout] --> src/api/mod.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_window_text(hwnd: HWND) -> String { [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/api/mod.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/api/mod.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool { [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/api/mod.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn restore_placement(hwnd: HWND, p: WINDOWPLACEMENT) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/api/mod.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn restore_placement(hwnd: HWND, p: WINDOWPLACEMENT) { [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/api/mod.rs:130:36 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn is_application_window(hwnd: HWND) -> bool { [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/api/mod.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn get_window_monitor(hwdn: HWND) -> HMONITOR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/api/mod.rs:197:42 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn get_window_monitor(hwdn: HWND) -> HMONITOR { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/api/mod.rs:201:35 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_monitor_info(hmonitor: HMONITOR) -> MONITORINFO { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> src/api/mod.rs:201:48 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_monitor_info(hmonitor: HMONITOR) -> MONITORINFO { [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/structs/program.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope [INFO] [stdout] --> src/structs/program.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub placement: WINDOWPLACEMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stdout] --> src/structs/program.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub monitor: HMONITOR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope [INFO] [stdout] --> src/structs/program.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub monitor_info: MONITORINFO, [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 39 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 `window-arranger`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name window_arranger 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 winapi=/opt/rustwide/target/debug/deps/libwinapi-079c27b248dfbf13.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "8fc27d41bbc604c19e7e27537d5f384060192bd54ef05c07527ec40f24a06b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc27d41bbc604c19e7e27537d5f384060192bd54ef05c07527ec40f24a06b02", kill_on_drop: false }` [INFO] [stdout] 8fc27d41bbc604c19e7e27537d5f384060192bd54ef05c07527ec40f24a06b02