[INFO] fetching crate connected_socket 0.0.6... [INFO] testing connected_socket-0.0.6 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate connected_socket 0.0.6 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate connected_socket 0.0.6 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 14 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] [stderr] Blocking waiting for file lock on package cache [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6525c03ba29cac0434304a7b5bd6b7e34733bfee79465b1819324a1597190c59 [INFO] running `Command { std: "docker" "start" "-a" "6525c03ba29cac0434304a7b5bd6b7e34733bfee79465b1819324a1597190c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6525c03ba29cac0434304a7b5bd6b7e34733bfee79465b1819324a1597190c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6525c03ba29cac0434304a7b5bd6b7e34733bfee79465b1819324a1597190c59", kill_on_drop: false }` [INFO] [stdout] 6525c03ba29cac0434304a7b5bd6b7e34733bfee79465b1819324a1597190c59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e5a07622339e11fab860b95354240f7d97ea78292ceb26518e13247268cc558 [INFO] running `Command { std: "docker" "start" "-a" "9e5a07622339e11fab860b95354240f7d97ea78292ceb26518e13247268cc558", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling 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 `os` in `types` [INFO] [stdout] --> src/lib.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use libc::types::os::common::bsd44::socklen_t; [INFO] [stdout] | ^^ could not find `os` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `os` in `types` [INFO] [stdout] --> src/lib.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use libc::types::os::common::bsd44::sockaddr_in; [INFO] [stdout] | ^^ could not find `os` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `os` in `types` [INFO] [stdout] --> src/lib.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use libc::types::os::common::bsd44::sockaddr_in6; [INFO] [stdout] | ^^ could not find `os` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `os` in `types` [INFO] [stdout] --> src/lib.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use libc::types::os::common::bsd44::in_addr; [INFO] [stdout] | ^^ could not find `os` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `os` in `types` [INFO] [stdout] --> src/lib.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use libc::types::os::common::bsd44::in6_addr; [INFO] [stdout] | ^^ could not find `os` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `os` in `types` [INFO] [stdout] --> src/lib.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::types::os::common::bsd44::sa_family_t; [INFO] [stdout] | ^^ could not find `os` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `os` in `types` [INFO] [stdout] --> src/lib.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | use libc::types::os::common::posix01::timeval; [INFO] [stdout] | ^^ could not find `os` in `types` [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 `os` in `types` [INFO] [stdout] --> src/lib.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | use libc::types::os::arch::c95::c_int; [INFO] [stdout] | ^^ could not find `os` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `os` in `types` [INFO] [stdout] --> src/lib.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | use libc::types::os::arch::c95::c_char; [INFO] [stdout] | ^^ could not find `os` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `common` in `types` [INFO] [stdout] --> src/lib.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | use libc::types::common::c95::c_void; [INFO] [stdout] | ^^^^^^ could not find `common` in `types` [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[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use libc::types::os::common::bsd44::socklen_t; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use libc::types::os::common::bsd44::sockaddr_in; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use libc::types::os::common::bsd44::sockaddr_in6; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use libc::types::os::common::bsd44::in_addr; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | use libc::types::os::common::bsd44::in6_addr; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::types::os::common::bsd44::sa_family_t; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use libc::types::os::common::posix01::timeval; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use libc::types::os::arch::c95::c_int; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | use libc::types::os::arch::c95::c_char; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `types` is private [INFO] [stdout] --> src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use libc::types::common::c95::c_void; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `types` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | prelude!(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info) [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`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, and `teeos` and 13 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`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, and `teeos` and 13 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`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, and `teeos` and 13 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`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, and `teeos` and 13 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:557:0 [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] 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599, E0603. [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 29 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e5a07622339e11fab860b95354240f7d97ea78292ceb26518e13247268cc558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5a07622339e11fab860b95354240f7d97ea78292ceb26518e13247268cc558", kill_on_drop: false }` [INFO] [stdout] 9e5a07622339e11fab860b95354240f7d97ea78292ceb26518e13247268cc558