[INFO] cloning repository https://github.com/aschey/transport-async-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aschey/transport-async-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faschey%2Ftransport-async-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faschey%2Ftransport-async-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf3922e692de1bf7d7a613fa703609e5f13e2bc7 [INFO] checking aschey/transport-async-rs/bf3922e692de1bf7d7a613fa703609e5f13e2bc7 against master#0b278a539440be291466ea463a9b6310eaf4d7bb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faschey%2Ftransport-async-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/aschey/transport-async-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/aschey/transport-async-rs [INFO] tweaked toml for git repo https://github.com/aschey/transport-async-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aschey/transport-async-rs on toolchain 0b278a539440be291466ea463a9b6310eaf4d7bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "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" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 177 packages to latest Rust 1.92.0-nightly compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastbloom v0.14.0 [INFO] [stderr] Downloaded rmp-serde v1.3.0 [INFO] [stderr] Downloaded educe v0.5.11 [INFO] [stderr] Downloaded tipsy v0.6.4 [INFO] [stderr] Downloaded tokio-serde v0.9.0 [INFO] [stderr] Downloaded rustls-platform-verifier v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c055ce777c6488c56886ec889f2c0f1df4ba8e4149f5d1b533fabeedc6117c3f [INFO] running `Command { std: "docker" "start" "-a" "c055ce777c6488c56886ec889f2c0f1df4ba8e4149f5d1b533fabeedc6117c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c055ce777c6488c56886ec889f2c0f1df4ba8e4149f5d1b533fabeedc6117c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c055ce777c6488c56886ec889f2c0f1df4ba8e4149f5d1b533fabeedc6117c3f", kill_on_drop: false }` [INFO] [stdout] c055ce777c6488c56886ec889f2c0f1df4ba8e4149f5d1b533fabeedc6117c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f6815927ee592c1d0fa818bf80a026f38e7faaf7fd400206e804476e8585687 [INFO] running `Command { std: "docker" "start" "-a" "1f6815927ee592c1d0fa818bf80a026f38e7faaf7fd400206e804476e8585687", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking transport-async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `transport_async::codec` [INFO] [stdout] --> examples/stdio_test.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use transport_async::codec::{Codec, CodecStream, SerdeCodec}; [INFO] [stdout] | ^^^^^ could not find `codec` in `transport_async` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "codec")] [INFO] [stdout] | ----------------- the item is gated behind the `codec` feature [INFO] [stdout] 2 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `transport_async::stdio` [INFO] [stdout] --> examples/stdio_test.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use transport_async::stdio::StdioTransport; [INFO] [stdout] | ^^^^^ could not find `stdio` in `transport_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `transport_async::local`, `transport_async::local` [INFO] [stdout] --> tests/bytes_test.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use transport_async::local::{self, LocalClientStream}; [INFO] [stdout] | ^^^^^ ^^^^ no `local` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `local` in `transport_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `transport_async::ipc`, `transport_async::tcp`, `transport_async::udp` [INFO] [stdout] --> tests/bytes_test.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | use transport_async::{AsyncReadWrite, Bind, Connect, ipc, tcp, udp}; [INFO] [stdout] | ^^^ ^^^ ^^^ no `udp` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `tcp` in the root [INFO] [stdout] | no `ipc` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] tokio::net::tcp [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/stdio_test.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | let msg = stream.next().await.expect("unable to read from socket"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/stdio_test.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | let msg = stream.next().await.expect("unable to read from socket"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/stdio_test.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | / stream [INFO] [stdout] 19 | | .send(msg.unwrap()) [INFO] [stdout] 20 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bind` and `Connect` [INFO] [stdout] --> tests/bytes_test.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use transport_async::{AsyncReadWrite, Bind, Connect, ipc, tcp, udp}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `transport-async` (example "stdio_test") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/bytes_test.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let endpoint = ipc::Endpoint::bind( [INFO] [stdout] | ____________________^ [INFO] [stdout] 99 | | ipc::EndpointParams::new( [INFO] [stdout] 100 | | ipc::ServerId::new("test"), [INFO] [stdout] 101 | | ipc::SecurityAttributes::allow_everyone_create().unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 106 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/bytes_test.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | let endpoint = tcp::Endpoint::bind("127.0.0.1:52542").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/bytes_test.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let endpoint = udp::Endpoint::bind(udp::ConnectionParams { [INFO] [stdout] | ____________________^ [INFO] [stdout] 131 | | bind_addr: "127.0.0.1:26432", [INFO] [stdout] 132 | | connect_addr: "127.0.0.1:26433", [INFO] [stdout] 133 | | }) [INFO] [stdout] 134 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `transport_async::codec` [INFO] [stdout] --> tests/codec_test.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use transport_async::codec::{Codec, CodecStream, LengthDelimitedCodec, SerdeCodec, StreamSink}; [INFO] [stdout] | ^^^^^ could not find `codec` in `transport_async` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "codec")] [INFO] [stdout] | ----------------- the item is gated behind the `codec` feature [INFO] [stdout] 2 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `transport-async` (test "bytes_test") due to 5 previous errors; 1 warning emitted [INFO] [stdout] error[E0432]: unresolved import `transport_async::stdio` [INFO] [stdout] --> tests/codec_test.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use transport_async::stdio::StdioTransport; [INFO] [stdout] | ^^^^^ could not find `stdio` in `transport_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `transport_async::ipc`, `transport_async::local`, `transport_async::quic`, `transport_async::tcp`, `transport_async::udp` [INFO] [stdout] --> tests/codec_test.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use transport_async::{Bind, Connect, ipc, local, quic, tcp, udp}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^ ^^^ ^^^ no `udp` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `tcp` in the root [INFO] [stdout] | | | no `quic` in the root [INFO] [stdout] | | no `local` in the root [INFO] [stdout] | no `ipc` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] tokio::net::tcp [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `quinn` [INFO] [stdout] --> tests/codec_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use quinn::rustls::pki_types::{PrivateKeyDer, PrivatePkcs8KeyDer}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `quinn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `quinn`, use `cargo add quinn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/codec_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` 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 `quinn` [INFO] [stdout] --> tests/codec_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use quinn::rustls::{self, RootCertStore}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `quinn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `quinn`, use `cargo add quinn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quinn` [INFO] [stdout] --> tests/codec_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use quinn::rustls::{self, RootCertStore}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `quinn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `quinn`, use `cargo add quinn` 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 `quinn` [INFO] [stdout] --> tests/codec_test.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | let cert = quinn::rustls::pki_types::CertificateDer::from( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `quinn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `quinn`, use `cargo add quinn` 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 `quinn` [INFO] [stdout] --> tests/codec_test.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | .add(quinn::rustls::pki_types::CertificateDer::from( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `quinn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `quinn`, use `cargo add quinn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bind` and `Connect` [INFO] [stdout] --> tests/codec_test.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use transport_async::{Bind, Connect, ipc, local, quic, tcp, udp}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] [stderr] error: could not compile `transport-async` (test "codec_test") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1f6815927ee592c1d0fa818bf80a026f38e7faaf7fd400206e804476e8585687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6815927ee592c1d0fa818bf80a026f38e7faaf7fd400206e804476e8585687", kill_on_drop: false }` [INFO] [stdout] 1f6815927ee592c1d0fa818bf80a026f38e7faaf7fd400206e804476e8585687