[INFO] crate rusty_winapi 0.1.1 is already in cache [INFO] documenting rusty_winapi-0.1.1 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate rusty_winapi 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate rusty_winapi 0.1.1 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rusty_winapi 0.1.1 [INFO] finished tweaking crates.io crate rusty_winapi 0.1.1 [INFO] tweaked toml for crates.io crate rusty_winapi 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c10a9a01e11a921e40db20606f117a3ae309dcf1b6b8ee3b58be0cb1e9ad1eab [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" "c10a9a01e11a921e40db20606f117a3ae309dcf1b6b8ee3b58be0cb1e9ad1eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c10a9a01e11a921e40db20606f117a3ae309dcf1b6b8ee3b58be0cb1e9ad1eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c10a9a01e11a921e40db20606f117a3ae309dcf1b6b8ee3b58be0cb1e9ad1eab", kill_on_drop: false }` [INFO] [stdout] c10a9a01e11a921e40db20606f117a3ae309dcf1b6b8ee3b58be0cb1e9ad1eab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d87db81b75730ddd9795d4d227012fd6ffacca098d43c9e24f69fb441c05d7d9 [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" "d87db81b75730ddd9795d4d227012fd6ffacca098d43c9e24f69fb441c05d7d9", kill_on_drop: false }` [INFO] [stderr] Documenting rusty_winapi v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/auto_bstr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::ntdef::{NULL, PVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/auto_bstr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::wtypes::BSTR; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::minwindef::{BOOL, TRUE, UINT}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::ntdef::{NULL, PVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stdout] --> src/safe/bstr.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::wtypes::BSTR; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/auto_bstr.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AutoBSTR (Cell); [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 `BSTR` in this scope [INFO] [stdout] --> src/auto_bstr.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn as_ptr(&self) -> *const BSTR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/auto_bstr.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn as_mut_ptr(&mut self) -> *mut BSTR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/auto_bstr.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | impl From for AutoBSTR { [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 `BSTR` in this scope [INFO] [stdout] --> src/auto_bstr.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | fn from(x: BSTR) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/auto_bstr.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | impl From for BSTR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/safe/bstr.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn SysAllocString(src: &[u16]) -> Result { [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 `BSTR` in this scope [INFO] [stdout] --> src/safe/bstr.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn SysReAllocString(bstr: BSTR, src: &[u16]) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/safe/bstr.rs:105:60 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn SysReAllocString(bstr: BSTR, src: &[u16]) -> Result { [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 `BSTR` in this scope [INFO] [stdout] --> src/safe/bstr.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn SysAllocStringLen(src: &[u16]) -> Result { [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 `BSTR` in this scope [INFO] [stdout] --> src/safe/bstr.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn SysReAllocStringLen(bstr: BSTR, src: &[u16]) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/safe/bstr.rs:207:63 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn SysReAllocStringLen(bstr: BSTR, src: &[u16]) -> Result { [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 `BSTR` in this scope [INFO] [stdout] --> src/safe/bstr.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn SysStringLen(bstr: BSTR) -> UINT { [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/safe/bstr.rs:257:36 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn SysStringLen(bstr: BSTR) -> UINT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/safe/bstr.rs:286:28 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn SysFreeString(bstr: BSTR) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BSTR` in this scope [INFO] [stdout] --> src/safe/bstr.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 293 | fn bstr_src_intersection(bstr: BSTR, src: &[u16]) -> 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 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `rusty_winapi`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name rusty_winapi 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 --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "d87db81b75730ddd9795d4d227012fd6ffacca098d43c9e24f69fb441c05d7d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87db81b75730ddd9795d4d227012fd6ffacca098d43c9e24f69fb441c05d7d9", kill_on_drop: false }` [INFO] [stdout] d87db81b75730ddd9795d4d227012fd6ffacca098d43c9e24f69fb441c05d7d9