[INFO] cloning repository https://github.com/jeanga/wil-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeanga/wil-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanga%2Fwil-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeanga%2Fwil-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abc43b2d3ec45896ebf2f3d19b380e7bfed085e6 [INFO] documenting jeanga/wil-rs 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%2Fjeanga%2Fwil-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeanga/wil-rs 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/jeanga/wil-rs [INFO] finished tweaking git repo https://github.com/jeanga/wil-rs [INFO] tweaked toml for git repo https://github.com/jeanga/wil-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/jeanga/wil-rs 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] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-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" "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] 46d3898cabc2e8fdfde4dd05d97a99dc6e2c80f47e830dda4e4dd9377f9a9a3d [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" "46d3898cabc2e8fdfde4dd05d97a99dc6e2c80f47e830dda4e4dd9377f9a9a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46d3898cabc2e8fdfde4dd05d97a99dc6e2c80f47e830dda4e4dd9377f9a9a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d3898cabc2e8fdfde4dd05d97a99dc6e2c80f47e830dda4e4dd9377f9a9a3d", kill_on_drop: false }` [INFO] [stdout] 46d3898cabc2e8fdfde4dd05d97a99dc6e2c80f47e830dda4e4dd9377f9a9a3d [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" "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] 17a0e72597d2e2181c7dbb1ca706f8b6ba18034edfde99cf450f61474ae36f1d [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" "17a0e72597d2e2181c7dbb1ca706f8b6ba18034edfde99cf450f61474ae36f1d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Documenting wil v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/token.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [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/token.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::{HANDLE, PHANDLE, PVOID}; [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/token.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::processthreadsapi::{ [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/token.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::securitybaseapi::{DuplicateToken, GetTokenInformation}; [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/token.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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/token.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::securitybaseapi::{CheckTokenMembership, CreateWellKnownSid}; [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/token.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | 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 `shared` in `winapi` [INFO] [stdout] --> src/token.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::minwindef::{BOOL, DWORD, FALSE, PBOOL, TRUE}; [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/token.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/token.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | h_token: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/token.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_process(handle: HANDLE, mode: DWORD) -> Result { [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/token.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_process(handle: HANDLE, mode: DWORD) -> Result { [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/token.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn from_current_process(mode: DWORD) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/token.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | handle: HANDLE, [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/token.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | mode: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/token.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | open_as_self: BOOL, [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/token.rs:106:38 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn from_current_thread(mode: DWORD, open_as_self: BOOL) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/token.rs:106:59 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn from_current_thread(mode: DWORD, open_as_self: BOOL) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_TYPE` in this scope [INFO] [stdout] --> src/token.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 64 | impl Token { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn token_type(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_TYPE` in this scope [INFO] [stdout] --> src/token.rs:139:40 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn duplicate(&self, tokentype: TOKEN_TYPE) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WELL_KNOWN_SID_TYPE` in this scope [INFO] [stdout] --> src/token.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn is_member(&self, known_sid: WELL_KNOWN_SID_TYPE) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/token.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn handle(&self) -> &HANDLE { [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 23 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 `wil`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name wil 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 log=/opt/rustwide/target/debug/deps/liblog-8b25aaf2e71705fc.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-6bbaf124b8dcc602.rmeta --cap-lints=warn --crate-version 0.0.6` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "17a0e72597d2e2181c7dbb1ca706f8b6ba18034edfde99cf450f61474ae36f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a0e72597d2e2181c7dbb1ca706f8b6ba18034edfde99cf450f61474ae36f1d", kill_on_drop: false }` [INFO] [stdout] 17a0e72597d2e2181c7dbb1ca706f8b6ba18034edfde99cf450f61474ae36f1d