[INFO] fetching crate connected_socket 0.0.6... [INFO] checking connected_socket-0.0.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate connected_socket 0.0.6 into /workspace/builds/worker-4-tc2/source [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] validating manifest of crates.io crate connected_socket 0.0.6 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding byteorder v0.3.13 (available: v1.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad17f5bacd943f7b8999707dde8bb6cc9938cb6dea3db77eb8f7f2f2cc89d77d [INFO] running `Command { std: "docker" "start" "-a" "ad17f5bacd943f7b8999707dde8bb6cc9938cb6dea3db77eb8f7f2f2cc89d77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad17f5bacd943f7b8999707dde8bb6cc9938cb6dea3db77eb8f7f2f2cc89d77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad17f5bacd943f7b8999707dde8bb6cc9938cb6dea3db77eb8f7f2f2cc89d77d", kill_on_drop: false }` [INFO] [stdout] ad17f5bacd943f7b8999707dde8bb6cc9938cb6dea3db77eb8f7f2f2cc89d77d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e35f6ef0609609812d34c6044867e353041ab2168a677fb4bf49df3c4639e81a [INFO] running `Command { std: "docker" "start" "-a" "e35f6ef0609609812d34c6044867e353041ab2168a677fb4bf49df3c4639e81a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking time v0.3.41 [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: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/lib.rs:80:55 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any(target_os = "linux", target_os = "android", target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/lib.rs:93:59 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/lib.rs:107:55 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(any(target_os = "linux", target_os = "android", target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/lib.rs:121:59 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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[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: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/lib.rs:80:55 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(any(target_os = "linux", target_os = "android", target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/lib.rs:93:59 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/lib.rs:107:55 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(any(target_os = "linux", target_os = "android", target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/lib.rs:121:59 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "nacl", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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(self, addr: &A) -> Result,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` [INFO] [stdout] --> src/lib.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ConnectedSocket { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/result.rs:549:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 186 | fn connect(self, addr: &A) -> Result,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(self, addr: &A) -> Result,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` [INFO] [stdout] --> src/lib.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ConnectedSocket { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/result.rs:549:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 186 | fn connect(self, addr: &A) -> Result,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 `time::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 `time::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] 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] [stderr] error: could not compile `connected_socket` (lib) due to 19 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 test) due to 19 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e35f6ef0609609812d34c6044867e353041ab2168a677fb4bf49df3c4639e81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35f6ef0609609812d34c6044867e353041ab2168a677fb4bf49df3c4639e81a", kill_on_drop: false }` [INFO] [stdout] e35f6ef0609609812d34c6044867e353041ab2168a677fb4bf49df3c4639e81a