[INFO] fetching crate actix-http 3.9.0... [INFO] checking actix-http-3.9.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate actix-http 3.9.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate actix-http 3.9.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-http 3.9.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate actix-http 3.9.0 [INFO] tweaked toml for crates.io crate actix-http 3.9.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate actix-http 3.9.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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fab2f1abe54f1d2b130ccc3784070cdfa33d0cf81fe4e8d14aebc623ca321f6 [INFO] running `Command { std: "docker" "start" "-a" "1fab2f1abe54f1d2b130ccc3784070cdfa33d0cf81fe4e8d14aebc623ca321f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fab2f1abe54f1d2b130ccc3784070cdfa33d0cf81fe4e8d14aebc623ca321f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fab2f1abe54f1d2b130ccc3784070cdfa33d0cf81fe4e8d14aebc623ca321f6", kill_on_drop: false }` [INFO] [stdout] 1fab2f1abe54f1d2b130ccc3784070cdfa33d0cf81fe4e8d14aebc623ca321f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ef94355a1f5fe1ed7305fcf2666bac3795b0d2d20eaf84bd2f9cd41dedab3d8 [INFO] running `Command { std: "docker" "start" "-a" "0ef94355a1f5fe1ed7305fcf2666bac3795b0d2d20eaf84bd2f9cd41dedab3d8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling aws-lc-rs v1.8.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Compiling aws-lc-sys v0.20.1 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking condtype v1.3.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling divan-macros v0.1.14 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking divan v0.1.14 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rcgen v0.13.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-http v3.9.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Fixed src/h1/decoder.rs (3 fixes) [INFO] [stderr] Fixed src/responses/head.rs (2 fixes) [INFO] [stderr] Fixed src/h1/dispatcher.rs (8 fixes) [INFO] [stderr] Fixed src/http_message.rs (1 fix) [INFO] [stderr] Fixed src/h1/client.rs (1 fix) [INFO] [stderr] Fixed src/h1/encoder.rs (2 fixes) [INFO] [stderr] Fixed src/h1/payload.rs (7 fixes) [INFO] [stderr] Fixed src/h1/codec.rs (2 fixes) [INFO] [stderr] Fixed src/test.rs (1 fix) [INFO] [stderr] Fixed src/message.rs (1 fix) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/body/utils.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 86 | let mut buf = BytesMut::with_capacity(cap); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `buf` calls a custom destructor [INFO] [stdout] | `buf` will be dropped later as of Edition 2024 [INFO] [stdout] 87 | [INFO] [stdout] 88 | pin!(body); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `body` calls a custom destructor [INFO] [stdout] | `body` will be dropped later as of Edition 2024 [INFO] [stdout] 89 | [INFO] [stdout] 90 | match poll_fn(|cx| loop { [INFO] [stdout] | ___________^ [INFO] [stdout] 91 | | let body = body.as_mut(); [INFO] [stdout] 92 | | [INFO] [stdout] 93 | | match ready!(body.poll_next(cx)) { [INFO] [stdout] ... | [INFO] [stdout] 107 | | }) [INFO] [stdout] 108 | | .await [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `buf` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.1/src/bytes_mut.rs:1121:1 [INFO] [stdout] | [INFO] [stdout] 1121 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking awc v3.5.0 [INFO] [stderr] Checking actix-http-test v3.2.0 [INFO] [stderr] Migrating tests/test_server.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_ws.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `h2` [INFO] [stdout] --> tests/test_server.rs:884:28 [INFO] [stdout] | [INFO] [stdout] 884 | let (h2, connection) = h2::client::handshake(tcp).await.unwrap(); [INFO] [stdout] | ^^ use of undeclared crate or module `h2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:167:66 [INFO] [stdout] | [INFO] [stdout] 167 | let random_bytes: Vec = (0..*chunk_size).map(|_| rand::random::()).collect(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [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:871:14 [INFO] [stdout] | [INFO] [stdout] 861 | / HttpService::build() [INFO] [stdout] 862 | | .keep_alive(KeepAlive::Disabled) [INFO] [stdout] 863 | | .finish(|req: Request| { [INFO] [stdout] 864 | | let body = match req.version() { [INFO] [stdout] ... | [INFO] [stdout] 870 | | }) [INFO] [stdout] 871 | | .tcp_auto_h2c() [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `HttpService<_, FnServiceFactory<..., ..., ..., ..., ..., ...>, ...>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/test_server-8c0a1a23351b58f8.long-type-5003886090397578815.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` (test "test_server") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> /tmp/fixit/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub mod ws; [INFO] [stdout] | ^^ [INFO] [stdout] note: the item is gated behind the `ws` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "ws")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /tmp/fixit/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub mod ws; [INFO] [stdout] | ^^ [INFO] [stdout] note: the item is gated behind the `ws` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "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] --> /tmp/fixit/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub mod ws; [INFO] [stdout] | ^^ [INFO] [stdout] note: the item is gated behind the `ws` feature [INFO] [stdout] --> /tmp/fixit/src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "ws")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 `actix-http` (test "test_ws") due to 2 previous errors [INFO] [stderr] Migrating examples/streaming-error.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_rustls.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/echo.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/h2spec.rs from 2021 edition to 2024 [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 | .h1(|_: Request| async move { [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] Migrating examples/echo2.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `actix-http` (example "h2spec") due to 1 previous error [INFO] [stderr] Migrating examples/hello-world.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/h2c-detect.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `actix-http` (example "h2c-detect") due to 1 previous error [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 type name has been written to '/opt/rustwide/target/debug/examples/h2c_detect-01fea982bacb2b3a.long-type-6841014498493387806.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] Migrating examples/bench.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/header/shared/http_date.rs (2 fixes) [INFO] [stderr] Fixed src/h1/chunked.rs (3 fixes) [INFO] [stderr] Migrating examples/actix-web.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/notify_on_drop.rs (1 fix) [INFO] [stderr] Fixed src/body/body_stream.rs (1 fix) [INFO] [stderr] Fixed src/body/message_body.rs (3 fixes) [INFO] [stderr] Fixed src/error.rs (2 fixes) [INFO] [stderr] Fixed src/h1/dispatcher_tests.rs (2 fixes) [INFO] [stderr] Fixed src/h1/decoder.rs (2 fixes) [INFO] [stdout] error[E0277]: the trait bound `actix_service::map_config::MapConfig, actix_http::requests::request::Request>>>>, {closure@examples/actix-web.rs:22:37: 22:40}, _>: IntoServiceFactory<_, actix_http::Request>` 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, actix_http::requests::request::Request>` is implemented for `App` [INFO] [stdout] note: required by a bound in `HttpServiceBuilder::::h1` [INFO] [stdout] --> /tmp/fixit/src/builder.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn h1(self, service: F) -> H1Service [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 193 | F: IntoServiceFactory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `HttpServiceBuilder::::h1` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/date-formatting.rs from 2021 edition to 2024 [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] [stderr] Migrating tests/test_client.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_openssl.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_h2_timer.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `h2` [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 | .h1(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] | ~~ [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] 96 | | // set first request timeout to 5 seconds. [INFO] [stdout] 97 | | // this is the timeout used for http2 handshake. [INFO] [stdout] 98 | | .client_request_timeout(Duration::from_secs(5)) [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 | .h1(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` (test "test_h2_timer") due to 3 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0ef94355a1f5fe1ed7305fcf2666bac3795b0d2d20eaf84bd2f9cd41dedab3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef94355a1f5fe1ed7305fcf2666bac3795b0d2d20eaf84bd2f9cd41dedab3d8", kill_on_drop: false }` [INFO] [stdout] 0ef94355a1f5fe1ed7305fcf2666bac3795b0d2d20eaf84bd2f9cd41dedab3d8