[INFO] fetching crate ratchet_core 1.0.3... [INFO] checking ratchet_core-1.0.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate ratchet_core 1.0.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ratchet_core 1.0.3 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ratchet_core 1.0.3 [INFO] finished tweaking crates.io crate ratchet_core 1.0.3 [INFO] tweaked toml for crates.io crate ratchet_core 1.0.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding mio v0.8.11 (available: v1.0.2) [INFO] [stderr] Adding tokio v1.38.1 (available: v1.40.0) [INFO] [stderr] Adding tokio-macros v2.3.0 (available: v2.4.0) [INFO] [stderr] Adding tokio-util v0.7.1 (available: v0.7.12) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 652886aef18718f2e8bf28e04d74a41564c31d887e8c0dc3d20c2c351195d7ee [INFO] running `Command { std: "docker" "start" "-a" "652886aef18718f2e8bf28e04d74a41564c31d887e8c0dc3d20c2c351195d7ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "652886aef18718f2e8bf28e04d74a41564c31d887e8c0dc3d20c2c351195d7ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "652886aef18718f2e8bf28e04d74a41564c31d887e8c0dc3d20c2c351195d7ee", kill_on_drop: false }` [INFO] [stdout] 652886aef18718f2e8bf28e04d74a41564c31d887e8c0dc3d20c2c351195d7ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77d7030cc9f7a9df40b5055db0139fb1d36391b678ec9ddd2698995aa587a039 [INFO] running `Command { std: "docker" "start" "-a" "77d7030cc9f7a9df40b5055db0139fb1d36391b678ec9ddd2698995aa587a039", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ratchet_ext v1.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking ratchet_core v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0053]: method `negotiate_client` has an incompatible type for trait [INFO] [stdout] --> src/ext.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | _headers: &[Header], [INFO] [stdout] | ^^^^^^^^^ expected `HeaderMap`, found `[Header<'_>]` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&NoExtProvider, &HeaderMap) -> Result<_, _>` [INFO] [stdout] found signature `fn(&NoExtProvider, &[Header<'_>]) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 64 | _headers: &HeaderMap, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `negotiate_server` has an incompatible type for trait [INFO] [stdout] --> src/ext.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | _headers: &[Header], [INFO] [stdout] | ^^^^^^^^^ expected `HeaderMap`, found `[Header<'_>]` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&NoExtProvider, &HeaderMap) -> Result<_, _>` [INFO] [stdout] found signature `fn(&NoExtProvider, &[Header<'_>]) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 71 | _headers: &HeaderMap, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `negotiate_client` has an incompatible type for trait [INFO] [stdout] --> src/ext.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | _headers: &[Header], [INFO] [stdout] | ^^^^^^^^^ expected `HeaderMap`, found `[Header<'_>]` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&NoExtProvider, &HeaderMap) -> Result<_, _>` [INFO] [stdout] found signature `fn(&NoExtProvider, &[Header<'_>]) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 64 | _headers: &HeaderMap, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `negotiate_server` has an incompatible type for trait [INFO] [stdout] --> src/ext.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | _headers: &[Header], [INFO] [stdout] | ^^^^^^^^^ expected `HeaderMap`, found `[Header<'_>]` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&NoExtProvider, &HeaderMap) -> Result<_, _>` [INFO] [stdout] found signature `fn(&NoExtProvider, &[Header<'_>]) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 71 | _headers: &HeaderMap, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `negotiate_client` has an incompatible type for trait [INFO] [stdout] --> src/handshake/client/tests.rs:497:41 [INFO] [stdout] | [INFO] [stdout] 497 | fn negotiate_client(&self, headers: &[Header]) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^^ expected `HeaderMap`, found `[Header<'_>]` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&MockExtensionProxy<_>, &HeaderMap) -> Result<_, _>` [INFO] [stdout] found signature `fn(&MockExtensionProxy<_>, &[Header<'_>]) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 497 | fn negotiate_client(&self, headers: &HeaderMap) -> Result, Self::Error> { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `negotiate_server` has an incompatible type for trait [INFO] [stdout] --> src/handshake/client/tests.rs:503:19 [INFO] [stdout] | [INFO] [stdout] 503 | _headers: &[Header], [INFO] [stdout] | ^^^^^^^^^ expected `HeaderMap`, found `[Header<'_>]` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&MockExtensionProxy<_>, &HeaderMap) -> Result<_, _>` [INFO] [stdout] found signature `fn(&MockExtensionProxy<_>, &[Header<'_>]) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 503 | _headers: &HeaderMap, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, errors::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handshake/server/tests.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 74 | async fn t(request: Request<()>, name: HeaderName) { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | match exec_request(request).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `negotiate_client` has an incompatible type for trait [INFO] [stdout] --> src/handshake/server/tests.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | _headers: &[Header], [INFO] [stdout] | ^^^^^^^^^ expected `HeaderMap`, found `[Header<'_>]` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&BadExtProvider, &HeaderMap) -> Result<_, _>` [INFO] [stdout] found signature `fn(&BadExtProvider, &[Header<'_>]) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 221 | _headers: &HeaderMap, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `negotiate_server` has an incompatible type for trait [INFO] [stdout] --> src/handshake/server/tests.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | _headers: &[Header], [INFO] [stdout] | ^^^^^^^^^ expected `HeaderMap`, found `[Header<'_>]` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&BadExtProvider, &HeaderMap) -> Result<_, _>` [INFO] [stdout] found signature `fn(&BadExtProvider, &[Header<'_>]) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 228 | _headers: &HeaderMap, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handshake/client/mod.rs:401:31 [INFO] [stdout] | [INFO] [stdout] 401 | .negotiate_client(response.headers) [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^ expected `&HeaderMap`, found `&mut [Header<'_>]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HeaderMap` [INFO] [stdout] found mutable reference `&mut [Header<'_>]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ratchet_ext-1.1.0/src/lib.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn negotiate_client(&self, headers: &HeaderMap) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handshake/server/encoding.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | .negotiate_server(request.headers) [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^ expected `&HeaderMap`, found `&mut [Header<'_>]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HeaderMap` [INFO] [stdout] found mutable reference `&mut [Header<'_>]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ratchet_ext-1.1.0/src/lib.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn negotiate_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(Option<::SplitEncoder>, Option<::SplitDecoder>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 247 | fn reunite(encoder: Self::SplitEncoder, decoder: Self::SplitDecoder) -> Self { [INFO] [stdout] | ------- ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | match (encoder.0, decoder.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handshake/client/mod.rs:401:31 [INFO] [stdout] | [INFO] [stdout] 401 | .negotiate_client(response.headers) [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^ expected `&HeaderMap`, found `&mut [Header<'_>]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HeaderMap` [INFO] [stdout] found mutable reference `&mut [Header<'_>]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ratchet_ext-1.1.0/src/lib.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn negotiate_client(&self, headers: &HeaderMap) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handshake/server/encoding.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | .negotiate_server(request.headers) [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^ expected `&HeaderMap`, found `&mut [Header<'_>]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&HeaderMap` [INFO] [stdout] found mutable reference `&mut [Header<'_>]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ratchet_ext-1.1.0/src/lib.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn negotiate_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ratchet_core` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `(Option<::SplitEncoder>, Option<::SplitDecoder>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ext.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 247 | fn reunite(encoder: Self::SplitEncoder, decoder: Self::SplitDecoder) -> Self { [INFO] [stdout] | ------- ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | match (encoder.0, decoder.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Item` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/framed/tests.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut framed = FramedIo::new( [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | let mut rx_buf = BytesMut::default(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let message_type = framed.read_next(&mut rx_buf, &mut NoExt).await.unwrap(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | i => panic!("Unexpected message type: {:?}", i), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `O` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/framed/tests.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 191 | fn ok_eq(result: Result, eq: O) [INFO] [stdout] | ------ -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(actual) => assert_eq!(actual, eq), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, errors::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handshake/client/tests.rs:343:15 [INFO] [stdout] | [INFO] [stdout] 327 | let mut buf = BytesMut::new(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | let mut machine = ClientHandshake::new( [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 343 | match machine.read().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `errors::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handshake/client/tests.rs:665:17 [INFO] [stdout] | [INFO] [stdout] 663 | |result| match result { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 664 | Ok(handshake_result) => assert!(handshake_result.extension.take().unwrap().0), [INFO] [stdout] 665 | Err(e) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `errors::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handshake/client/tests.rs:683:17 [INFO] [stdout] | [INFO] [stdout] 681 | |result| match result { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 682 | Ok(handshake_result) => assert!(!handshake_result.extension.take().unwrap().0), [INFO] [stdout] 683 | Err(e) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `errors::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handshake/server/tests.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 300 | let (mut client, server) = mock(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | let result = accept_with( [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Err(e) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ratchet_core` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "77d7030cc9f7a9df40b5055db0139fb1d36391b678ec9ddd2698995aa587a039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77d7030cc9f7a9df40b5055db0139fb1d36391b678ec9ddd2698995aa587a039", kill_on_drop: false }` [INFO] [stdout] 77d7030cc9f7a9df40b5055db0139fb1d36391b678ec9ddd2698995aa587a039