[INFO] fetching crate connected_socket 0.0.6...
[INFO] checking connected_socket-0.0.6 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate connected_socket 0.0.6 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate connected_socket 0.0.6 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v0.3.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d9c1c8aa8793d2c711e0bfdc8128199b8bde34cf3ea470fbcf35c6e48b1e1ec1
[INFO] running `Command { std: "docker" "start" "-a" "d9c1c8aa8793d2c711e0bfdc8128199b8bde34cf3ea470fbcf35c6e48b1e1ec1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d9c1c8aa8793d2c711e0bfdc8128199b8bde34cf3ea470fbcf35c6e48b1e1ec1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9c1c8aa8793d2c711e0bfdc8128199b8bde34cf3ea470fbcf35c6e48b1e1ec1", kill_on_drop: false }`
[INFO] [stdout] d9c1c8aa8793d2c711e0bfdc8128199b8bde34cf3ea470fbcf35c6e48b1e1ec1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31858fd7d9cb540abc032d067ba0c36e4be303655764243756fa5083efddbd05
[INFO] running `Command { std: "docker" "start" "-a" "31858fd7d9cb540abc032d067ba0c36e4be303655764243756fa5083efddbd05", kill_on_drop: false }`
[INFO] [stderr]     Checking byteorder v0.3.13
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]     Checking 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 `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 `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 `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 `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: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[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] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:193:14
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let addr = try!(address.to_socket_addrs()).next();
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:199:15
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let saddr = try!(addr.unwrap().into_sockaddr_in());
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:193:14
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let addr = try!(address.to_socket_addrs()).next();
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:199:15
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let saddr = try!(addr.unwrap().into_sockaddr_in());
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:186:59
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn connect<A: ToSocketAddrs + ?Sized>(self, addr: &A) -> Result<ConnectedSocket<Self>,Error>;
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout] note: required because it appears within the type `ConnectedSocket<Self>`
[INFO] [stdout]    --> src/lib.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout] 44  | pub struct ConnectedSocket<S: ?Sized> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]    --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/result.rs:502:1
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn connect<A: ToSocketAddrs + ?Sized>(self, addr: &A) -> Result<ConnectedSocket<Self>,Error> where Self: Sized;
[INFO] [stdout]     |                                                                                                  +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:186:59
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn connect<A: ToSocketAddrs + ?Sized>(self, addr: &A) -> Result<ConnectedSocket<Self>,Error>;
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout] note: required because it appears within the type `ConnectedSocket<Self>`
[INFO] [stdout]    --> src/lib.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout] 44  | pub struct ConnectedSocket<S: ?Sized> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]    --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/result.rs:502:1
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn connect<A: ToSocketAddrs + ?Sized>(self, addr: &A) -> Result<ConnectedSocket<Self>,Error> where Self: Sized;
[INFO] [stdout]     |                                                                                                  +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `num_seconds` found for struct `time::Duration` in the current scope
[INFO] [stdout]    --> src/lib.rs:268:20
[INFO] [stdout]     |
[INFO] [stdout] 268 |             tv_sec: timeout.num_seconds(),
[INFO] [stdout]     |                             ^^^^^^^^^^^ method not found in `Duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `num_seconds` found for struct `time::Duration` in the current scope
[INFO] [stdout]    --> src/lib.rs:268:20
[INFO] [stdout]     |
[INFO] [stdout] 268 |             tv_sec: timeout.num_seconds(),
[INFO] [stdout]     |                             ^^^^^^^^^^^ method not found in `Duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/lib.rs:59:2
[INFO] [stdout]    |
[INFO] [stdout] 59 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/lib.rs:59:2
[INFO] [stdout]    |
[INFO] [stdout] 59 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `connected_socket` (lib) due to 20 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `connected_socket` (lib test) due to 20 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "31858fd7d9cb540abc032d067ba0c36e4be303655764243756fa5083efddbd05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31858fd7d9cb540abc032d067ba0c36e4be303655764243756fa5083efddbd05", kill_on_drop: false }`
[INFO] [stdout] 31858fd7d9cb540abc032d067ba0c36e4be303655764243756fa5083efddbd05
[INFO] checking connected_socket-0.0.6 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate connected_socket 0.0.6 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate connected_socket 0.0.6 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 229ced05591d5b434cac6580e911482428ffcd0bba36d0b9d79c1b5c5a55ee9b
[INFO] running `Command { std: "docker" "start" "-a" "229ced05591d5b434cac6580e911482428ffcd0bba36d0b9d79c1b5c5a55ee9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "229ced05591d5b434cac6580e911482428ffcd0bba36d0b9d79c1b5c5a55ee9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "229ced05591d5b434cac6580e911482428ffcd0bba36d0b9d79c1b5c5a55ee9b", kill_on_drop: false }`
[INFO] [stdout] 229ced05591d5b434cac6580e911482428ffcd0bba36d0b9d79c1b5c5a55ee9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8ba767aa190b7f6d02f55fb5bfd615f287795555f2ff6e4770792bdb2619a9a
[INFO] running `Command { std: "docker" "start" "-a" "b8ba767aa190b7f6d02f55fb5bfd615f287795555f2ff6e4770792bdb2619a9a", kill_on_drop: false }`
[INFO] [stderr]     Checking byteorder v0.3.13
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]     Checking 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] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:193:14
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let addr = try!(address.to_socket_addrs()).next();
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:199:15
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let saddr = try!(addr.unwrap().into_sockaddr_in());
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:186:59
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn connect<A: ToSocketAddrs + ?Sized>(self, addr: &A) -> Result<ConnectedSocket<Self>,Error>;
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout] note: required because it appears within the type `ConnectedSocket<Self>`
[INFO] [stdout]    --> src/lib.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout] 44  | pub struct ConnectedSocket<S: ?Sized> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]    --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/result.rs:502:1
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn connect<A: ToSocketAddrs + ?Sized>(self, addr: &A) -> Result<ConnectedSocket<Self>,Error> where Self: Sized;
[INFO] [stdout]     |                                                                                                  +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[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] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:193:14
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let addr = try!(address.to_socket_addrs()).next();
[INFO] [stdout]     |                    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:199:15
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let saddr = try!(addr.unwrap().into_sockaddr_in());
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:186:59
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn connect<A: ToSocketAddrs + ?Sized>(self, addr: &A) -> Result<ConnectedSocket<Self>,Error>;
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout] note: required because it appears within the type `ConnectedSocket<Self>`
[INFO] [stdout]    --> src/lib.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout] 44  | pub struct ConnectedSocket<S: ?Sized> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]    --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/result.rs:502:1
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn connect<A: ToSocketAddrs + ?Sized>(self, addr: &A) -> Result<ConnectedSocket<Self>,Error> where Self: Sized;
[INFO] [stdout]     |                                                                                                  +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `num_seconds` found for struct `time::Duration` in the current scope
[INFO] [stdout]    --> src/lib.rs:268:20
[INFO] [stdout]     |
[INFO] [stdout] 268 |             tv_sec: timeout.num_seconds(),
[INFO] [stdout]     |                             ^^^^^^^^^^^ method not found in `Duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/lib.rs:59:2
[INFO] [stdout]    |
[INFO] [stdout] 59 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `connected_socket` (lib) due to 20 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `num_seconds` found for struct `time::Duration` in the current scope
[INFO] [stdout]    --> src/lib.rs:268:20
[INFO] [stdout]     |
[INFO] [stdout] 268 |             tv_sec: timeout.num_seconds(),
[INFO] [stdout]     |                             ^^^^^^^^^^^ method not found in `Duration`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/lib.rs:59:2
[INFO] [stdout]    |
[INFO] [stdout] 59 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `connected_socket` (lib test) due to 20 previous errors; 3 warnings emitted
[INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b8ba767aa190b7f6d02f55fb5bfd615f287795555f2ff6e4770792bdb2619a9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8ba767aa190b7f6d02f55fb5bfd615f287795555f2ff6e4770792bdb2619a9a", kill_on_drop: false }`
[INFO] [stdout] b8ba767aa190b7f6d02f55fb5bfd615f287795555f2ff6e4770792bdb2619a9a
