[INFO] cloning repository https://github.com/ArmsOfSorrow/win32-d3d-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArmsOfSorrow/win32-d3d-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArmsOfSorrow%2Fwin32-d3d-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArmsOfSorrow%2Fwin32-d3d-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3d183ebdb58aecb3f1abf538f902f22d46efeaf [INFO] documenting ArmsOfSorrow/win32-d3d-template 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%2FArmsOfSorrow%2Fwin32-d3d-template" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArmsOfSorrow/win32-d3d-template 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/ArmsOfSorrow/win32-d3d-template [INFO] finished tweaking git repo https://github.com/ArmsOfSorrow/win32-d3d-template [INFO] tweaked toml for git repo https://github.com/ArmsOfSorrow/win32-d3d-template written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/ArmsOfSorrow/win32-d3d-template 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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 060908b273662e39002e9e3a5916ca2d554ccb6d9cb26b59f8247f9fcf410a69 [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" "060908b273662e39002e9e3a5916ca2d554ccb6d9cb26b59f8247f9fcf410a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "060908b273662e39002e9e3a5916ca2d554ccb6d9cb26b59f8247f9fcf410a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "060908b273662e39002e9e3a5916ca2d554ccb6d9cb26b59f8247f9fcf410a69", kill_on_drop: false }` [INFO] [stdout] 060908b273662e39002e9e3a5916ca2d554ccb6d9cb26b59f8247f9fcf410a69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 268e0f120032015ae9e4eaff4ca95567facc86a300f2ec58a5b8cbbfb8a5f01a [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" "268e0f120032015ae9e4eaff4ca95567facc86a300f2ec58a5b8cbbfb8a5f01a", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Checking wio v0.2.0 [INFO] [stderr] Documenting win32-d3d-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{HINSTANCE, LPARAM, LRESULT, 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/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::HRESULT; [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/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::{HBRUSH, 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/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize, COINITBASE_MULTITHREADED}; [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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::libloaderapi::GetModuleHandleW; [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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winuser::{ [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/game.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::dxgi::{IDXGIAdapter, IDXGIDevice1}; [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/game.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::dxgi1_2::{ [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/game.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgiformat::{DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_FORMAT_D24_UNORM_S8_UINT}; [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/game.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::dxgitype::DXGI_USAGE_RENDER_TARGET_OUTPUT; [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/game.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::{TRUE, UINT}; [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/game.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::windef::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/game.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::winerror::{DXGI_ERROR_DEVICE_REMOVED, DXGI_ERROR_DEVICE_RESET}; [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/game.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::d3d11::{ [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/game.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::d3d11_1::{ID3D11Device1, ID3D11DeviceContext1}; [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/game.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::d3dcommon::{ [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/game.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/game.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/step_timer.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency}; [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/step_timer.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::LARGE_INTEGER; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/game.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D_FEATURE_LEVEL` in this scope [INFO] [stdout] --> src/game.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | feature_level: D3D_FEATURE_LEVEL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11Device1` in this scope [INFO] [stdout] --> src/game.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | d3d_device: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContext1` in this scope [INFO] [stdout] --> src/game.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | d3d_context: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/game.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | swap_chain: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11RenderTargetView` in this scope [INFO] [stdout] --> src/game.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | render_target_view: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D11DepthStencilView` in this scope [INFO] [stdout] --> src/game.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Game { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 37 | depth_stencil_view: Option>, [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/game.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | pub unsafe fn initialize(&mut self, window: HWND, width: i32, height: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/step_timer.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | qpc_frequency: LARGE_INTEGER, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/step_timer.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | qpc_last_time: LARGE_INTEGER, [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:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | hwnd: HWND, [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:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | 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/main.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | 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/main.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> LRESULT { [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:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | fn failed(hr: HRESULT) -> bool { [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 38 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 `win32-d3d-template`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name win32_d3d_template 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 winapi=/opt/rustwide/target/debug/deps/libwinapi-66b7673c6bda06ce.rmeta --extern wio=/opt/rustwide/target/debug/deps/libwio-0f9830021294d471.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "268e0f120032015ae9e4eaff4ca95567facc86a300f2ec58a5b8cbbfb8a5f01a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268e0f120032015ae9e4eaff4ca95567facc86a300f2ec58a5b8cbbfb8a5f01a", kill_on_drop: false }` [INFO] [stdout] 268e0f120032015ae9e4eaff4ca95567facc86a300f2ec58a5b8cbbfb8a5f01a