[INFO] cloning repository https://github.com/ArtemGolovko/layout_switcher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArtemGolovko/layout_switcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtemGolovko%2Flayout_switcher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtemGolovko%2Flayout_switcher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 523be317026b5c4e47d18625c85133cbd06085d7
[INFO] documenting ArtemGolovko/layout_switcher against 1.75.0 for beta-1.76-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtemGolovko%2Flayout_switcher" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ArtemGolovko/layout_switcher on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ArtemGolovko/layout_switcher
[INFO] finished tweaking git repo https://github.com/ArtemGolovko/layout_switcher
[INFO] tweaked toml for git repo https://github.com/ArtemGolovko/layout_switcher written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ArtemGolovko/layout_switcher already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f79e8c2cdae06d50c3e6d0906ee92431c5fc81c30fc002b3bc0853663daaf62
[INFO] running `Command { std: "docker" "start" "-a" "2f79e8c2cdae06d50c3e6d0906ee92431c5fc81c30fc002b3bc0853663daaf62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f79e8c2cdae06d50c3e6d0906ee92431c5fc81c30fc002b3bc0853663daaf62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f79e8c2cdae06d50c3e6d0906ee92431c5fc81c30fc002b3bc0853663daaf62", kill_on_drop: false }`
[INFO] [stdout] 2f79e8c2cdae06d50c3e6d0906ee92431c5fc81c30fc002b3bc0853663daaf62
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 28e9ef46e0a176cc0ec8b3f403af04e1b10f91f9adb10e98236cb19d0aceb611
[INFO] running `Command { std: "docker" "start" "-a" "28e9ef46e0a176cc0ec8b3f403af04e1b10f91f9adb10e98236cb19d0aceb611", kill_on_drop: false }`
[INFO] [stderr]     Checking widestring v1.0.2
[INFO] [stderr]  Documenting layout_switcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `winapi`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::winapi`
[INFO] [stdout]  --> src/from_wide.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::winapi::WCHAR;
[INFO] [stdout]   |            ^^^^^^ could not find `winapi` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[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:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[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:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[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:16:52
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, 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/main.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | ) -> LRESULT {
[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:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     hInstance: HINSTANCE,
[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:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hPrevInstance: HINSTANCE,
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/main.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pCmdLine: PWSTR,
[INFO] [stdout]    |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/main.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     nCmdShow: c_int
[INFO] [stdout]    |               ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/main.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | ) -> c_int {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `layout_switcher`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type bin --crate-name layout_switcher src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=03aea058e35d527d -L dependency=/opt/rustwide/target/debug/deps --extern widestring=/opt/rustwide/target/debug/deps/libwidestring-3884d0bceffdc05e.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "28e9ef46e0a176cc0ec8b3f403af04e1b10f91f9adb10e98236cb19d0aceb611", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28e9ef46e0a176cc0ec8b3f403af04e1b10f91f9adb10e98236cb19d0aceb611", kill_on_drop: false }`
[INFO] [stdout] 28e9ef46e0a176cc0ec8b3f403af04e1b10f91f9adb10e98236cb19d0aceb611
