[INFO] cloning repository https://github.com/snaphat/winapi_safe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snaphat/winapi_safe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnaphat%2Fwinapi_safe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnaphat%2Fwinapi_safe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca3ac69f38d1b315cbdc5c7cf70cbe2a54e9b625 [INFO] documenting snaphat/winapi_safe against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnaphat%2Fwinapi_safe" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snaphat/winapi_safe on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snaphat/winapi_safe [INFO] finished tweaking git repo https://github.com/snaphat/winapi_safe [INFO] tweaked toml for git repo https://github.com/snaphat/winapi_safe written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/snaphat/winapi_safe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e509cea369b9393304ced2a21aec81f94acc6021bd8796dad7013751139b20d3 [INFO] running `Command { std: "docker" "start" "-a" "e509cea369b9393304ced2a21aec81f94acc6021bd8796dad7013751139b20d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e509cea369b9393304ced2a21aec81f94acc6021bd8796dad7013751139b20d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e509cea369b9393304ced2a21aec81f94acc6021bd8796dad7013751139b20d3", kill_on_drop: false }` [INFO] [stdout] e509cea369b9393304ced2a21aec81f94acc6021bd8796dad7013751139b20d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 961e513253fc18346660d9f5b3c9cf8ed92b5b2f5796a882746d434349956ab4 [INFO] running `Command { std: "docker" "start" "-a" "961e513253fc18346660d9f5b3c9cf8ed92b5b2f5796a882746d434349956ab4", kill_on_drop: false }` [INFO] [stderr] Documenting winapi_safe v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | 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: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::dwmapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::errhandlingapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winnt; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::winuser; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared::*`, `winapi::um::dwmapi::*`, `winapi::um::errhandlingapi::*`, `winapi::um::winnt`, `winapi::um::winnt::*`, `winapi::um::winuser`, `winapi::um::winuser::*` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | use winapi::um::dwmapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | use winapi::um::errhandlingapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | use winapi::um::winnt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | use winapi::um::winuser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | use winapi::um::winuser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windef` [INFO] [stdout] --> src/constants.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub const $api: $type = $prefix::$api; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `minwindef` [INFO] [stdout] --> src/lib.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub type $suffix = $prefix::$suffix; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `minwindef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windef` [INFO] [stdout] --> src/lib.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub type $suffix = $prefix::$suffix; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `windef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DPI_AWARENESS_CONTEXT` in this scope [INFO] [stdout] --> src/constants.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub const $api: $type = $prefix::$api; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use crate::DPI_AWARENESS_CONTEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/constants.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub const $api: $type = $prefix::$api; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use crate::UINT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/constants.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub const $api: $type = $prefix::$api; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/lib.rs:508:43 [INFO] [stdout] | [INFO] [stdout] 508 | pub trait FnHook = Fn(usize, DWORD, HWND, LONG, LONG, DWORD, DWORD) + 'static + Send + Sync; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/lib.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | pub trait FnHook = Fn(usize, DWORD, HWND, LONG, LONG, DWORD, DWORD) + 'static + Send + Sync; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/lib.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 534 | id_object: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/lib.rs:535:19 [INFO] [stdout] | [INFO] [stdout] 535 | id_child: LONG, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(trait_alias)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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, E0432, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `winapi_safe` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name winapi_safe src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=6cb9009f60d00313 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "961e513253fc18346660d9f5b3c9cf8ed92b5b2f5796a882746d434349956ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "961e513253fc18346660d9f5b3c9cf8ed92b5b2f5796a882746d434349956ab4", kill_on_drop: false }` [INFO] [stdout] 961e513253fc18346660d9f5b3c9cf8ed92b5b2f5796a882746d434349956ab4