[INFO] fetching crate actix-http 3.11.2... [INFO] testing actix-http-3.11.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate actix-http 3.11.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate actix-http 3.11.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate actix-http 3.11.2 [INFO] tweaked toml for crates.io crate actix-http 3.11.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate actix-http 3.11.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate actix-http 3.11.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2fbd5baf919601dadb4847b0cc2ae037fcd47df0f45d66df7facb21c934efa8 [INFO] running `Command { std: "docker" "start" "-a" "c2fbd5baf919601dadb4847b0cc2ae037fcd47df0f45d66df7facb21c934efa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2fbd5baf919601dadb4847b0cc2ae037fcd47df0f45d66df7facb21c934efa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2fbd5baf919601dadb4847b0cc2ae037fcd47df0f45d66df7facb21c934efa8", kill_on_drop: false }` [INFO] [stdout] c2fbd5baf919601dadb4847b0cc2ae037fcd47df0f45d66df7facb21c934efa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bde89f779d667bd8cb9b97942cf0385aed8b44ad439f2c06335add9adaaa4f19 [INFO] running `Command { std: "docker" "start" "-a" "bde89f779d667bd8cb9b97942cf0385aed8b44ad439f2c06335add9adaaa4f19", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-http v3.11.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.08s [INFO] running `Command { std: "docker" "inspect" "bde89f779d667bd8cb9b97942cf0385aed8b44ad439f2c06335add9adaaa4f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde89f779d667bd8cb9b97942cf0385aed8b44ad439f2c06335add9adaaa4f19", kill_on_drop: false }` [INFO] [stdout] bde89f779d667bd8cb9b97942cf0385aed8b44ad439f2c06335add9adaaa4f19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 196bece39ca621cd4911fa69b401d2822664137cb387c4f81859c98690ea8a5d [INFO] running `Command { std: "docker" "start" "-a" "196bece39ca621cd4911fa69b401d2822664137cb387c4f81859c98690ea8a5d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling aws-lc-rs v1.14.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling aws-lc-sys v0.31.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling condtype v1.3.0 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling divan-macros v0.1.21 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling divan v0.1.21 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rcgen v0.13.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-http v3.11.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling actix-http v3.11.1 [INFO] [stderr] Compiling rustls-webpki v0.103.5 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling awc v3.8.0 [INFO] [stderr] Compiling actix-http-test v3.2.0 [INFO] [stdout] error[E0599]: no method named `tcp_auto_h2c` found for struct `HttpService` in the current scope [INFO] [stdout] --> examples/h2c-detect.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 20 | / HttpService::build() [INFO] [stdout] 21 | | .finish(|_req: Request| async move { [INFO] [stdout] 22 | | Ok::<_, Infallible>(Response::build(StatusCode::OK).body(BodyStream::new( [INFO] [stdout] 23 | | futures_util::stream::iter([ [INFO] [stdout] ... | [INFO] [stdout] 28 | | }) [INFO] [stdout] 29 | | .tcp_auto_h2c() [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `HttpService<_, FnServiceFactory<..., ..., ..., ..., ..., ()>, ...>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/h2c_detect-77ec93a9889b11c5.long-type-17876875808427585305.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` (example "h2c-detect") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `MapConfig, ..., ..., _>: IntoServiceFactory<_, ...>` is not satisfied [INFO] [stdout] --> examples/actix-web.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | .h1(map_config(app, |_| AppConfig::default())) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `IntoServiceFactory<_, actix_http::Request>` is not implemented for `MapConfig, Request>>, ..., _>` [INFO] [stdout] help: the trait `IntoServiceFactory, Request>` is implemented for `App` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/app.rs:436:1 [INFO] [stdout] | [INFO] [stdout] 436 | / impl IntoServiceFactory, Request> for App [INFO] [stdout] 437 | | where [INFO] [stdout] 438 | | T: ServiceFactory< [INFO] [stdout] 439 | | ServiceRequest, [INFO] [stdout] ... | [INFO] [stdout] 444 | | > + 'static, [INFO] [stdout] 445 | | B: MessageBody, [INFO] [stdout] | |___________________^ [INFO] [stdout] note: required by a bound in `HttpServiceBuilder::::h1` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn h1(self, service: F) -> H1Service [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 209 | F: IntoServiceFactory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `HttpServiceBuilder::::h1` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/actix_web-a848b61e5f2cb426.long-type-2123779315690773133.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` (example "actix-web") due to 1 previous error [INFO] [stdout] error[E0599]: no method named `h2` found for struct `HttpServiceBuilder` in the current scope [INFO] [stdout] --> examples/h2spec.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 15 | / HttpService::build() [INFO] [stdout] 16 | | .h2(|_: Request| async move { [INFO] [stdout] | |_________________-^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `h1` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - .h2(|_: Request| async move { [INFO] [stdout] 16 + .h1(|_: Request| async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/test_server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::Rng as _; [INFO] [stdout] | ^^^^ help: a similar path exists: `tls_openssl::rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `actix_http::ws`, `actix_http::ws` [INFO] [stdout] --> tests/test_ws.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ws::{self, CloseCode, Frame, Item, Message}, [INFO] [stdout] | ^^ ^^^^ no `ws` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `ws` in `actix_http` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "ws")] [INFO] [stdout] | -------------- the item is gated behind the `ws` feature [INFO] [stdout] 58 | pub mod ws; [INFO] [stdout] | ^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "ws")] [INFO] [stdout] | -------------- the item is gated behind the `ws` feature [INFO] [stdout] 58 | pub mod ws; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ws` in `actix_http` [INFO] [stdout] --> tests/test_ws.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | Ws(actix_http::ws::HandshakeError), [INFO] [stdout] | ^^ could not find `ws` in `actix_http` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "ws")] [INFO] [stdout] | -------------- the item is gated behind the `ws` feature [INFO] [stdout] 58 | pub mod ws; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` (example "h2spec") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `h2` [INFO] [stdout] --> tests/test_h2_timer.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | let (mut tx, conn) = h2::client::handshake(stream).await.unwrap(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `h2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `h2`, use `cargo add h2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_ws.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | / ws::Dispatcher::with(framed, service) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `h2` found for struct `HttpServiceBuilder` in the current scope [INFO] [stdout] --> tests/test_h2_timer.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 21 | / HttpService::build() [INFO] [stdout] 22 | | .keep_alive(Duration::from_secs(3)) [INFO] [stdout] 23 | | .h2(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] | |_________________________-^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `h1` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 - .h2(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] 23 + .h1(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_h2_timer.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | let (mut tx, conn) = h2::client::handshake(stream).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_h2_timer.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | tokio::spawn(async move { conn.await.unwrap() }); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_h2_timer.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | let (res, _) = tx.send_request(::http::Request::new(()), true).unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_h2_timer.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | let res = res.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/test_server.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | .sample_iter(rand::distr::StandardUniform) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` (test "test_ws") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `h2` [INFO] [stdout] --> tests/test_server.rs:888:28 [INFO] [stdout] | [INFO] [stdout] 888 | let (h2, connection) = h2::client::handshake(tcp).await.unwrap(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `h2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `h2`, use `cargo add h2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `h2` found for struct `HttpServiceBuilder` in the current scope [INFO] [stdout] --> tests/test_h2_timer.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 94 | / HttpService::build() [INFO] [stdout] 95 | | .keep_alive(Duration::from_secs(30)) [INFO] [stdout] ... | [INFO] [stdout] 99 | | .h2(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] | |_________________________-^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `h1` with a similar name [INFO] [stdout] | [INFO] [stdout] 99 - .h2(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] 99 + .h1(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` (test "test_h2_timer") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> tests/test_server.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | let random_bytes = rand::rng() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tcp_auto_h2c` found for struct `HttpService` in the current scope [INFO] [stdout] --> tests/test_server.rs:875:14 [INFO] [stdout] | [INFO] [stdout] 865 | / HttpService::build() [INFO] [stdout] 866 | | .keep_alive(KeepAlive::Disabled) [INFO] [stdout] 867 | | .finish(|req: Request| { [INFO] [stdout] 868 | | let body = match req.version() { [INFO] [stdout] ... | [INFO] [stdout] 874 | | }) [INFO] [stdout] 875 | | .tcp_auto_h2c() [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `HttpService<_, FnServiceFactory<..., ..., ..., ..., ..., ()>, ...>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/test_server-317e5e63b2e49816.long-type-17401719086320335718.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:864:9 [INFO] [stdout] | [INFO] [stdout] 864 | let mut srv = test_server(|| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 879 | let req = srv.get("/"); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `srv` an explicit type [INFO] [stdout] | [INFO] [stdout] 864 | let mut srv: /* Type */ = test_server(|| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:881:19 [INFO] [stdout] | [INFO] [stdout] 881 | let mut res = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:883:16 [INFO] [stdout] | [INFO] [stdout] 883 | assert_eq!(res.body().await.unwrap(), &b"h1"[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:887:15 [INFO] [stdout] | [INFO] [stdout] 887 | let tcp = TcpStream::connect(srv.addr()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:888:28 [INFO] [stdout] | [INFO] [stdout] 888 | let (h2, connection) = h2::client::handshake(tcp).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:889:31 [INFO] [stdout] | [INFO] [stdout] 889 | tokio::spawn(async move { connection.await.unwrap() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:890:18 [INFO] [stdout] | [INFO] [stdout] 890 | let mut h2 = h2.ready().await.unwrap(); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:890:18 [INFO] [stdout] | [INFO] [stdout] 890 | let mut h2 = h2.ready().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:894:28 [INFO] [stdout] | [INFO] [stdout] 894 | let (head, mut body) = response.await.unwrap().into_parts(); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:895:16 [INFO] [stdout] | [INFO] [stdout] 895 | let body = body.data().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_server.rs:895:16 [INFO] [stdout] | [INFO] [stdout] 895 | let body = body.data().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [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] [stderr] error: could not compile `actix-http` (test "test_server") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "196bece39ca621cd4911fa69b401d2822664137cb387c4f81859c98690ea8a5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "196bece39ca621cd4911fa69b401d2822664137cb387c4f81859c98690ea8a5d", kill_on_drop: false }` [INFO] [stdout] 196bece39ca621cd4911fa69b401d2822664137cb387c4f81859c98690ea8a5d