[INFO] fetching crate actix-web-lab 0.23.0... [INFO] checking actix-web-lab-0.23.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate actix-web-lab 0.23.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate actix-web-lab 0.23.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-lab 0.23.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate actix-web-lab 0.23.0 [INFO] tweaked toml for crates.io crate actix-web-lab 0.23.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate actix-web-lab 0.23.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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a29b4c413c794dcf1b52f41e590b908177efbbecb4558cecdbe2d55516622224 [INFO] running `Command { std: "docker" "start" "-a" "a29b4c413c794dcf1b52f41e590b908177efbbecb4558cecdbe2d55516622224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a29b4c413c794dcf1b52f41e590b908177efbbecb4558cecdbe2d55516622224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29b4c413c794dcf1b52f41e590b908177efbbecb4558cecdbe2d55516622224", kill_on_drop: false }` [INFO] [stdout] a29b4c413c794dcf1b52f41e590b908177efbbecb4558cecdbe2d55516622224 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f038b1dc623ba366d9312758787c71fb1847b4157d0bbe394e8a6ed93c1e74ec [INFO] running `Command { std: "docker" "start" "-a" "f038b1dc623ba366d9312758787c71fb1847b4157d0bbe394e8a6ed93c1e74ec", 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 proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling aws-lc-rs v1.10.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rustls v0.23.14 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking async-compression v0.4.15 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking mediatype v0.19.18 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling aws-lc-sys v0.22.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling actix-web-lab-derive v0.23.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking curve25519-dalek v4.1.3 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.6 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_html_form v0.2.6 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking async_zip v0.0.17 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking actix-web-lab v0.23.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/test_response_macros.rs (6 fixes) [INFO] [stderr] Fixed src/sse.rs (1 fix) [INFO] [stderr] Fixed src/header.rs (1 fix) [INFO] [stderr] Fixed src/test_request_macros.rs (11 fixes) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/request_signature.rs:268:45 [INFO] [stdout] | [INFO] [stdout] 268 | while let Some(chunk) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 269 | trace!("digesting chunk"); [INFO] [stdout] 270 | sig_scheme.consume_chunk(&req, chunk).await?; [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 271 | } [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: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.2/src/bytes.rs:571:1 [INFO] [stdout] | [INFO] [stdout] 571 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.2/src/bytes.rs:571:1 [INFO] [stdout] | [INFO] [stdout] 571 | impl Drop for Bytes { [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] Fixed src/test_header_macros.rs (3 fixes) [INFO] [stderr] Migrating examples/fork_request_payload.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/ndjson.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/json.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/map_response.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/sse.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/req_sig.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/query.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/body_channel.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/body_async_write.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/body_async_write.rs (1 fix) [INFO] [stderr] Migrating examples/body_hmac.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/from_fn.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/discord_webhook.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl MessageBody` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/from_fn.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> examples/from_fn.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> examples/from_fn.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | next: Next, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 68 ~ async fn mw_cb( [INFO] [stdout] 69 | &self, [INFO] [stdout] 70 | req: ServiceRequest, [INFO] [stdout] 71 ~ next: Next, [INFO] [stdout] 72 ~ ) -> Result>, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.63s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking actix-web-lab v0.23.0 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local data `this` [INFO] [stdout] --> examples/from_fn.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | async move { Self::mw_cb(&this, req, next).await } [INFO] [stdout] | ^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `this` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/from_fn.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | async move { Self::mw_cb(&this, req, next).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> examples/from_fn.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | next: Next, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 68 ~ async fn mw_cb( [INFO] [stdout] 69 | &self, [INFO] [stdout] 70 | req: ServiceRequest, [INFO] [stdout] 71 ~ next: Next, [INFO] [stdout] 72 ~ ) -> Result>, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-lab` (example "from_fn") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f038b1dc623ba366d9312758787c71fb1847b4157d0bbe394e8a6ed93c1e74ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f038b1dc623ba366d9312758787c71fb1847b4157d0bbe394e8a6ed93c1e74ec", kill_on_drop: false }` [INFO] [stdout] f038b1dc623ba366d9312758787c71fb1847b4157d0bbe394e8a6ed93c1e74ec