[INFO] cloning repository https://github.com/synetic707/rust-recv-hook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/synetic707/rust-recv-hook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-recv-hook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-recv-hook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47ebb6e6c50146d6892d07cb2d202009028d9607 [INFO] documenting synetic707/rust-recv-hook against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-recv-hook" "/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/synetic707/rust-recv-hook on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 /workspace/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", 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] 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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdf01e71441e655e1a5845777cd8a9e83041cc5b8f54a5edbb8fa7e4400d2d1b [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" "bdf01e71441e655e1a5845777cd8a9e83041cc5b8f54a5edbb8fa7e4400d2d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdf01e71441e655e1a5845777cd8a9e83041cc5b8f54a5edbb8fa7e4400d2d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf01e71441e655e1a5845777cd8a9e83041cc5b8f54a5edbb8fa7e4400d2d1b", kill_on_drop: false }` [INFO] [stdout] bdf01e71441e655e1a5845777cd8a9e83041cc5b8f54a5edbb8fa7e4400d2d1b [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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e86311786421949ce3ff9d40d9a8e80d5fbe29a2029c2a389116825f5cd3ec32 [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" "e86311786421949ce3ff9d40d9a8e80d5fbe29a2029c2a389116825f5cd3ec32", kill_on_drop: false }` [INFO] [stderr] Checking gcc v0.3.54 [INFO] [stderr] Compiling user32-sys v0.1.3 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Documenting rust-recv-hook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/hooks.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | asm!( [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _____help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 44 | | "mov edi, edi; [INFO] [stdout] 45 | | push ebp; [INFO] [stdout] 46 | | mov ebp, esp; [INFO] [stdout] ... | [INFO] [stdout] 53 | | :"intel" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::minwindef::DWORD; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwinbase` [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::minwinbase::LPTHREAD_START_ROUTINE; [INFO] [stdout] | ^^^^^^^^^^ could not find `minwinbase` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/helpers.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stdout] --> src/hooks.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::minwindef::*; [INFO] [stdout] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::winnt` [INFO] [stdout] --> src/hooks.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::winnt::*; [INFO] [stdout] | ^^^^^ could not find `winnt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/helpers.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn print_hex(text: &str, hex: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/hooks.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | static mut RECVADDR: *mut c_void = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/hooks.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn place_jmp(address: DWORD, jumpto: DWORD, length: DWORD) { [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/hooks.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn place_jmp(address: DWORD, jumpto: DWORD, length: DWORD) { [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/hooks.rs:14:64 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn place_jmp(address: DWORD, jumpto: DWORD, length: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/hooks.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{ [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/hooks.rs:42:64 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut char, _len: c_int, _flags: c_int) -> i32{ [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | 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/hooks.rs:42:78 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | 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/hooks.rs:42:93 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/hooks.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn get_recv() -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/hooks.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut 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/hooks.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut 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] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut char, len: c_int, flags: c_int) -> c_int { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | 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/hooks.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut 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] 1 | 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/hooks.rs:66:89 [INFO] [stdout] | [INFO] [stdout] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut 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] 1 | 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/hooks.rs:66:99 [INFO] [stdout] | [INFO] [stdout] 66 | pub unsafe extern "system" fn hook_recv(s: SOCKET, buf: *mut 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] 1 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in crate `winapi` [INFO] [stdout] --> src/lib.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe extern "system" fn keep_alive(_lpthreadparameter: winapi::LPVOID) -> DWORD { [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | pub extern "system" fn DllMain(dll_module: HINSTANCE, call_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:33:85 [INFO] [stdout] | [INFO] [stdout] 33 | pub extern "system" fn DllMain(dll_module: HINSTANCE, call_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:33:96 [INFO] [stdout] | [INFO] [stdout] 33 | pub extern "system" fn DllMain(dll_module: HINSTANCE, call_reason: DWORD, reserved: LPVOID) -> BOOL [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(asm, naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [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 --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern gcc=/opt/rustwide/target/debug/deps/libgcc-66e508e6539cff3e.rmeta --extern kernel32=/opt/rustwide/target/debug/deps/libkernel32-03c247914a1985c7.rmeta --extern user32=/opt/rustwide/target/debug/deps/libuser32-e9a89c6e14139c1c.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-6fb04c0e4bf6f496.rmeta --extern ws2_32=/opt/rustwide/target/debug/deps/libws2_32-5bca38814e100b7a.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e86311786421949ce3ff9d40d9a8e80d5fbe29a2029c2a389116825f5cd3ec32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e86311786421949ce3ff9d40d9a8e80d5fbe29a2029c2a389116825f5cd3ec32", kill_on_drop: false }` [INFO] [stdout] e86311786421949ce3ff9d40d9a8e80d5fbe29a2029c2a389116825f5cd3ec32