[INFO] fetching crate fizyr-rpc 0.8.0... [INFO] testing fizyr-rpc-0.8.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate fizyr-rpc 0.8.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate fizyr-rpc 0.8.0 [INFO] finished tweaking crates.io crate fizyr-rpc 0.8.0 [INFO] tweaked toml for crates.io crate fizyr-rpc 0.8.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fizyr-rpc 0.8.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fizyr-rpc 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a20b4c3de889de608385f1fac4021cf97d572625196970c9ef1b0286968398aa [INFO] running `Command { std: "docker" "start" "-a" "a20b4c3de889de608385f1fac4021cf97d572625196970c9ef1b0286968398aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a20b4c3de889de608385f1fac4021cf97d572625196970c9ef1b0286968398aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a20b4c3de889de608385f1fac4021cf97d572625196970c9ef1b0286968398aa", kill_on_drop: false }` [INFO] [stdout] a20b4c3de889de608385f1fac4021cf97d572625196970c9ef1b0286968398aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d507b60203a5f351221d2125b52fa6f72754a2e996b0173e1371a96bd334642 [INFO] running `Command { std: "docker" "start" "-a" "3d507b60203a5f351221d2125b52fa6f72754a2e996b0173e1371a96bd334642", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling filedesc v0.6.1 [INFO] [stderr] Compiling fizyr-rpc v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `StreamReadHalf` and `StreamWriteHalf` [INFO] [stdout] --> src/transport/stream/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub use transport::{StreamReadHalf, StreamTransport, StreamWriteHalf}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnixReadHalf` and `UnixWriteHalf` [INFO] [stdout] --> src/transport/unix/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub use transport::{UnixReadHalf, UnixTransport, UnixWriteHalf}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/mod.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | fn read_msg(&mut self) -> ReadMsg [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | fn read_msg(&mut self) -> ReadMsg<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/transport/mod.rs:167:85 [INFO] [stdout] | [INFO] [stdout] 167 | fn write_msg<'c>(&'c mut self, header: &'c MessageHeader, body: &'c Self::Body) -> WriteMsg { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'c` [INFO] [stdout] | [INFO] [stdout] 167 | fn write_msg<'c>(&'c mut self, header: &'c MessageHeader, body: &'c Self::Body) -> WriteMsg<'c, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/accept.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | fn accept(&mut self) -> Accept [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn accept(&mut self) -> Accept<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.48s [INFO] running `Command { std: "docker" "inspect" "3d507b60203a5f351221d2125b52fa6f72754a2e996b0173e1371a96bd334642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d507b60203a5f351221d2125b52fa6f72754a2e996b0173e1371a96bd334642", kill_on_drop: false }` [INFO] [stdout] 3d507b60203a5f351221d2125b52fa6f72754a2e996b0173e1371a96bd334642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a20fdc0d628950312f22a4f4a126ebd03a433149bd63f5d6159b94fedfb24d7b [INFO] running `Command { std: "docker" "start" "-a" "a20fdc0d628950312f22a4f4a126ebd03a433149bd63f5d6159b94fedfb24d7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling memfile v0.3.1 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling clap_builder v4.4.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling assert2-macros v0.3.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling assert2 v0.3.11 [INFO] [stderr] Compiling clap v4.4.4 [INFO] [stderr] Compiling fizyr-rpc v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `StreamReadHalf` and `StreamWriteHalf` [INFO] [stdout] --> src/transport/stream/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub use transport::{StreamReadHalf, StreamTransport, StreamWriteHalf}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnixReadHalf` and `UnixWriteHalf` [INFO] [stdout] --> src/transport/unix/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub use transport::{UnixReadHalf, UnixTransport, UnixWriteHalf}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/mod.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | fn read_msg(&mut self) -> ReadMsg [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | fn read_msg(&mut self) -> ReadMsg<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/transport/mod.rs:167:85 [INFO] [stdout] | [INFO] [stdout] 167 | fn write_msg<'c>(&'c mut self, header: &'c MessageHeader, body: &'c Self::Body) -> WriteMsg { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'c` [INFO] [stdout] | [INFO] [stdout] 167 | fn write_msg<'c>(&'c mut self, header: &'c MessageHeader, body: &'c Self::Body) -> WriteMsg<'c, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/accept.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | fn accept(&mut self) -> Accept [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn accept(&mut self) -> Accept<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fizyr_rpc::UnixSeqpacketPeer` [INFO] [stdout] --> examples/unix-seqpacket-client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fizyr_rpc::UnixSeqpacketPeer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `UnixSeqpacketPeer` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[cfg(feature = "unix-seqpacket")] [INFO] [stdout] | -------------------------- the item is gated behind the `unix-seqpacket` feature [INFO] [stdout] 180 | pub type UnixSeqpacketPeer = Peer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fizyr_rpc::UnixSeqpacketListener` [INFO] [stdout] --> examples/unix-seqpacket-server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fizyr_rpc::UnixSeqpacketListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `UnixSeqpacketListener` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 183 | #[cfg(feature = "unix-seqpacket")] [INFO] [stdout] | -------------------------- the item is gated behind the `unix-seqpacket` feature [INFO] [stdout] 184 | pub type UnixSeqpacketListener = Listener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fizyr_rpc::TcpPeer` [INFO] [stdout] --> examples/tcp-client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fizyr_rpc::TcpPeer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `TcpPeer` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] 156 | pub type TcpPeer = Peer; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::UnixStream` [INFO] [stdout] --> src/peer.rs:515:6 [INFO] [stdout] | [INFO] [stdout] 515 | use tokio::net::UnixStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `UnixStream` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/net/mod.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 47 | / cfg_net_unix! { [INFO] [stdout] 48 | | pub mod unix; [INFO] [stdout] 49 | | pub use unix::datagram::socket::UnixDatagram; [INFO] [stdout] 50 | | pub use unix::listener::UnixListener; [INFO] [stdout] 51 | | pub use unix::stream::UnixStream; [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 515 - use tokio::net::UnixStream; [INFO] [stdout] 515 + use std::os::unix::net::UnixStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::UnixStreamTransport` [INFO] [stdout] --> src/request.rs:408:20 [INFO] [stdout] | [INFO] [stdout] 408 | use crate::{Peer, UnixStreamTransport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `UnixStreamTransport` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(feature = "unix-stream")] [INFO] [stdout] | ----------------------- the item is gated behind the `unix-stream` feature [INFO] [stdout] 164 | pub type UnixStreamTransport = transport::StreamTransport; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::UnixStream` [INFO] [stdout] --> src/request.rs:409:6 [INFO] [stdout] | [INFO] [stdout] 409 | use tokio::net::UnixStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `UnixStream` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/net/mod.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 47 | / cfg_net_unix! { [INFO] [stdout] 48 | | pub mod unix; [INFO] [stdout] 49 | | pub use unix::datagram::socket::UnixDatagram; [INFO] [stdout] 50 | | pub use unix::listener::UnixListener; [INFO] [stdout] 51 | | pub use unix::stream::UnixStream; [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 409 - use tokio::net::UnixStream; [INFO] [stdout] 409 + use std::os::unix::net::UnixStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::UnixStream` [INFO] [stdout] --> src/transport/stream/mod.rs:213:6 [INFO] [stdout] | [INFO] [stdout] 213 | use tokio::net::UnixStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `UnixStream` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/net/mod.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 47 | / cfg_net_unix! { [INFO] [stdout] 48 | | pub mod unix; [INFO] [stdout] 49 | | pub use unix::datagram::socket::UnixDatagram; [INFO] [stdout] 50 | | pub use unix::listener::UnixListener; [INFO] [stdout] 51 | | pub use unix::stream::UnixStream; [INFO] [stdout] | | ^^^^^^^^^^ [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 213 - use tokio::net::UnixStream; [INFO] [stdout] 213 + use std::os::unix::net::UnixStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fizyr_rpc` [INFO] [stdout] --> src/peer_handle.rs:245:6 [INFO] [stdout] | [INFO] [stdout] 245 | use fizyr_rpc::UnixSeqpacketTransport; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `fizyr_rpc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fizyr_rpc`, use `cargo add fizyr_rpc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_seqpacket` [INFO] [stdout] --> src/peer_handle.rs:249:6 [INFO] [stdout] | [INFO] [stdout] 249 | use tokio_seqpacket::UnixSeqpacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_seqpacket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_seqpacket`, use `cargo add tokio_seqpacket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_seqpacket` [INFO] [stdout] --> src/transport/unix/mod.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | use tokio_seqpacket::UnixSeqpacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_seqpacket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_seqpacket`, use `cargo add tokio_seqpacket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fizyr_rpc::UnixStreamPeer` [INFO] [stdout] --> examples/unix-stream-client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fizyr_rpc::UnixStreamPeer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `UnixStreamPeer` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "unix-stream")] [INFO] [stdout] | ----------------------- the item is gated behind the `unix-stream` feature [INFO] [stdout] 168 | pub type UnixStreamPeer = Peer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fizyr_rpc` [INFO] [stdout] --> src/peer_handle.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | let peer_handle = fizyr_rpc::UnixSeqpacketPeer::spawn(transport_a); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `fizyr_rpc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fizyr_rpc`, use `cargo add fizyr_rpc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fizyr_rpc` [INFO] [stdout] --> src/peer_handle.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let peer_handle = fizyr_rpc::UnixSeqpacketPeer::spawn(transport_b); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `fizyr_rpc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fizyr_rpc`, use `cargo add fizyr_rpc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fizyr_rpc::TcpListener` [INFO] [stdout] --> examples/tcp-server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fizyr_rpc::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `TcpListener` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] 160 | pub type TcpListener = Listener; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 - use fizyr_rpc::TcpListener; [INFO] [stdout] 1 + use fizyr_rpc::Listener; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 - use fizyr_rpc::TcpListener; [INFO] [stdout] 1 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StreamReadHalf` and `StreamWriteHalf` [INFO] [stdout] --> src/transport/stream/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub use transport::{StreamReadHalf, StreamTransport, StreamWriteHalf}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnixReadHalf` and `UnixWriteHalf` [INFO] [stdout] --> src/transport/unix/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub use transport::{UnixReadHalf, UnixTransport, UnixWriteHalf}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fizyr_rpc::UnixStreamListener` [INFO] [stdout] --> examples/unix-stream-server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fizyr_rpc::UnixStreamListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `UnixStreamListener` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg(feature = "unix-stream")] [INFO] [stdout] | ----------------------- the item is gated behind the `unix-stream` feature [INFO] [stdout] 172 | pub type UnixStreamListener = Listener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fizyr-rpc` (example "tcp-client") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fizyr-rpc` (example "unix-seqpacket-client") due to 1 previous error [INFO] [stderr] error: could not compile `fizyr-rpc` (example "unix-stream-client") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fizyr-rpc` (example "tcp-server") due to 1 previous error [INFO] [stderr] error: could not compile `fizyr-rpc` (example "unix-seqpacket-server") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fizyr-rpc` (example "unix-stream-server") due to 1 previous error [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `transport::stream::transport::StreamTransport<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/peer.rs:521:55 [INFO] [stdout] | [INFO] [stdout] 521 | let (peer_a, handle_a) = Peer::new(StreamTransport::new(peer_a, Default::default())); [INFO] [stdout] | ^^^ function or associated item cannot be called on `transport::stream::transport::StreamTransport<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/transport/stream/transport.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StreamTransport { [INFO] [stdout] | ---------------------------------- function or associated item `new` not found for this struct because it doesn't satisfy `_: Transport` [INFO] [stdout] | [INFO] [stdout] note: trait bound `transport::stream::transport::StreamTransport<_>: Transport` was not satisfied [INFO] [stdout] --> src/transport/stream/transport.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl StreamTransport [INFO] [stdout] | ----------------------- [INFO] [stdout] 69 | where [INFO] [stdout] 70 | Self: crate::transport::Transport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Transport` must be implemented [INFO] [stdout] --> src/transport/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Transport: Send + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `transport::stream::transport::StreamTransport<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/peer.rs:522:59 [INFO] [stdout] | [INFO] [stdout] 522 | let (peer_b, mut handle_b) = Peer::new(StreamTransport::new(peer_b, Default::default())); [INFO] [stdout] | ^^^ function or associated item cannot be called on `transport::stream::transport::StreamTransport<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/transport/stream/transport.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StreamTransport { [INFO] [stdout] | ---------------------------------- function or associated item `new` not found for this struct because it doesn't satisfy `_: Transport` [INFO] [stdout] | [INFO] [stdout] note: trait bound `transport::stream::transport::StreamTransport<_>: Transport` was not satisfied [INFO] [stdout] --> src/transport/stream/transport.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl StreamTransport [INFO] [stdout] | ----------------------- [INFO] [stdout] 69 | where [INFO] [stdout] 70 | Self: crate::transport::Transport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Transport` must be implemented [INFO] [stdout] --> src/transport/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Transport: Send + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `transport::stream::transport::StreamTransport<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/peer.rs:563:47 [INFO] [stdout] | [INFO] [stdout] 563 | let handle_a = Peer::spawn(StreamTransport::new(peer_a, Default::default())); [INFO] [stdout] | ^^^ function or associated item cannot be called on `transport::stream::transport::StreamTransport<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/transport/stream/transport.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StreamTransport { [INFO] [stdout] | ---------------------------------- function or associated item `new` not found for this struct because it doesn't satisfy `_: Transport` [INFO] [stdout] | [INFO] [stdout] note: trait bound `transport::stream::transport::StreamTransport<_>: Transport` was not satisfied [INFO] [stdout] --> src/transport/stream/transport.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl StreamTransport [INFO] [stdout] | ----------------------- [INFO] [stdout] 69 | where [INFO] [stdout] 70 | Self: crate::transport::Transport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Transport` must be implemented [INFO] [stdout] --> src/transport/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Transport: Send + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `transport::stream::transport::StreamTransport<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/peer.rs:564:51 [INFO] [stdout] | [INFO] [stdout] 564 | let mut handle_b = Peer::spawn(StreamTransport::new(peer_b, Default::default())); [INFO] [stdout] | ^^^ function or associated item cannot be called on `transport::stream::transport::StreamTransport<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/transport/stream/transport.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StreamTransport { [INFO] [stdout] | ---------------------------------- function or associated item `new` not found for this struct because it doesn't satisfy `_: Transport` [INFO] [stdout] | [INFO] [stdout] note: trait bound `transport::stream::transport::StreamTransport<_>: Transport` was not satisfied [INFO] [stdout] --> src/transport/stream/transport.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl StreamTransport [INFO] [stdout] | ----------------------- [INFO] [stdout] 69 | where [INFO] [stdout] 70 | Self: crate::transport::Transport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Transport` must be implemented [INFO] [stdout] --> src/transport/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Transport: Send + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `transport::stream::transport::StreamTransport<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/peer.rs:595:47 [INFO] [stdout] | [INFO] [stdout] 595 | let handle_a = Peer::spawn(StreamTransport::new(peer_a, Default::default())); [INFO] [stdout] | ^^^ function or associated item cannot be called on `transport::stream::transport::StreamTransport<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/transport/stream/transport.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StreamTransport { [INFO] [stdout] | ---------------------------------- function or associated item `new` not found for this struct because it doesn't satisfy `_: Transport` [INFO] [stdout] | [INFO] [stdout] note: trait bound `transport::stream::transport::StreamTransport<_>: Transport` was not satisfied [INFO] [stdout] --> src/transport/stream/transport.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl StreamTransport [INFO] [stdout] | ----------------------- [INFO] [stdout] 69 | where [INFO] [stdout] 70 | Self: crate::transport::Transport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Transport` must be implemented [INFO] [stdout] --> src/transport/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Transport: Send + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `transport::stream::transport::StreamTransport<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/peer.rs:596:51 [INFO] [stdout] | [INFO] [stdout] 596 | let mut handle_b = Peer::spawn(StreamTransport::new(peer_b, Default::default())); [INFO] [stdout] | ^^^ function or associated item cannot be called on `transport::stream::transport::StreamTransport<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/transport/stream/transport.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StreamTransport { [INFO] [stdout] | ---------------------------------- function or associated item `new` not found for this struct because it doesn't satisfy `_: Transport` [INFO] [stdout] | [INFO] [stdout] note: trait bound `transport::stream::transport::StreamTransport<_>: Transport` was not satisfied [INFO] [stdout] --> src/transport/stream/transport.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl StreamTransport [INFO] [stdout] | ----------------------- [INFO] [stdout] 69 | where [INFO] [stdout] 70 | Self: crate::transport::Transport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Transport` must be implemented [INFO] [stdout] --> src/transport/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Transport: Send + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `transport::stream::transport::StreamTransport<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/transport/stream/mod.rs:221:42 [INFO] [stdout] | [INFO] [stdout] 221 | let mut transport_a = StreamTransport::new(peer_a, StreamConfig::default()); [INFO] [stdout] | ^^^ function or associated item cannot be called on `transport::stream::transport::StreamTransport<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/transport/stream/transport.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StreamTransport { [INFO] [stdout] | ---------------------------------- function or associated item `new` not found for this struct because it doesn't satisfy `_: Transport` [INFO] [stdout] | [INFO] [stdout] note: trait bound `transport::stream::transport::StreamTransport<_>: Transport` was not satisfied [INFO] [stdout] --> src/transport/stream/transport.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl StreamTransport [INFO] [stdout] | ----------------------- [INFO] [stdout] 69 | where [INFO] [stdout] 70 | Self: crate::transport::Transport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Transport` must be implemented [INFO] [stdout] --> src/transport/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Transport: Send + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `transport::stream::transport::StreamTransport<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/transport/stream/mod.rs:222:42 [INFO] [stdout] | [INFO] [stdout] 222 | let mut transport_b = StreamTransport::new(peer_b, StreamConfig::default()); [INFO] [stdout] | ^^^ function or associated item cannot be called on `transport::stream::transport::StreamTransport<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/transport/stream/transport.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct StreamTransport { [INFO] [stdout] | ---------------------------------- function or associated item `new` not found for this struct because it doesn't satisfy `_: Transport` [INFO] [stdout] | [INFO] [stdout] note: trait bound `transport::stream::transport::StreamTransport<_>: Transport` was not satisfied [INFO] [stdout] --> src/transport/stream/transport.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl StreamTransport [INFO] [stdout] | ----------------------- [INFO] [stdout] 69 | where [INFO] [stdout] 70 | Self: crate::transport::Transport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Transport` must be implemented [INFO] [stdout] --> src/transport/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Transport: Send + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fizyr-rpc` (lib test) due to 17 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a20fdc0d628950312f22a4f4a126ebd03a433149bd63f5d6159b94fedfb24d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a20fdc0d628950312f22a4f4a126ebd03a433149bd63f5d6159b94fedfb24d7b", kill_on_drop: false }` [INFO] [stdout] a20fdc0d628950312f22a4f4a126ebd03a433149bd63f5d6159b94fedfb24d7b