[INFO] cloning repository https://github.com/gabdube/D2D1_rs_simple_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabdube/D2D1_rs_simple_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabdube%2FD2D1_rs_simple_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabdube%2FD2D1_rs_simple_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d37a4168946136d09ffeefd23073acd1ee78976 [INFO] documenting gabdube/D2D1_rs_simple_example against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabdube%2FD2D1_rs_simple_example" "/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/gabdube/D2D1_rs_simple_example 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 git repo https://github.com/gabdube/D2D1_rs_simple_example [INFO] finished tweaking git repo https://github.com/gabdube/D2D1_rs_simple_example [INFO] tweaked toml for git repo https://github.com/gabdube/D2D1_rs_simple_example written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/gabdube/D2D1_rs_simple_example 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] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-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" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 517f8c1428afd22823be433f985af12542addf647add887849135d82ac7603fd [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" "517f8c1428afd22823be433f985af12542addf647add887849135d82ac7603fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "517f8c1428afd22823be433f985af12542addf647add887849135d82ac7603fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517f8c1428afd22823be433f985af12542addf647add887849135d82ac7603fd", kill_on_drop: false }` [INFO] [stdout] 517f8c1428afd22823be433f985af12542addf647add887849135d82ac7603fd [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" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aac10a90c08a6aadb725887ef52a2d94d179b26639a9f3565ea165cb3fd0019 [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" "1aac10a90c08a6aadb725887ef52a2d94d179b26639a9f3565ea165cb3fd0019", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling d2d1_example v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling user32-sys v0.1.3 [INFO] [stderr] Documenting d2d1_example v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_TYPE` in this scope [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | factoryType: D2D1_FACTORY_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | riid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D2D1_FACTORY_OPTIONS` in this scope [INFO] [stdout] --> src/main.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | pFactoryOptions: *const D2D1_FACTORY_OPTIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/main.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | ppIFactory: *mut *mut ID2D1Factory [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | ) -> HRESULT; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1HwndRenderTarget` in this scope [INFO] [stdout] --> src/main.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | render_target: *mut ID2D1HwndRenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/main.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | brush1: *mut ID2D1SolidColorBrush, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1SolidColorBrush` in this scope [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | brush2: *mut ID2D1SolidColorBrush [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID2D1Factory` in this scope [INFO] [stdout] --> src/main.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | factory: *mut ID2D1Factory, [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:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/main.rs:183:47 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe fn render_window(myapp: &mut MyApp) -> HRESULT{ [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:241:41 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{ [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:241:52 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{ [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:241:61 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{ [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:241:72 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{ [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:241:83 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe extern "system" fn wndproc(hwnd: HWND, msg: UINT, w: WPARAM, l: LPARAM) -> LRESULT{ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/main.rs:290:40 [INFO] [stdout] | [INFO] [stdout] 290 | unsafe fn setup_class(class_name: &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 `WCHAR` in this scope [INFO] [stdout] --> src/main.rs:322:58 [INFO] [stdout] | [INFO] [stdout] 322 | unsafe fn setup_window(app: &mut MyApp, class_name: &Vec, window_name: &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 `WCHAR` in this scope [INFO] [stdout] --> src/main.rs:322:84 [INFO] [stdout] | [INFO] [stdout] 322 | unsafe fn setup_window(app: &mut MyApp, class_name: &Vec, window_name: &Vec){ [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^ 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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `d2d1_example`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name d2d1_example 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 kernel32=/opt/rustwide/target/debug/deps/libkernel32-add5f9529459183f.rmeta --extern user32=/opt/rustwide/target/debug/deps/libuser32-7f6cbb0690ea4b27.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-35bb43931dcc65fb.rmeta --cap-lints=warn --crate-version 1.0.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "1aac10a90c08a6aadb725887ef52a2d94d179b26639a9f3565ea165cb3fd0019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aac10a90c08a6aadb725887ef52a2d94d179b26639a9f3565ea165cb3fd0019", kill_on_drop: false }` [INFO] [stdout] 1aac10a90c08a6aadb725887ef52a2d94d179b26639a9f3565ea165cb3fd0019