[INFO] fetching crate rusty_winapi 0.1.1... [INFO] documenting rusty_winapi-0.1.1 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate rusty_winapi 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rusty_winapi 0.1.1 on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71cb75b87d1729b5b12a3aefa5cd3bfde41a1370ac836e4b0e0a10c208198f4b [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" "71cb75b87d1729b5b12a3aefa5cd3bfde41a1370ac836e4b0e0a10c208198f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71cb75b87d1729b5b12a3aefa5cd3bfde41a1370ac836e4b0e0a10c208198f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71cb75b87d1729b5b12a3aefa5cd3bfde41a1370ac836e4b0e0a10c208198f4b", kill_on_drop: false }` [INFO] [stdout] 71cb75b87d1729b5b12a3aefa5cd3bfde41a1370ac836e4b0e0a10c208198f4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be22c4789b804ba0a9fe260622e8650a3752c96125e86ef40f8dd4deecaf49eb [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" "be22c4789b804ba0a9fe260622e8650a3752c96125e86ef40f8dd4deecaf49eb", 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=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "be22c4789b804ba0a9fe260622e8650a3752c96125e86ef40f8dd4deecaf49eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be22c4789b804ba0a9fe260622e8650a3752c96125e86ef40f8dd4deecaf49eb", kill_on_drop: false }` [INFO] [stdout] be22c4789b804ba0a9fe260622e8650a3752c96125e86ef40f8dd4deecaf49eb