[INFO] fetching crate connected_socket 0.0.6... [INFO] documenting connected_socket-0.0.6 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate connected_socket 0.0.6 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate connected_socket 0.0.6 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 crates.io crate connected_socket 0.0.6 [INFO] finished tweaking crates.io crate connected_socket 0.0.6 [INFO] tweaked toml for crates.io crate connected_socket 0.0.6 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 26a51b09e9eb9511065a663e93e4d7ed1aec96be2321cd7cb61d34099e9e946f [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" "26a51b09e9eb9511065a663e93e4d7ed1aec96be2321cd7cb61d34099e9e946f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26a51b09e9eb9511065a663e93e4d7ed1aec96be2321cd7cb61d34099e9e946f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26a51b09e9eb9511065a663e93e4d7ed1aec96be2321cd7cb61d34099e9e946f", kill_on_drop: false }` [INFO] [stdout] 26a51b09e9eb9511065a663e93e4d7ed1aec96be2321cd7cb61d34099e9e946f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 068f342a2df2da7c875fe36499d422b32d42b475789755def8aef11c648ae6f8 [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" "068f342a2df2da7c875fe36499d422b32d42b475789755def8aef11c648ae6f8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Compiling time v0.2.17 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Documenting connected_socket v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/lib.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::funcs::bsd43::connect; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use libc::types::os::common::bsd44::socklen_t; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use libc::types::os::common::bsd44::sockaddr_in; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use libc::types::os::common::bsd44::sockaddr_in6; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use libc::types::os::common::bsd44::in_addr; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | use libc::types::os::common::bsd44::in6_addr; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::types::os::common::bsd44::sa_family_t; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use libc::types::os::common::posix01::timeval; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/lib.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | use libc::funcs::bsd43::setsockopt; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | use libc::consts::os::bsd44::SOL_SOCKET; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/lib.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | use libc::consts::os::bsd44::AF_INET; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/lib.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | use libc::consts::os::bsd44::AF_INET6; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use libc::types::os::arch::c95::c_int; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use libc::types::os::arch::c95::c_char; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use libc::types::common::c95::c_void; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/lib.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | use libc::funcs::bsd43::send; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/lib.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | use libc::funcs::bsd43::recv; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/lib.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | const SO_RCVTIMEO:c_int = 20; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use libc::c_int; [INFO] [stdout] | [INFO] [stdout] 5 | 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:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | fn inet_pton(family: c_int, src: *const c_char, dst: *mut c_void) -> c_int; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use libc::c_int; [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope [INFO] [stdout] --> src/lib.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn inet_pton(family: c_int, src: *const c_char, dst: *mut c_void) -> c_int; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 41 | fn inet_pton(family: c_int, src: *const char, dst: *mut c_void) -> c_int; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use libc::c_char; [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::raw::c_char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | fn inet_pton(family: c_int, src: *const c_char, dst: *mut c_void) -> c_int; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 | use libc::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/lib.rs:41:71 [INFO] [stdout] | [INFO] [stdout] 41 | fn inet_pton(family: c_int, src: *const c_char, dst: *mut c_void) -> c_int; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use libc::c_int; [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `sockaddr_in` in this scope [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | enum SockaddrIn { [INFO] [stdout] | --------------- similarly named enum `SockaddrIn` defined here [INFO] [stdout] 76 | V4(sockaddr_in), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | V4(SockaddrIn), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use libc::sockaddr_in; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `sockaddr_in6` in this scope [INFO] [stdout] --> src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | enum SockaddrIn { [INFO] [stdout] | --------------- similarly named enum `SockaddrIn` defined here [INFO] [stdout] 76 | V4(sockaddr_in), [INFO] [stdout] 77 | V6(sockaddr_in6), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 77 | V6(SockaddrIn), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use libc::sockaddr_in6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `sockaddr_in` in this scope [INFO] [stdout] --> src/lib.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 75 | enum SockaddrIn { [INFO] [stdout] | --------------- similarly named enum `SockaddrIn` defined here [INFO] [stdout] ... [INFO] [stdout] 82 | fn new_sockaddr_in() -> sockaddr_in { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 82 | fn new_sockaddr_in() -> SockaddrIn { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use libc::sockaddr_in; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `sockaddr_in6` in this scope [INFO] [stdout] --> src/lib.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 75 | enum SockaddrIn { [INFO] [stdout] | --------------- similarly named enum `SockaddrIn` defined here [INFO] [stdout] ... [INFO] [stdout] 109 | fn new_sockaddr_in6() -> sockaddr_in6 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 109 | fn new_sockaddr_in6() -> SockaddrIn { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use libc::sockaddr_in6; [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, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `connected_socket`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name connected_socket 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 byteorder=/opt/rustwide/target/debug/deps/libbyteorder-4582e50f8b89282e.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-1ad3ad1e20beb97f.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-3d06e942690f01b7.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "068f342a2df2da7c875fe36499d422b32d42b475789755def8aef11c648ae6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068f342a2df2da7c875fe36499d422b32d42b475789755def8aef11c648ae6f8", kill_on_drop: false }` [INFO] [stdout] 068f342a2df2da7c875fe36499d422b32d42b475789755def8aef11c648ae6f8