[INFO] fetching crate winapi-hash 0.1.3... [INFO] documenting winapi-hash-0.1.3 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate winapi-hash 0.1.3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate winapi-hash 0.1.3 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate winapi-hash 0.1.3 [INFO] finished tweaking crates.io crate winapi-hash 0.1.3 [INFO] tweaked toml for crates.io crate winapi-hash 0.1.3 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/profiles.html#strip-option for more information about using this feature. [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e09f79a20b1f2de1b6888fcea5a855220895171218baae861a30031de0645931 [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" "e09f79a20b1f2de1b6888fcea5a855220895171218baae861a30031de0645931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e09f79a20b1f2de1b6888fcea5a855220895171218baae861a30031de0645931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09f79a20b1f2de1b6888fcea5a855220895171218baae861a30031de0645931", kill_on_drop: false }` [INFO] [stdout] e09f79a20b1f2de1b6888fcea5a855220895171218baae861a30031de0645931 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acd7ac0f15a38d71a41ca4d78f2c4434e3fe94bf19e145ed624b07218f1940ed [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" "acd7ac0f15a38d71a41ca4d78f2c4434e3fe94bf19e145ed624b07218f1940ed", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.3.7 [INFO] [stderr] Documenting winapi-hash v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util/image_export_directory.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{to_va, winapi::um::winnt::LPCSTR}; [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/util/image_export_directory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::{ [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/util/image_export_directory.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | um::winnt::IMAGE_EXPORT_DIRECTORY, [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/util/module_entry_list.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::ntdef::PLIST_ENTRY; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/util/wide.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | os::windows::ffi::{OsStrExt, OsStringExt}, [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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | shared::{basetsd::ULONG_PTR, minwindef::HMODULE}, [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:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | um::winnt::LPCWSTR, [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:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | 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 `winapi_local` in `ntapi` [INFO] [stdout] --> src/lib.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | use ntapi::winapi_local::um::winnt::NtCurrentTeb; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `winapi_local` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | shared::{minwindef::DWORD, ntdef::NULL}, [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:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | um::winnt::*, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntldr`, `ntapi::FIELD_OFFSET` [INFO] [stdout] --> src/util/module_entry_list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ntldr::{LDR_DATA_TABLE_ENTRY, PLDR_DATA_TABLE_ENTRY}, [INFO] [stdout] | ^^^^^ could not find `ntldr` in `ntapi` [INFO] [stdout] 3 | FIELD_OFFSET, [INFO] [stdout] | ^^^^^^^^^^^^ no `FIELD_OFFSET` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `FIELD_OFFSET` [INFO] [stdout] --> src/util/module_entry_list.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | (*((self.curr as usize - FIELD_OFFSET!(LDR_DATA_TABLE_ENTRY, InMemoryOrderLinks)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/util/image_export_directory.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | handle: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_EXPORT_DIRECTORY` in this scope [INFO] [stdout] --> src/util/image_export_directory.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | exp_dir: IMAGE_EXPORT_DIRECTORY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/util/image_export_directory.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(handle: HMODULE, exp_dir: IMAGE_EXPORT_DIRECTORY) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMAGE_EXPORT_DIRECTORY` in this scope [INFO] [stdout] --> src/util/image_export_directory.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(handle: HMODULE, exp_dir: IMAGE_EXPORT_DIRECTORY) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/util/image_export_directory.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | type Item = (ULONG_PTR, String); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PLIST_ENTRY` in this scope [INFO] [stdout] --> src/util/module_entry_list.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | head: PLIST_ENTRY, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PLIST_ENTRY` in this scope [INFO] [stdout] --> src/util/module_entry_list.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | curr: PLIST_ENTRY, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PLIST_ENTRY` in this scope [INFO] [stdout] --> src/util/module_entry_list.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub unsafe fn new(head: PLIST_ENTRY) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | load_library: fn(LPCWSTR) -> HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | load_library: fn(LPCWSTR) -> HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/lib.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 50 | impl ApiHashResolver [INFO] [stdout] | - help: you might be missing a type parameter: `, ULONG_PTR` [INFO] [stdout] ... [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe fn resolve(handle: HMODULE, hash: [u8; H::OUTPUT_SIZE]) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/lib.rs:91:78 [INFO] [stdout] | [INFO] [stdout] 50 | impl ApiHashResolver [INFO] [stdout] | - help: you might be missing a type parameter: `, ULONG_PTR` [INFO] [stdout] ... [INFO] [stdout] 91 | unsafe fn resolve(handle: HMODULE, hash: [u8; H::OUTPUT_SIZE]) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:117:55 [INFO] [stdout] | [INFO] [stdout] 50 | impl ApiHashResolver [INFO] [stdout] | - help: you might be missing a type parameter: `, HMODULE` [INFO] [stdout] ... [INFO] [stdout] 117 | unsafe fn get_module_base(module: &str) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe fn is_valid_module(handle: HMODULE) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(adt_const_params)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `winapi-hash` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name winapi_hash src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=2103b2943caa92b0 -L dependency=/opt/rustwide/target/debug/deps --extern ntapi=/opt/rustwide/target/debug/deps/libntapi-6bc4c7e54907f6dc.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-b20b4a5f4d7cc807.rmeta --cap-lints=warn --crate-version 0.1.3` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "acd7ac0f15a38d71a41ca4d78f2c4434e3fe94bf19e145ed624b07218f1940ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd7ac0f15a38d71a41ca4d78f2c4434e3fe94bf19e145ed624b07218f1940ed", kill_on_drop: false }` [INFO] [stdout] acd7ac0f15a38d71a41ca4d78f2c4434e3fe94bf19e145ed624b07218f1940ed