[INFO] cloning repository https://github.com/ksev/xone-battery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ksev/xone-battery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksev%2Fxone-battery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksev%2Fxone-battery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fd88136fbf5e0693723557a3728184f64ae799a [INFO] documenting ksev/xone-battery 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%2Fksev%2Fxone-battery" "/workspace/builds/worker-31/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-31/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ksev/xone-battery 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] started tweaking git repo https://github.com/ksev/xone-battery [INFO] finished tweaking git repo https://github.com/ksev/xone-battery [INFO] tweaked toml for git repo https://github.com/ksev/xone-battery written to /workspace/builds/worker-31/source/Cargo.toml [INFO] crate git repo https://github.com/ksev/xone-battery 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winreg v0.9.0 [INFO] [stderr] Downloaded wchar v0.11.0 [INFO] [stderr] Downloaded embed-resource v1.6.3 [INFO] [stderr] Downloaded vswhom v0.1.0 [INFO] [stderr] Downloaded wchar-impl v0.11.0 [INFO] [stderr] Downloaded vswhom-sys v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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] 532630da960b1e904800861730dc04dfc3bb6fa44fecfa5aaf3e17b1f1cf164b [INFO] running `Command { std: "docker" "start" "-a" "532630da960b1e904800861730dc04dfc3bb6fa44fecfa5aaf3e17b1f1cf164b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "532630da960b1e904800861730dc04dfc3bb6fa44fecfa5aaf3e17b1f1cf164b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532630da960b1e904800861730dc04dfc3bb6fa44fecfa5aaf3e17b1f1cf164b", kill_on_drop: false }` [INFO] [stdout] 532630da960b1e904800861730dc04dfc3bb6fa44fecfa5aaf3e17b1f1cf164b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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] f9089a4c101e966c98f6908cd04dbaa62c0b81fe045892fbd86538a44886ca3f [INFO] running `Command { std: "docker" "start" "-a" "f9089a4c101e966c98f6908cd04dbaa62c0b81fe045892fbd86538a44886ca3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling wchar v0.11.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling embed-resource v1.6.3 [INFO] [stderr] Compiling xone-battery v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wchar-impl v0.11.0 [INFO] [stderr] Documenting xone-battery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/win.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::guiddef::GUID; [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/win.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{LPARAM, LRESULT, 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/win.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::{HBRUSH, HWND}; [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/win.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::ntdef::{LPCWSTR, WCHAR}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi; [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/gamepads.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::winerror::SUCCEEDED; [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/gamepads.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::xinput::{XInputGetBatteryInformation, BATTERY_DEVTYPE_GAMEPAD, BATTERY_LEVEL_FULL, [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:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/win.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::shellapi; [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:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | fn uuid_to_guid(uuid: Uuid) -> winapi::shared::guiddef::GUID { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/win.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn initialize() -> Option { [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/win.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn add_icon(hwnd: HWND, id: GUID, res_id: isize, tip: &'static [u16]) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/win.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn add_icon(hwnd: HWND, id: GUID, res_id: isize, tip: &'static [u16]) -> 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/win.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn change_icon(hwnd: HWND, id: GUID, res_id: isize, tip: &'static [u16]) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/win.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn change_icon(hwnd: HWND, id: GUID, res_id: isize, tip: &'static [u16]) -> 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/win.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | h_wnd: HWND, [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/win.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | msg: UINT, [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/win.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | w_param: WPARAM, [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/win.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | l_param: 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/win.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> 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 22 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 `xone-battery` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name xone_battery src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=a624c65c0bffa4a5 -L dependency=/opt/rustwide/target/debug/deps --extern uuid=/opt/rustwide/target/debug/deps/libuuid-aa2f51d8ad22ba5b.rmeta --extern wchar=/opt/rustwide/target/debug/deps/libwchar-473e6693e5097ae1.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-50b04a93eb2a10a4.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "f9089a4c101e966c98f6908cd04dbaa62c0b81fe045892fbd86538a44886ca3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9089a4c101e966c98f6908cd04dbaa62c0b81fe045892fbd86538a44886ca3f", kill_on_drop: false }` [INFO] [stdout] f9089a4c101e966c98f6908cd04dbaa62c0b81fe045892fbd86538a44886ca3f