[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-2020-10-09 for beta-1.48-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCos8o%2Fhooking-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Cos8o/hooking-rs on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-7/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-7/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-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 17c5a4548f639f66392ba41e355aa34693c4940916d8be052ffb91b0af67a750
[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" "17c5a4548f639f66392ba41e355aa34693c4940916d8be052ffb91b0af67a750", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "17c5a4548f639f66392ba41e355aa34693c4940916d8be052ffb91b0af67a750", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17c5a4548f639f66392ba41e355aa34693c4940916d8be052ffb91b0af67a750", kill_on_drop: false }`
[INFO] [stdout] 17c5a4548f639f66392ba41e355aa34693c4940916d8be052ffb91b0af67a750
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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-10-09" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce12c4b9a201687d62ede803b817e6f18c23e28030b24cc3a8e32b044b601a24
[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" "ce12c4b9a201687d62ede803b817e6f18c23e28030b24cc3a8e32b044b601a24", 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-9f755daceb3a3e04.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1)
[INFO] running `Command { std: "docker" "inspect" "ce12c4b9a201687d62ede803b817e6f18c23e28030b24cc3a8e32b044b601a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce12c4b9a201687d62ede803b817e6f18c23e28030b24cc3a8e32b044b601a24", kill_on_drop: false }`
[INFO] [stdout] ce12c4b9a201687d62ede803b817e6f18c23e28030b24cc3a8e32b044b601a24
