[INFO] fetching crate trillium-client 0.6.2... [INFO] building trillium-client-0.6.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate trillium-client 0.6.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate trillium-client 0.6.2 [INFO] finished tweaking crates.io crate trillium-client 0.6.2 [INFO] tweaked toml for crates.io crate trillium-client 0.6.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate trillium-client 0.6.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trillium-client 0.6.2 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking v2.2.0 [INFO] [stderr] Downloaded async-tungstenite v0.25.1 [INFO] [stderr] Downloaded async_cell v0.2.2 [INFO] [stderr] Downloaded trillium-websockets v0.6.6 [INFO] [stderr] Downloaded stopper v0.2.7 [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded size v0.4.1 [INFO] [stderr] Downloaded trillium-macros v0.0.6 [INFO] [stderr] Downloaded event-listener v4.0.3 [INFO] [stderr] Downloaded async-io v2.3.2 [INFO] [stderr] Downloaded polling v3.7.0 [INFO] [stderr] Downloaded async-channel v2.3.1 [INFO] [stderr] Downloaded trillium-server-common v0.5.2 [INFO] [stderr] Downloaded async-executor v1.12.0 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded test-harness v0.2.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.11 [INFO] [stderr] Downloaded trillium-http v0.3.17 [INFO] [stderr] Downloaded sha-1 v0.10.1 [INFO] [stderr] Downloaded blocking v1.6.1 [INFO] [stderr] Downloaded event-listener-strategy v0.4.0 [INFO] [stderr] Downloaded smartcow v0.2.1 [INFO] [stderr] Downloaded rlimit v0.10.1 [INFO] [stderr] Downloaded piper v0.2.2 [INFO] [stderr] Downloaded async-lock v3.3.0 [INFO] [stderr] Downloaded trillium v0.2.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b9badbec3608cc671394486c6abe7cf05c701af9f2534a8792daa83e436c651 [INFO] running `Command { std: "docker" "start" "-a" "7b9badbec3608cc671394486c6abe7cf05c701af9f2534a8792daa83e436c651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b9badbec3608cc671394486c6abe7cf05c701af9f2534a8792daa83e436c651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9badbec3608cc671394486c6abe7cf05c701af9f2534a8792daa83e436c651", kill_on_drop: false }` [INFO] [stdout] 7b9badbec3608cc671394486c6abe7cf05c701af9f2534a8792daa83e436c651 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2bedfde35ac131659cc1d27250eba3d3245acf48385b00fcbc67a3732e97993 [INFO] running `Command { std: "docker" "start" "-a" "f2bedfde35ac131659cc1d27250eba3d3245acf48385b00fcbc67a3732e97993", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling smartcow v0.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling rlimit v0.10.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling stopper v0.2.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling async_cell v0.2.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling size v0.4.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling trillium-macros v0.0.6 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling trillium-http v0.3.17 [INFO] [stderr] Compiling trillium v0.2.20 [INFO] [stderr] Compiling trillium-server-common v0.5.2 [INFO] [stderr] Compiling trillium-client v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.02s [INFO] running `Command { std: "docker" "inspect" "f2bedfde35ac131659cc1d27250eba3d3245acf48385b00fcbc67a3732e97993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2bedfde35ac131659cc1d27250eba3d3245acf48385b00fcbc67a3732e97993", kill_on_drop: false }` [INFO] [stdout] f2bedfde35ac131659cc1d27250eba3d3245acf48385b00fcbc67a3732e97993 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a4bba8b8b589f497299980cee13b4dd16aea58bf5b5a3aab849991bc6db83c7 [INFO] running `Command { std: "docker" "start" "-a" "8a4bba8b8b589f497299980cee13b4dd16aea58bf5b5a3aab849991bc6db83c7", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling piper v0.2.2 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling test-harness v0.2.0 [INFO] [stderr] Compiling stopper v0.2.7 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling trillium-http v0.3.17 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling trillium v0.2.20 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling trillium-server-common v0.5.2 [INFO] [stderr] Compiling trillium-client v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/unsafe_headers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use trillium_testing::{connector, harness}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_smol` [INFO] [stdout] --> examples/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_smol::ClientConfig; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_smol` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use trillium_smol::ClientConfig; [INFO] [stdout] 2 + use trillium_http::ClientConfig; [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 imports `trillium_client::websocket`, `trillium_client::websocket`, `trillium_client::WebSocketConn` [INFO] [stdout] --> tests/websocket.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | websocket::{self, Message}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ no `websocket` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `websocket` in `trillium_client` [INFO] [stdout] 4 | Client, WebSocketConn, [INFO] [stdout] | ^^^^^^^^^^^^^ no `WebSocketConn` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "websockets")] [INFO] [stdout] | ---------------------- the item is gated behind the `websockets` feature [INFO] [stdout] 40 | pub mod websocket; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "websockets")] [INFO] [stdout] | ---------------------- the item is gated behind the `websockets` feature [INFO] [stdout] 40 | pub mod websocket; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:42:80 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "websockets")] [INFO] [stdout] | ---------------------- the item is gated behind the `websockets` feature [INFO] [stdout] 42 | pub use trillium_websockets::{async_tungstenite, tungstenite, WebSocketConfig, WebSocketConn}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/websocket.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use trillium_testing::ClientConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_websockets` [INFO] [stdout] --> tests/websocket.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use trillium_websockets::websocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_websockets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_websockets`, use `cargo add trillium_websockets` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-client` (example "client") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/websocket.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | .expect("send_string"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/websocket.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | trillium_testing::with_server(handler, move |url| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-client` (test "unsafe_headers") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/default_headers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use trillium_testing::{harness, ServerConnector, TestResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/base.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use trillium_testing::{harness, ServerConnector, TestResult, Url}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trillium_testing` [INFO] [stdout] --> tests/one_hundred_continue.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use trillium_testing::{harness, TestResult, TestTransport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> tests/base.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_websocket` found for struct `trillium_client::Conn` in the current scope [INFO] [stdout] --> tests/websocket.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ws = client.get(url).into_websocket().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `trillium_client::Conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/websocket.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ws = client.get(url).into_websocket().await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | ws.send_string("Client test message".to_string()).await?; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ws` an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | let mut ws: /* Type */ = client.get(url).into_websocket().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/websocket.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | let response = ws.next().await.expect("response")?; [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/websocket.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | trillium_testing::with_server(handler, move |url| async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [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 `trillium-client` (test "default_headers") due to 1 previous error [INFO] [stderr] error: could not compile `trillium-client` (test "base") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `into_websocket` found for struct `trillium_client::Conn` in the current scope [INFO] [stdout] --> tests/websocket.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 44 | let err = client [INFO] [stdout] | ___________________- [INFO] [stdout] 45 | | .get(url) [INFO] [stdout] 46 | | .into_websocket() [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `trillium_client::Conn` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/websocket.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | .expect_err("Expected a 404"); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium` [INFO] [stdout] --> tests/websocket.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | |conn: trillium::Conn| async { conn.with_status(404).with_body("This does not exist") }; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `trillium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium`, use `cargo add trillium` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/one_hundred_continue.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let (transport, conn_fut) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | transport.read_available_string().await [INFO] [stdout] | --------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 13 | let (transport, conn_fut): (_, _) = [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-client` (test "websocket") due to 12 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/one_hundred_continue.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | let mut conn = conn_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/one_hundred_continue.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let (transport, conn_fut) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | assert_eq!(expected_request, transport.read_available_string().await); [INFO] [stdout] | --------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 67 | let (transport, conn_fut): (_, _) = [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/one_hundred_continue.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let mut conn = conn_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/one_hundred_continue.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let (transport, conn_fut) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | assert_eq!(expected_request, transport.read_available_string().await); [INFO] [stdout] | --------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 111 | let (transport, conn_fut): (_, _) = [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/one_hundred_continue.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | let conn = conn_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/one_hundred_continue.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let (transport, conn_fut) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | assert_eq!(expected_request, transport.read_available_string().await); [INFO] [stdout] | --------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 142 | let (transport, conn_fut): (_, _) = [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/one_hundred_continue.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | let conn = conn_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/one_hundred_continue.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let (transport, conn_fut) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | assert_eq!(expected_request, transport.read_available_string().await); [INFO] [stdout] | --------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 180 | let (transport, conn_fut): (_, _) = [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/one_hundred_continue.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | let conn = conn_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/one_hundred_continue.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | let conn_fut = trillium_testing::spawn(async move { setup(client).await }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/one_hundred_continue.rs:241:43 [INFO] [stdout] | [INFO] [stdout] 241 | let transport = receiver.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/one_hundred_continue.rs:242:45 [INFO] [stdout] | [INFO] [stdout] 242 | (transport, async move { conn_fut.await.unwrap() }) [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] --> tests/one_hundred_continue.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let _ = trillium_testing::spawn(fut); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trillium_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trillium_testing`, use `cargo add trillium_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trillium-client` (test "one_hundred_continue") due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "8a4bba8b8b589f497299980cee13b4dd16aea58bf5b5a3aab849991bc6db83c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4bba8b8b589f497299980cee13b4dd16aea58bf5b5a3aab849991bc6db83c7", kill_on_drop: false }` [INFO] [stdout] 8a4bba8b8b589f497299980cee13b4dd16aea58bf5b5a3aab849991bc6db83c7