[INFO] cloning repository https://github.com/fc1943s/window-toggler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fc1943s/window-toggler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffc1943s%2Fwindow-toggler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffc1943s%2Fwindow-toggler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7be66cdc42e0a49ad74ecfbca9263130cc04251a [INFO] documenting fc1943s/window-toggler 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%2Ffc1943s%2Fwindow-toggler" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fc1943s/window-toggler 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/fc1943s/window-toggler [INFO] finished tweaking git repo https://github.com/fc1943s/window-toggler [INFO] tweaked toml for git repo https://github.com/fc1943s/window-toggler written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/fc1943s/window-toggler 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 977b6edc893f7d20036059179ca3b48d3e2b95b8980e97750a0393acf2ea41cf [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" "977b6edc893f7d20036059179ca3b48d3e2b95b8980e97750a0393acf2ea41cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "977b6edc893f7d20036059179ca3b48d3e2b95b8980e97750a0393acf2ea41cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977b6edc893f7d20036059179ca3b48d3e2b95b8980e97750a0393acf2ea41cf", kill_on_drop: false }` [INFO] [stdout] 977b6edc893f7d20036059179ca3b48d3e2b95b8980e97750a0393acf2ea41cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 07b957458b4b03ecba6bec4ca0e51fe09f81a4563e80ac737ddb765cfe915746 [INFO] running `Command { std: "docker" "start" "-a" "07b957458b4b03ecba6bec4ca0e51fe09f81a4563e80ac737ddb765cfe915746", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking windows-win v2.4.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking pathsearch v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking hotkey v0.3.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Documenting window-toggler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::{HWND, HWND__, POINT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::raw` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use windows_win::raw::window; [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winuser::{SC_MINIMIZE, SC_RESTORE, SendInput, INPUT_KEYBOARD}; [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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::LONG; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND__` in this scope [INFO] [stdout] --> src/main.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe fn get_foreground_window() -> *mut 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/main.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe fn set_foreground_window(hwnd: HWND) { [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/main.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn window_from_point(x: LONG, y: LONG) -> *mut HWND__ { [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/main.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn window_from_point(x: LONG, y: LONG) -> *mut 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/main.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn window_from_point(x: LONG, y: LONG) -> *mut HWND__ { [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `window-toggler`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name window_toggler 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 hotkey=/opt/rustwide/target/debug/deps/libhotkey-3c92485df4d656b6.rmeta --extern pathsearch=/opt/rustwide/target/debug/deps/libpathsearch-9bb4735db6370d0b.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-4764438372cc0345.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-5c116c1f6ea1b871.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-01a6220fe8d088c6.rmeta --extern windows_win=/opt/rustwide/target/debug/deps/libwindows_win-c11f0897b8545df4.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "07b957458b4b03ecba6bec4ca0e51fe09f81a4563e80ac737ddb765cfe915746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b957458b4b03ecba6bec4ca0e51fe09f81a4563e80ac737ddb765cfe915746", kill_on_drop: false }` [INFO] [stdout] 07b957458b4b03ecba6bec4ca0e51fe09f81a4563e80ac737ddb765cfe915746