[INFO] fetching crate psocket 0.1.5... [INFO] testing psocket-0.1.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate psocket 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate psocket 0.1.5 [INFO] finished tweaking crates.io crate psocket 0.1.5 [INFO] tweaked toml for crates.io crate psocket 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate psocket 0.1.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd2c7b31455a4d3f42f6c81ed3d02a14763d19683bbff96122a13909484ddc6e [INFO] running `Command { std: "docker" "start" "-a" "fd2c7b31455a4d3f42f6c81ed3d02a14763d19683bbff96122a13909484ddc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd2c7b31455a4d3f42f6c81ed3d02a14763d19683bbff96122a13909484ddc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2c7b31455a4d3f42f6c81ed3d02a14763d19683bbff96122a13909484ddc6e", kill_on_drop: false }` [INFO] [stdout] fd2c7b31455a4d3f42f6c81ed3d02a14763d19683bbff96122a13909484ddc6e [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cffb79a2bf732a1483bec5257748782b90ce7f0bccc646496b6bc1bb5609e5e9 [INFO] running `Command { std: "docker" "start" "-a" "cffb79a2bf732a1483bec5257748782b90ce7f0bccc646496b6bc1bb5609e5e9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling psocket v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/sys/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(all(dox, not(windows)))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [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: unused import: `libc::accept4` [INFO] [stdout] --> src/sys/unix/net.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use libc::accept4; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/sys_common/net.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | target_os = "haiku", target_os = "bitrig"))] [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 9 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/sys_common/net.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | target_os = "haiku", target_os = "bitrig")))] [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 9 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/unix/net.rs:468:53 [INFO] [stdout] | [INFO] [stdout] 468 | let secs = if dur.as_secs() > libc::time_t::max_value() as u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/unix/net.rs:469:27 [INFO] [stdout] | [INFO] [stdout] 469 | libc::time_t::max_value() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/unix/net.rs:471:44 [INFO] [stdout] | [INFO] [stdout] 471 | dur.as_secs() as libc::time_t [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/parser.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | fn read_or(&mut self, parsers: &mut [Box Option + 'static>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn read_or(&mut self, parsers: &mut [Box Option + 'static>]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/net/parser.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | fmt.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/sys/unix/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_error_kind` is never used [INFO] [stdout] --> src/sys/unix/mod.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn decode_error_kind(errno: i32) -> ErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abort_internal` is never used [INFO] [stdout] --> src/sys/unix/mod.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe fn abort_internal() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsInnerMut` is never used [INFO] [stdout] --> src/sys_common/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait AsInnerMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/tcp.rs:747:21 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn incoming(&self) -> Incoming { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 747 | pub fn incoming(&self) -> Incoming<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys/unix/net.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | Self::set_cloexec(fd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 392 | let _ = Self::set_cloexec(fd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys/unix/net.rs:401:17 [INFO] [stdout] | [INFO] [stdout] 401 | Self::set_cloexec(fd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 401 | let _ = Self::set_cloexec(fd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "cffb79a2bf732a1483bec5257748782b90ce7f0bccc646496b6bc1bb5609e5e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cffb79a2bf732a1483bec5257748782b90ce7f0bccc646496b6bc1bb5609e5e9", kill_on_drop: false }` [INFO] [stdout] cffb79a2bf732a1483bec5257748782b90ce7f0bccc646496b6bc1bb5609e5e9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 17a3e38619984d68b0665cde81a4d7bbba18e020fbfa1b6ec06d493ae2cec0c5 [INFO] running `Command { std: "docker" "start" "-a" "17a3e38619984d68b0665cde81a4d7bbba18e020fbfa1b6ec06d493ae2cec0c5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/sys/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(all(dox, not(windows)))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [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] [stderr] Compiling psocket v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `libc::accept4` [INFO] [stdout] --> src/sys/unix/net.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use libc::accept4; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/sys_common/net.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | target_os = "haiku", target_os = "bitrig"))] [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 9 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/sys_common/net.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | target_os = "haiku", target_os = "bitrig")))] [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 9 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/unix/net.rs:468:53 [INFO] [stdout] | [INFO] [stdout] 468 | let secs = if dur.as_secs() > libc::time_t::max_value() as u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/unix/net.rs:469:27 [INFO] [stdout] | [INFO] [stdout] 469 | libc::time_t::max_value() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/unix/net.rs:471:44 [INFO] [stdout] | [INFO] [stdout] 471 | dur.as_secs() as libc::time_t [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/parser.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | fn read_or(&mut self, parsers: &mut [Box Option + 'static>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn read_or(&mut self, parsers: &mut [Box Option + 'static>]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/net/parser.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | fmt.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/sys/unix/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_error_kind` is never used [INFO] [stdout] --> src/sys/unix/mod.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn decode_error_kind(errno: i32) -> ErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abort_internal` is never used [INFO] [stdout] --> src/sys/unix/mod.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe fn abort_internal() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsInnerMut` is never used [INFO] [stdout] --> src/sys_common/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait AsInnerMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/tcp.rs:747:21 [INFO] [stdout] | [INFO] [stdout] 747 | pub fn incoming(&self) -> Incoming { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 747 | pub fn incoming(&self) -> Incoming<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys/unix/net.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | Self::set_cloexec(fd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 392 | let _ = Self::set_cloexec(fd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys/unix/net.rs:401:17 [INFO] [stdout] | [INFO] [stdout] 401 | Self::set_cloexec(fd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 401 | let _ = Self::set_cloexec(fd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/net/tcp.rs:1442:20 [INFO] [stdout] | [INFO] [stdout] 1442 | #[cfg_attr(any(target_os = "bitrig", target_os = "netbsd", target_os = "openbsd"), ignore)] [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 9 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: `bitrig` [INFO] [stdout] --> src/net/udp.rs:912:20 [INFO] [stdout] | [INFO] [stdout] 912 | #[cfg_attr(any(target_os = "bitrig", target_os = "netbsd", target_os = "openbsd"), ignore)] [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 9 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dox` [INFO] [stdout] --> src/sys/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(all(dox, not(windows)))] [INFO] [stdout] | ^^^ help: there is a config with a similar name: `doc` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dox)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dox)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::accept4` [INFO] [stdout] --> src/sys/unix/net.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use libc::accept4; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::signal` [INFO] [stdout] --> src/sys/unix/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub use libc::signal; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/sys_common/net.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | target_os = "haiku", target_os = "bitrig"))] [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 9 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/sys_common/net.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | target_os = "haiku", target_os = "bitrig")))] [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 9 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/unix/net.rs:468:53 [INFO] [stdout] | [INFO] [stdout] 468 | let secs = if dur.as_secs() > libc::time_t::max_value() as u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/unix/net.rs:469:27 [INFO] [stdout] | [INFO] [stdout] 469 | libc::time_t::max_value() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/unix/net.rs:471:44 [INFO] [stdout] | [INFO] [stdout] 471 | dur.as_secs() as libc::time_t [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/parser.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | fn read_or(&mut self, parsers: &mut [Box Option + 'static>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn read_or(&mut self, parsers: &mut [Box Option + 'static>]) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/tcp.rs:855:24 [INFO] [stdout] | [INFO] [stdout] 855 | fn each_ip(f: &mut FnMut(SocketAddr)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 855 | fn each_ip(f: &mut dyn FnMut(SocketAddr)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/udp.rs:743:24 [INFO] [stdout] | [INFO] [stdout] 743 | fn each_ip(f: &mut FnMut(SocketAddr, SocketAddr)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 743 | fn each_ip(f: &mut dyn FnMut(SocketAddr, SocketAddr)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/net/parser.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | fmt.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `socket` found for struct `sys_common::net::TcpSocket` in the current scope [INFO] [stdout] --> src/net/tcp.rs:1422:41 [INFO] [stdout] | [INFO] [stdout] 1422 | let listener_inner = listener.0.socket().as_inner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sys_common/net.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct TcpSocket { [INFO] [stdout] | -------------------- method `socket` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `socket_addr` with a similar name [INFO] [stdout] | [INFO] [stdout] 1422 | let listener_inner = listener.0.socket_addr().as_inner(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `socket` found for struct `sys_common::net::TcpSocket` in the current scope [INFO] [stdout] --> src/net/tcp.rs:1429:37 [INFO] [stdout] | [INFO] [stdout] 1429 | let stream_inner = stream.0.socket().as_inner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sys_common/net.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct TcpSocket { [INFO] [stdout] | -------------------- method `socket` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `socket_addr` with a similar name [INFO] [stdout] | [INFO] [stdout] 1429 | let stream_inner = stream.0.socket_addr().as_inner(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `socket` found for struct `sys_common::net::UdpSocket` in the current scope [INFO] [stdout] --> src/net/udp.rs:904:39 [INFO] [stdout] | [INFO] [stdout] 904 | let udpsock_inner = udpsock.0.socket().as_inner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sys_common/net.rs:591:1 [INFO] [stdout] | [INFO] [stdout] 591 | pub struct UdpSocket { [INFO] [stdout] | -------------------- method `socket` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `socket_addr` with a similar name [INFO] [stdout] | [INFO] [stdout] 904 | let udpsock_inner = udpsock.0.socket_addr().as_inner(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psocket` (lib test) due to 3 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "17a3e38619984d68b0665cde81a4d7bbba18e020fbfa1b6ec06d493ae2cec0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a3e38619984d68b0665cde81a4d7bbba18e020fbfa1b6ec06d493ae2cec0c5", kill_on_drop: false }` [INFO] [stdout] 17a3e38619984d68b0665cde81a4d7bbba18e020fbfa1b6ec06d493ae2cec0c5