[INFO] fetching crate rocket 0.5.1... [INFO] checking rocket-0.5.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate rocket 0.5.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rocket 0.5.1 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 rocket 0.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rocket 0.5.1 [INFO] tweaked toml for crates.io crate rocket 0.5.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 225 packages to latest compatible versions [INFO] [stderr] Adding atomic v0.5.3 (available: v0.6.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] dfbf5a26ea74dfaf31e248b0cffa1e4411c4d028bbbe9922495c80ae15b813e3 [INFO] running `Command { std: "docker" "start" "-a" "dfbf5a26ea74dfaf31e248b0cffa1e4411c4d028bbbe9922495c80ae15b813e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfbf5a26ea74dfaf31e248b0cffa1e4411c4d028bbbe9922495c80ae15b813e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfbf5a26ea74dfaf31e248b0cffa1e4411c4d028bbbe9922495c80ae15b813e3", kill_on_drop: false }` [INFO] [stdout] dfbf5a26ea74dfaf31e248b0cffa1e4411c4d028bbbe9922495c80ae15b813e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3cfad7bbffe96ad6e0e7ad34cde0d90f95ae77695de312deb7f213c508f1d0f1 [INFO] running `Command { std: "docker" "start" "-a" "3cfad7bbffe96ad6e0e7ad34cde0d90f95ae77695de312deb7f213c508f1d0f1", 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 yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Compiling rocket v0.5.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/form/validate.rs (2 fixes) [INFO] [stderr] Fixed src/catcher/catcher.rs (12 fixes) [INFO] [stderr] Fixed src/local/client.rs (3 fixes) [INFO] [stderr] Fixed src/request/mod.rs (4 fixes) [INFO] [stderr] Fixed src/local/response.rs (2 fixes) [INFO] [stderr] Fixed src/request/request.rs (1 fix) [INFO] [stderr] Fixed src/response/status.rs (1 fix) [INFO] [stderr] Fixed src/server.rs (6 fixes) [INFO] [stderr] Fixed src/outcome.rs (1 fix) [INFO] [stderr] Fixed src/response/stream/sse.rs (1 fix) [INFO] [stderr] Fixed src/config/ident.rs (1 fix) [INFO] [stderr] Fixed src/config/shutdown.rs (1 fix) [INFO] [stderr] Fixed src/fairing/ad_hoc.rs (4 fixes) [INFO] [stderr] Fixed src/response/content.rs (2 fixes) [INFO] [stderr] Fixed src/shield/policy.rs (1 fix) [INFO] [stderr] Fixed src/local/blocking/client.rs (1 fix) [INFO] [stderr] Fixed src/fs/temp_file.rs (4 fixes) [INFO] [stderr] Fixed src/router/router.rs (1 fix) [INFO] [stderr] Fixed src/form/from_form.rs (1 fix) [INFO] [stderr] Fixed src/fs/named_file.rs (1 fix) [INFO] [stderr] Fixed src/log.rs (2 fixes) [INFO] [stderr] Fixed src/response/stream/raw_sse.rs (1 fix) [INFO] [stderr] Fixed src/error.rs (5 fixes) [INFO] [stderr] Fixed src/fairing/fairings.rs (1 fix) [INFO] [stderr] Fixed src/form/parser.rs (3 fixes) [INFO] [stderr] Fixed src/form/context.rs (3 fixes) [INFO] [stderr] Fixed src/config/config.rs (4 fixes) [INFO] [stderr] Fixed src/fs/server.rs (1 fix) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/form/form.rs:327:33 [INFO] [stdout] | [INFO] [stdout] 327 | while let Some(field) = parser.next().await { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^----- [INFO] [stdout] | | | | [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] | | | 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 `#3` [INFO] [stdout] | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `field` calls a custom destructor [INFO] [stdout] | `field` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | Ok(Either::Right(data)) => T::push_data(&mut context, data).await, [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [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] ... [INFO] [stdout] 333 | } [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: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes_mut.rs:1123:1 [INFO] [stdout] | [INFO] [stdout] 1123 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | 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.8.0/src/bytes_mut.rs:1123:1 [INFO] [stdout] | [INFO] [stdout] 1123 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `field` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `field` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `field` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes_mut.rs:1123:1 [INFO] [stdout] | [INFO] [stdout] 1123 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `field` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [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] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/form/form.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 318 | #[crate::async_trait] [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 325 | let mut parser = try_outcome!(Parser::new(req, data).await); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `parser` calls a custom destructor [INFO] [stdout] | `parser` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | match T::finalize(context) { [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `parser` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `parser` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes_mut.rs:1123:1 [INFO] [stdout] | [INFO] [stdout] 1123 | 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] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/fairing/fairings.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 149 | fairing.on_request(req, data).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] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 150 | } [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: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [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] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/server.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 81 | let pending_upgrade = hyper::upgrade::on(&mut hyp_req); [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | `pending_upgrade` calls a custom destructor [INFO] [stdout] | `pending_upgrade` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | let (h_parts, mut h_body) = hyp_req.into_parts(); [INFO] [stdout] | ------- ---------- [INFO] [stdout] | | | [INFO] [stdout] | | `h_body` calls a custom destructor [INFO] [stdout] | | `h_body` will be dropped later as of Edition 2024 [INFO] [stdout] | `h_parts` calls a custom destructor [INFO] [stdout] | `h_parts` will be dropped later as of Edition 2024 [INFO] [stdout] 85 | match Request::from_hyp(&rocket, &h_parts, Some(conn)) { [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] 112 | }); [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: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.13.2/src/lib.rs:2117:1 [INFO] [stdout] | [INFO] [stdout] 2117 | impl Drop for SmallVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `pending_upgrade` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/oneshot.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `h_parts` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `h_parts` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `h_body` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `h_body` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/h2-0.3.26/src/share.rs:480:1 [INFO] [stdout] | [INFO] [stdout] 480 | impl Drop for RecvStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `h_body` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.31/src/oneshot.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `h_body` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.31/src/mpsc/mod.rs:1105:1 [INFO] [stdout] | [INFO] [stdout] 1105 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `h_body` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.31/src/common/watch.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `h_body` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | 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] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/server.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | while let Some(next) = stream.next().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] 176 | sender.send_data(next?).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] 177 | .map_err(|e| io::Error::new(io::ErrorKind::BrokenPipe, e))?; [INFO] [stdout] 178 | } [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.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | 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.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [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] [INFO] [stdout] [INFO] [stderr] Fixed src/form/tests.rs (9 fixes) [INFO] [stderr] Migrating tests/form_value_decoding-issue-82.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/request/tests.rs (2 fixes) [INFO] [stderr] Fixed src/router/router.rs (14 fixes) [INFO] [stderr] Migrating tests/uri-percent-encoding-issue-808.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/many-cookie-jars-at-once.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/absolute-uris-okay-issue-443.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/fairing_before_head_strip-issue-546.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/local_request_private_cookie-issue-368.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/form_value_from_encoded_str-issue-1425.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/form_value_from_encoded_str-issue-1425.rs (1 fix) [INFO] [stderr] Migrating tests/panic-handling.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/config-real-ip-header.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/head_handling.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/precise-content-type-matching.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/precise-content-type-matching.rs (3 fixes) [INFO] [stderr] Migrating tests/timer-on-attach.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/responder_lifetime-issue-345.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/segments-issues-41-86.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/sentinel.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /tmp/fixit/src/response/stream/mod.rs (1 fix) [INFO] [stderr] Migrating tests/encoded-uris.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tests/sentinel.rs:324:51 [INFO] [stdout] | [INFO] [stdout] 324 | fn reader<'a, 'b>(_a: &'a str, b: &'b str) -> ReaderStream![TextSentinel<'b>] { [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] --> tests/sentinel.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | fn reader<'a, 'b>(_a: &'a str, b: &'b str) -> ReaderStream![TextSentinel<'b>] { [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `ReaderStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/derive-reexports.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/deserialize-limits-issue-2268.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/redirect_from_catcher-issue-113.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/replace-content-type-518.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/catcher-cookies-1213.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/local-request-content-type-issue-505.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/mapped-base-issue-1262.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/cookies-private.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/can-correct-bad-local-uri.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/twice_managed_state.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/shield.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/shield.rs (5 fixes) [INFO] [stderr] Migrating tests/can-launch-tls.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/limits.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/forward-includes-status-1560.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/tls-config-from-source-1503.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/multipart-limit.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/shutdown-fairings.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/local-client-access-runtime-in-drop.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/untracked-vs-tracked.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/byte-slices-form-field-issue-2148.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/route_guard.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/on_launch_fairing_can_inspect_port.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/local-client-json.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/http_serde.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/file_server.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/mount_point.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/scoped-uri.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/session-cookies-issue-1506.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/unsound-local-request-1312.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/flash-lazy-removes-issue-466.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/launch-inspect.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/raw-strings-multipart-files-1987.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/recursive-singleton-fairing.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/recursive-singleton-fairing.rs (1 fix) [INFO] [stderr] Migrating tests/form_method-issue-45.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/config-secret-key-1500.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/typed-uri-docs-redef-issue-1373.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/form-validation-names.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/strict_and_lenient_forms.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/conditionally-set-server-header-996.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/nested-fairing-attaches.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.38s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling rocket v0.5.1 (/tmp/fixit) [INFO] [stdout] error: expected expression, found keyword `use` [INFO] [stdout] --> src/response/stream/mod.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | } + use<'b> [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/response/stream/sse.rs:789:22 [INFO] [stdout] | [INFO] [stdout] 789 | let stream = EventStream! { [INFO] [stdout] | ______________________- [INFO] [stdout] 790 | | time::sleep(Duration::from_millis(250)).await; [INFO] [stdout] 791 | | yield Event::data("foo"); [INFO] [stdout] 792 | | time::sleep(Duration::from_millis(250)).await; [INFO] [stdout] 793 | | yield Event::data("bar"); [INFO] [stdout] 794 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `EventStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected expression, found keyword `use` [INFO] [stdout] --> tests/sentinel.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | ReaderStream!(yield TextSentinel("hi");) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `ReaderStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0178]: expected a path on the left-hand side of `+`, not `$crate::__typed_stream! { [INFO] [stdout] $crate :: response :: stream :: ReaderStream, $crate :: response :: stream [INFO] [stdout] :: stream, $crate :: futures :: stream :: Stream, TextSentinel<'static> [INFO] [stdout] }` [INFO] [stdout] --> tests/sentinel.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | fn ignore() -> UnknownStream![TextSentinel<'static>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a path [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `UnknownStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `use` [INFO] [stdout] --> tests/sentinel.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | ReaderStream!(yield TextSentinel(b);) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `ReaderStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0178]: expected a path on the left-hand side of `+`, not `$crate::__typed_stream! { [INFO] [stdout] $crate :: response :: stream :: ReaderStream, $crate :: response :: stream [INFO] [stdout] :: stream, $crate :: futures :: stream :: Stream, TextSentinel<'b> [INFO] [stdout] }` [INFO] [stdout] --> tests/sentinel.rs:324:51 [INFO] [stdout] | [INFO] [stdout] 324 | fn reader<'a, 'b>(_a: &'a str, b: &'b str) -> ReaderStream![TextSentinel<'b>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a path [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `ReaderStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `use` [INFO] [stdout] --> tests/sentinel.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | ByteStream!(yield TextSentinel(a);) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `ByteStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0178]: expected a path on the left-hand side of `+`, not `$crate::__typed_stream! { [INFO] [stdout] $crate :: response :: stream :: ByteStream, $crate :: response :: stream [INFO] [stdout] :: stream, $crate :: futures :: stream :: Stream, TextSentinel<'_> [INFO] [stdout] }` [INFO] [stdout] --> tests/sentinel.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | fn byte(a: &str) -> ByteStream![TextSentinel<'_>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a path [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `ByteStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `use` [INFO] [stdout] --> tests/sentinel.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | TextStream!(yield TextSentinel("hi");) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `TextStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0178]: expected a path on the left-hand side of `+`, not `$crate::__typed_stream! { [INFO] [stdout] $crate :: response :: stream :: TextStream, $crate :: response :: stream [INFO] [stdout] :: stream, $crate :: futures :: stream :: Stream, TextSentinel<'r> [INFO] [stdout] }` [INFO] [stdout] --> tests/sentinel.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | fn text<'r>() -> TextStream![TextSentinel<'r>] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a path [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::_typed_stream` which comes from the expansion of the macro `TextStream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0178`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket` (test "sentinel") due to 8 previous errors [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" "3cfad7bbffe96ad6e0e7ad34cde0d90f95ae77695de312deb7f213c508f1d0f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfad7bbffe96ad6e0e7ad34cde0d90f95ae77695de312deb7f213c508f1d0f1", kill_on_drop: false }` [INFO] [stdout] 3cfad7bbffe96ad6e0e7ad34cde0d90f95ae77695de312deb7f213c508f1d0f1