[INFO] fetching crate win-win 0.1.1... [INFO] documenting win-win-0.1.1 against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] extracting crate win-win 0.1.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate win-win 0.1.1 on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate win-win 0.1.1 [INFO] finished tweaking crates.io crate win-win 0.1.1 [INFO] tweaked toml for crates.io crate win-win 0.1.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate win-win 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf58cd9a8de9bdd1b55bb3640dab083d169e35076051155404cfe32d3d202da2 [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" "bf58cd9a8de9bdd1b55bb3640dab083d169e35076051155404cfe32d3d202da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf58cd9a8de9bdd1b55bb3640dab083d169e35076051155404cfe32d3d202da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf58cd9a8de9bdd1b55bb3640dab083d169e35076051155404cfe32d3d202da2", kill_on_drop: false }` [INFO] [stdout] bf58cd9a8de9bdd1b55bb3640dab083d169e35076051155404cfe32d3d202da2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ec4eb67bd0f0966f902f75a446073b7e4f13854ac129f97901889409c607666 [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" "1ec4eb67bd0f0966f902f75a446073b7e4f13854ac129f97901889409c607666", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking wio v0.2.2 [INFO] [stderr] Documenting win-win v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::HRESULT; [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/runloop.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::BOOL; [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/runloop.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::HACCEL; [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/runloop.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::winuser::{DispatchMessageW, GetMessageW, TranslateAcceleratorW, TranslateMessage}; [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/window.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{ATOM, DWORD, HINSTANCE, LPARAM, LPVOID, 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/window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::{HBRUSH, HCURSOR, HICON, HMENU, 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/window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::LPCWSTR; [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/window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::wide` [INFO] [stdout] --> src/window.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | use wio::wide::ToWide; [INFO] [stdout] | ^^^^ could not find `wide` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | type WindowLongPtr = winapi::shared::basetsd::LONG_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/error.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | Hresult(HRESULT), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HACCEL` in this scope [INFO] [stdout] --> src/runloop.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn runloop(accel: HACCEL) -> 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/runloop.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn runloop(accel: HACCEL) -> 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/window.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | fn window_proc(&self, 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/window.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | fn window_proc(&self, 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/window.rs:49:58 [INFO] [stdout] | [INFO] [stdout] 49 | fn window_proc(&self, 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/window.rs:49:74 [INFO] [stdout] | [INFO] [stdout] 49 | fn window_proc(&self, 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/window.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait WindowProc { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 50 | -> Option; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ATOM` in this scope [INFO] [stdout] --> src/window.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | Atom(ATOM), [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/window.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | style: UINT, [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/window.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | hInstance: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/window.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | hIcon: HICON, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/window.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | hCursor: HCURSOR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/window.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | hbrBackground: HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/window.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | hIconSm: HICON, [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/window.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | dwExStyle: DWORD, [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/window.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | dwStyle: DWORD, [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/window.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | hWndParent: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/window.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | hMenu: HMENU, [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/window.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | hInstance: HINSTANCE, [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/window.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn build(self) -> HWND { [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/window.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn style(mut self, style: DWORD) -> Self { [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/window.rs:183:38 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn ex_style(mut self, style: DWORD) -> Self { [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/window.rs:225:49 [INFO] [stdout] | [INFO] [stdout] 225 | pub unsafe fn parent_hwnd(mut self, parent: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/window.rs:239:40 [INFO] [stdout] | [INFO] [stdout] 239 | pub unsafe fn menu(mut self, menu: HMENU) -> Self { [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/window.rs:260:48 [INFO] [stdout] | [INFO] [stdout] 260 | pub unsafe fn instance(mut self, instance: HINSTANCE) -> Self { [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/window.rs:272:11 [INFO] [stdout] | [INFO] [stdout] 272 | hwnd: 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/window.rs:273:10 [INFO] [stdout] | [INFO] [stdout] 273 | 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/window.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | wparam: 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/window.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | 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/window.rs:276:6 [INFO] [stdout] | [INFO] [stdout] 276 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | fn as_lpcwstr(&self) -> LPCWSTR { [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/window.rs:382:41 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn class_style(mut self, style: DWORD) -> Self { [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/window.rs:421:48 [INFO] [stdout] | [INFO] [stdout] 421 | pub unsafe fn instance(mut self, instance: HINSTANCE) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/window.rs:436:40 [INFO] [stdout] | [INFO] [stdout] 436 | pub unsafe fn icon(mut self, icon: HICON) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/window.rs:451:46 [INFO] [stdout] | [INFO] [stdout] 451 | pub unsafe fn small_icon(mut self, icon: HICON) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCURSOR` in this scope [INFO] [stdout] --> src/window.rs:481:44 [INFO] [stdout] | [INFO] [stdout] 481 | pub unsafe fn cursor(mut self, cursor: HCURSOR) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/window.rs:496:47 [INFO] [stdout] | [INFO] [stdout] 496 | pub unsafe fn background(mut self, brush: HBRUSH) -> Self { [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 50 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 `win-win`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name win_win 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 winapi=/opt/rustwide/target/debug/deps/libwinapi-91912cf87a0d4eb0.rmeta --extern wio=/opt/rustwide/target/debug/deps/libwio-ebe0b8ed4ff4eb24.rmeta --cap-lints=warn --crate-version 0.1.1` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "1ec4eb67bd0f0966f902f75a446073b7e4f13854ac129f97901889409c607666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ec4eb67bd0f0966f902f75a446073b7e4f13854ac129f97901889409c607666", kill_on_drop: false }` [INFO] [stdout] 1ec4eb67bd0f0966f902f75a446073b7e4f13854ac129f97901889409c607666