[INFO] fetching crate async-send-fd 1.2.0... [INFO] checking async-send-fd-1.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate async-send-fd 1.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate async-send-fd 1.2.0 [INFO] finished tweaking crates.io crate async-send-fd 1.2.0 [INFO] tweaked toml for crates.io crate async-send-fd 1.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-send-fd 1.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 86 packages to latest compatible versions [INFO] [stderr] Adding nix v0.28.0 (available: v0.30.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41863b72df461099f5c80b4e05028b6827aa395513cf12fc44bedd059297f7ea [INFO] running `Command { std: "docker" "start" "-a" "41863b72df461099f5c80b4e05028b6827aa395513cf12fc44bedd059297f7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41863b72df461099f5c80b4e05028b6827aa395513cf12fc44bedd059297f7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41863b72df461099f5c80b4e05028b6827aa395513cf12fc44bedd059297f7ea", kill_on_drop: false }` [INFO] [stdout] 41863b72df461099f5c80b4e05028b6827aa395513cf12fc44bedd059297f7ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 974fabd01599413429eab7e2a1f12cfb93b90d26e210da035584d7987b760587 [INFO] running `Command { std: "docker" "start" "-a" "974fabd01599413429eab7e2a1f12cfb93b90d26e210da035584d7987b760587", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking passfd v0.1.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking async-send-fd v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use smol::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `async_send_fd::AsyncRecvSmolStream`, `async_send_fd::AsyncSendSmolStream` [INFO] [stdout] --> tests/test_smol_stream.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use async_send_fd::{AsyncRecvFd, AsyncRecvSmolStream, AsyncSendFd, AsyncSendSmolStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ no `AsyncSendSmolStream` in the root [INFO] [stdout] | | [INFO] [stdout] | no `AsyncRecvSmolStream` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 39 | pub use smol_stream::{AsyncRecvSmolStream, AsyncSendSmolStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 39 | pub use smol_stream::{AsyncRecvSmolStream, AsyncSendSmolStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use smol::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` 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 `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | smol::future::zip(j1, j2).await; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `async_send_fd::AsyncRecvTokioStream`, `async_send_fd::AsyncSendTokioStream` [INFO] [stdout] --> tests/test_tokio_stream.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use async_send_fd::{AsyncRecvFd, AsyncRecvTokioStream, AsyncSendFd, AsyncSendTokioStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ no `AsyncSendTokioStream` in the root [INFO] [stdout] | | [INFO] [stdout] | no `AsyncRecvTokioStream` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 34 | pub use tokio_stream::{AsyncRecvTokioStream, AsyncSendTokioStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 34 | pub use tokio_stream::{AsyncRecvTokioStream, AsyncSendTokioStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | smol::future::zip(j1, j2).await; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` 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 `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | smol::block_on(async { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` 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 `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | let j1 = smol::spawn(async move { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` 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 `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | let j2 = smol::spawn(async move { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` 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 `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | smol::block_on(async { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` 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 `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | let j1 = smol::spawn(async move { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` 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 `smol` [INFO] [stdout] --> tests/test_smol_stream.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | let j2 = smol::spawn(async move { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `smol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smol`, use `cargo add smol` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_fd` found for struct `tokio::net::UnixStream` in the current scope [INFO] [stdout] --> tests/test_tokio_stream.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | stream.send_fd(left.as_raw_fd()).await.unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `tokio::net::UnixStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-send-fd` (test "test_smol_stream") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `recv_fd` found for struct `tokio::net::UnixStream` in the current scope [INFO] [stdout] --> tests/test_tokio_stream.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let fd = stream.recv_fd().await.unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `tokio::net::UnixStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_stream` found for struct `tokio::net::UnixStream` in the current scope [INFO] [stdout] --> tests/test_tokio_stream.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | stream.send_stream(left).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `tokio::net::UnixStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recv_stream` found for struct `tokio::net::UnixStream` in the current scope [INFO] [stdout] --> tests/test_tokio_stream.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | let mut peer_stream = stream.recv_stream().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `tokio::net::UnixStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_fd` found for struct `tokio::net::unix::OwnedWriteHalf` in the current scope [INFO] [stdout] --> tests/test_tokio_stream.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | sender.send_fd(left.as_raw_fd()).await.unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `tokio::net::unix::OwnedWriteHalf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recv_fd` found for struct `tokio::net::unix::OwnedReadHalf` in the current scope [INFO] [stdout] --> tests/test_tokio_stream.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | let fd = receiver.recv_fd().await.unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `tokio::net::unix::OwnedReadHalf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-send-fd` (test "test_tokio_stream") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "974fabd01599413429eab7e2a1f12cfb93b90d26e210da035584d7987b760587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974fabd01599413429eab7e2a1f12cfb93b90d26e210da035584d7987b760587", kill_on_drop: false }` [INFO] [stdout] 974fabd01599413429eab7e2a1f12cfb93b90d26e210da035584d7987b760587