[INFO] updating cached repository https://github.com/synetic707/rust-recv-hook
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 47ebb6e6c50146d6892d07cb2d202009028d9607
[INFO] documenting synetic707/rust-recv-hook against beta-2019-09-28 for beta-1.39-rustdoc-1
[INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-recv-hook" "work/builds/worker-2/source"`
[INFO] [stderr] Cloning into 'work/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/synetic707/rust-recv-hook on toolchain beta-2019-09-28
[INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/synetic707/rust-recv-hook
[INFO] finished tweaking git repo https://github.com/synetic707/rust-recv-hook
[INFO] tweaked toml for git repo https://github.com/synetic707/rust-recv-hook written to work/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/synetic707/rust-recv-hook already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] e5e0fc41f55c341c34aa0df31b9995380694a6dffa69509db7faae409c5ef775
[INFO] running `"docker" "start" "-a" "e5e0fc41f55c341c34aa0df31b9995380694a6dffa69509db7faae409c5ef775"`
[INFO] [stderr]     Checking gcc v0.3.54
[INFO] [stderr]    Compiling user32-sys v0.1.3
[INFO] [stderr]  Documenting rust-recv-hook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stderr]   --> src/lib.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::minwindef::DWORD;
[INFO] [stderr]    |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::minwinbase`
[INFO] [stderr]   --> src/lib.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::minwinbase::LPTHREAD_START_ROUTINE;
[INFO] [stderr]    |             ^^^^^^^^^^ could not find `minwinbase` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stderr]  --> src/helpers.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use winapi::minwindef::*;
[INFO] [stderr]   |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stderr]  --> src/hooks.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use winapi::minwindef::*;
[INFO] [stderr]   |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::winnt`
[INFO] [stderr]  --> src/hooks.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::winnt::*;
[INFO] [stderr]   |             ^^^^^ could not find `winnt` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/helpers.rs:12:35
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn print_hex(text: &str, hex: DWORD) {
[INFO] [stderr]    |                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stderr]   --> src/hooks.rs:12:27
[INFO] [stderr]    |
[INFO] [stderr] 12 | static mut RECVADDR: *mut c_void = std::ptr::null_mut();
[INFO] [stderr]    |                           ^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::ffi::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::os::raw::c_void;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/hooks.rs:14:34
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub unsafe fn place_jmp(address: DWORD, jumpto: DWORD, length: DWORD) {
[INFO] [stderr]    |                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/hooks.rs:14:49
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub unsafe fn place_jmp(address: DWORD, jumpto: DWORD, length: DWORD) {
[INFO] [stderr]    |                                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/hooks.rs:14:64
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub unsafe fn place_jmp(address: DWORD, jumpto: DWORD, length: DWORD) {
[INFO] [stderr]    |                                                                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SOCKET` in this scope
[INFO] [stderr]   --> src/hooks.rs:42:45
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{
[INFO] [stderr]    |                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_char` in this scope
[INFO] [stderr]   --> src/hooks.rs:42:64
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{
[INFO] [stderr]    |                                                                ^^^^^^
[INFO] [stderr] help: a builtin type with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut char, _len: c_int, _flags: c_int) -> i32{
[INFO] [stderr]    |                                                                ^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::os::raw::c_char;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/hooks.rs:42:78
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{
[INFO] [stderr]    |                                                                              ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/hooks.rs:42:93
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{
[INFO] [stderr]    |                                                                                             ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/hooks.rs:61:29
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub unsafe fn get_recv() -> DWORD {
[INFO] [stderr]    |                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SOCKET` in this scope
[INFO] [stderr]   --> src/hooks.rs:66:44
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stderr]    |                                            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_char` in this scope
[INFO] [stderr]   --> src/hooks.rs:66:62
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stderr]    |                                                              ^^^^^^
[INFO] [stderr] help: a builtin type with a similar name exists
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut char, len: c_int, flags: c_int) -> c_int {
[INFO] [stderr]    |                                                              ^^^^
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::os::raw::c_char;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/hooks.rs:66:75
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stderr]    |                                                                           ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/hooks.rs:66:89
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stderr]    |                                                                                         ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stderr]   --> src/hooks.rs:66:99
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut c_char, len: c_int, flags: c_int) -> c_int {
[INFO] [stderr]    |                                                                                                   ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::os::raw::c_int;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in crate `winapi`
[INFO] [stderr]   --> src/lib.rs:22:66
[INFO] [stderr]    |
[INFO] [stderr] 22 | unsafe extern "system" fn keep_alive(_lpthreadparameter: winapi::LPVOID) -> DWORD {
[INFO] [stderr]    |                                                                  ^^^^^^ not found in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/lib.rs:33:44
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub extern "system" fn DllMain(dll_module: HINSTANCE, call_reason: DWORD, reserved: LPVOID) -> BOOL
[INFO] [stderr]    |                                            ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/lib.rs:33:85
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub extern "system" fn DllMain(dll_module: HINSTANCE, call_reason: DWORD, reserved: LPVOID) -> BOOL
[INFO] [stderr]    |                                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]   --> src/lib.rs:33:96
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub extern "system" fn DllMain(dll_module: HINSTANCE, call_reason: DWORD, reserved: LPVOID) -> BOOL
[INFO] [stderr]    |                                                                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 25 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `rust-recv-hook`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type dylib --crate-name rust_recv_hook src/lib.rs -o /opt/rustwide/target/doc --color never --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern gcc=/opt/rustwide/target/debug/deps/libgcc-661d380c68836b11.rmeta --extern kernel32=/opt/rustwide/target/debug/deps/libkernel32-0548536603852036.rmeta --extern user32=/opt/rustwide/target/debug/deps/libuser32-24f116d5df8d4cb2.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-53a6f487fafa177b.rmeta --extern ws2_32=/opt/rustwide/target/debug/deps/libws2_32-ca4c7a9dc526c331.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "e5e0fc41f55c341c34aa0df31b9995380694a6dffa69509db7faae409c5ef775"`
[INFO] running `"docker" "rm" "-f" "e5e0fc41f55c341c34aa0df31b9995380694a6dffa69509db7faae409c5ef775"`
[INFO] [stdout] e5e0fc41f55c341c34aa0df31b9995380694a6dffa69509db7faae409c5ef775
