[INFO] fetching crate winreg 0.7.0... [INFO] documenting winreg-0.7.0 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate winreg 0.7.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate winreg 0.7.0 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 winreg 0.7.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate winreg 0.7.0 [INFO] tweaked toml for crates.io crate winreg 0.7.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate winreg 0.7.0 already has a lockfile, it will not be regenerated [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-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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7358ba5a08ff40bae2ab6f0571cb6181dd3c7fe39755ca5ca33cd884e365fe7 [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" "b7358ba5a08ff40bae2ab6f0571cb6181dd3c7fe39755ca5ca33cd884e365fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7358ba5a08ff40bae2ab6f0571cb6181dd3c7fe39755ca5ca33cd884e365fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7358ba5a08ff40bae2ab6f0571cb6181dd3c7fe39755ca5ca33cd884e365fe7", kill_on_drop: false }` [INFO] [stdout] b7358ba5a08ff40bae2ab6f0571cb6181dd3c7fe39755ca5ca33cd884e365fe7 [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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 271226a54329cd50bdc025c50782e4d09117b6ae76e65a8337e4c84ccbb72d06 [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" "271226a54329cd50bdc025c50782e4d09117b6ae76e65a8337e4c84ccbb72d06", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Documenting winreg v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | 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/lib.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | pub use winapi::shared::minwindef::HKEY; [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/lib.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | use winapi::shared::minwindef::{BYTE, DWORD, FILETIME, LPBYTE}; [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/lib.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | use winapi::um::minwinbase::SYSTEMTIME; [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/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | use winapi::um::timezoneapi::FileTimeToSystemTime; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | use winapi::shared::winerror; [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/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | use winapi::um::winnt::{self, WCHAR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | use winapi::um::winnt::{self, WCHAR}; [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/enums.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub use winapi::um::winnt::{ [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/enums.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub use winapi::um::winreg::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/lib.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | use winapi::um::winreg as winapi_reg; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/types.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::winapi::shared` [INFO] [stdout] --> src/types.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use super::winapi::shared::winerror; [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/enums.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | $( $v = winapi::um::winnt::$v as isize ),* [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 31 | / winapi_enum!(RegType, "Enumeration of possible registry value types" => [ [INFO] [stdout] 32 | | REG_NONE, [INFO] [stdout] 33 | | REG_SZ, [INFO] [stdout] 34 | | REG_EXPAND_SZ, [INFO] [stdout] ... | [INFO] [stdout] 43 | | REG_QWORD [INFO] [stdout] 44 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/enums.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | $( $v = winapi::um::winnt::$v as isize ),* [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 47 | / winapi_enum!(RegDisposition, "Enumeration of possible disposition values" => [ [INFO] [stdout] 48 | | REG_CREATED_NEW_KEY, [INFO] [stdout] 49 | | REG_OPENED_EXISTING_KEY [INFO] [stdout] 50 | | ]); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | pub sub_keys: 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/lib.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | pub max_sub_key_len: 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/lib.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | pub max_class_len: 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/lib.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | pub values: 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/lib.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | pub max_value_name_len: 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/lib.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | pub max_value_len: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FILETIME` in this scope [INFO] [stdout] --> src/lib.rs:162:26 [INFO] [stdout] | [INFO] [stdout] 162 | pub last_write_time: FILETIME, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SYSTEMTIME` in this scope [INFO] [stdout] --> src/lib.rs:167:49 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get_last_write_time_system(&self) -> SYSTEMTIME { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/lib.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | hkey: HKEY, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/lib.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn predef(hkey: HKEY) -> RegKey { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/lib.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn raw_handle(&self) -> HKEY { [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/lib.rs:936:31 [INFO] [stdout] | [INFO] [stdout] 936 | fn enum_key(&self, index: DWORD) -> Option> { [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/lib.rs:960:33 [INFO] [stdout] | [INFO] [stdout] 960 | fn enum_value(&self, index: DWORD) -> Option> { [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/lib.rs:1019:12 [INFO] [stdout] | [INFO] [stdout] 1019 | index: 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/lib.rs:1044:12 [INFO] [stdout] | [INFO] [stdout] 1044 | index: DWORD, [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 31 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 `winreg`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name winreg 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-1d6d42ece37138ac.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "271226a54329cd50bdc025c50782e4d09117b6ae76e65a8337e4c84ccbb72d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "271226a54329cd50bdc025c50782e4d09117b6ae76e65a8337e4c84ccbb72d06", kill_on_drop: false }` [INFO] [stdout] 271226a54329cd50bdc025c50782e4d09117b6ae76e65a8337e4c84ccbb72d06