[INFO] cloning repository https://github.com/Cos8o/hooking-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cos8o/hooking-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCos8o%2Fhooking-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCos8o%2Fhooking-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 350441d34826b26a8537b9eb270936a24024fe1a
[INFO] documenting Cos8o/hooking-rs against beta-2021-08-01 for beta-1.55-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCos8o%2Fhooking-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Cos8o/hooking-rs on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-9/source/.cargo/config
[INFO] started tweaking git repo https://github.com/Cos8o/hooking-rs
[INFO] finished tweaking git repo https://github.com/Cos8o/hooking-rs
[INFO] tweaked toml for git repo https://github.com/Cos8o/hooking-rs written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/Cos8o/hooking-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ced9a5738d029eb326f6f5d7d7800037305b019661457f44a9758bea5adf172
[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" "0ced9a5738d029eb326f6f5d7d7800037305b019661457f44a9758bea5adf172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ced9a5738d029eb326f6f5d7d7800037305b019661457f44a9758bea5adf172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ced9a5738d029eb326f6f5d7d7800037305b019661457f44a9758bea5adf172", kill_on_drop: false }`
[INFO] [stdout] 0ced9a5738d029eb326f6f5d7d7800037305b019661457f44a9758bea5adf172
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 95bb277d0d44e8956eb991a5d9e824dc8f3821e396db704b757c6d6dc783a3c2
[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" "95bb277d0d44e8956eb991a5d9e824dc8f3821e396db704b757c6d6dc783a3c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]  Documenting gd_sniffer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     shared::minwindef::*,
[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:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::{
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     ctypes::*,
[INFO] [stdout]   |     ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/lib.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn send_trampoline(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int;
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope
[INFO] [stdout]   --> src/lib.rs:15:47
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn send_trampoline(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int;
[INFO] [stdout]    |                                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn send_trampoline(s: SOCKET, buf: *const char, len: c_int, flags: c_int) -> c_int;
[INFO] [stdout]    |                                               ^^^^
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::os::raw::c_char;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:15:60
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn send_trampoline(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int;
[INFO] [stdout]    |                                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:15:74
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn send_trampoline(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int;
[INFO] [stdout]    |                                                                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:15:84
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn send_trampoline(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int;
[INFO] [stdout]    |                                                                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/lib.rs:18:34
[INFO] [stdout]    |
[INFO] [stdout] 18 | extern "stdcall" fn send_hook(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stdout]    |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope
[INFO] [stdout]   --> src/lib.rs:18:54
[INFO] [stdout]    |
[INFO] [stdout] 18 | extern "stdcall" fn send_hook(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stdout]    |                                                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 18 | extern "stdcall" fn send_hook(s: SOCKET, buf: *const char, len: c_int, flags: c_int) -> c_int {
[INFO] [stdout]    |                                                      ^^^^
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::os::raw::c_char;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:18:67
[INFO] [stdout]    |
[INFO] [stdout] 18 | extern "stdcall" fn send_hook(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stdout]    |                                                                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:18:81
[INFO] [stdout]    |
[INFO] [stdout] 18 | extern "stdcall" fn send_hook(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stdout]    |                                                                                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/lib.rs:18:91
[INFO] [stdout]    |
[INFO] [stdout] 18 | extern "stdcall" fn send_hook(s: SOCKET, buf: *const c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stdout]    |                                                                                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |     proc_handle: HANDLE,
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/lib.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |     address: LPVOID,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/lib.rs:49:40
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub unsafe fn virtual_protect(address: LPVOID, size: usize, protection_flags: u32) -> Result<u32> {
[INFO] [stdout]    |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/lib.rs:87:35
[INFO] [stdout]    |
[INFO] [stdout] 87 | extern "stdcall" fn DllMain(_dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> 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/lib.rs:87:54
[INFO] [stdout]    |
[INFO] [stdout] 87 | extern "stdcall" fn DllMain(_dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL {
[INFO] [stdout]    |                                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/lib.rs:87:72
[INFO] [stdout]    |
[INFO] [stdout] 87 | extern "stdcall" fn DllMain(_dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> BOOL {
[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/lib.rs:87:83
[INFO] [stdout]    |
[INFO] [stdout] 87 | extern "stdcall" fn DllMain(_dll: HINSTANCE, reason: DWORD, _reserved: LPVOID) -> 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 21 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 `gd_sniffer`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type cdylib --crate-name gd_sniffer 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-8972bb3d41135815.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "95bb277d0d44e8956eb991a5d9e824dc8f3821e396db704b757c6d6dc783a3c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95bb277d0d44e8956eb991a5d9e824dc8f3821e396db704b757c6d6dc783a3c2", kill_on_drop: false }`
[INFO] [stdout] 95bb277d0d44e8956eb991a5d9e824dc8f3821e396db704b757c6d6dc783a3c2
