[INFO] fetching crate pact_mock_server 2.0.1... [INFO] checking pact_mock_server-2.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pact_mock_server 2.0.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate pact_mock_server 2.0.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pact_mock_server 2.0.1 [INFO] finished tweaking crates.io crate pact_mock_server 2.0.1 [INFO] tweaked toml for crates.io crate pact_mock_server 2.0.1 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 348 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding ariadne v0.3.0 (latest: v0.4.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfb v0.7.3 (latest: v0.10.0) [INFO] [stderr] Adding chrono-tz v0.8.6 (latest: v0.9.0) [INFO] [stderr] Adding chrono-tz-build v0.2.1 (latest: v0.3.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding encode_unicode v0.3.6 (latest: v1.0.0) [INFO] [stderr] Adding env_logger v0.8.4 (latest: v0.11.5) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.7) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding logos v0.13.0 (latest: v0.14.1) [INFO] [stderr] Adding logos-codegen v0.13.0 (latest: v0.14.1) [INFO] [stderr] Adding logos-derive v0.13.0 (latest: v0.14.1) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding matchit v0.7.3 (latest: v0.8.4) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding rand_regex v0.15.1 (latest: v0.17.0) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding rustls-native-certs v0.7.3 (latest: v0.8.0) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding sysinfo v0.30.13 (latest: v0.31.4) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [INFO] [stderr] Adding typed-arena v1.7.0 (latest: v2.0.2) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7ecb8606b68b50ebc00b4a47f46ba4c0e68e2b79ea4d57c4d2b4d528c13e5be [INFO] running `Command { std: "docker" "start" "-a" "b7ecb8606b68b50ebc00b4a47f46ba4c0e68e2b79ea4d57c4d2b4d528c13e5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7ecb8606b68b50ebc00b4a47f46ba4c0e68e2b79ea4d57c4d2b4d528c13e5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ecb8606b68b50ebc00b4a47f46ba4c0e68e2b79ea4d57c4d2b4d528c13e5be", kill_on_drop: false }` [INFO] [stdout] b7ecb8606b68b50ebc00b4a47f46ba4c0e68e2b79ea4d57c4d2b4d528c13e5be [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a075c099c72695a1fc109422cc2a5eca71962c3662d834c60ee20b4e95ca68f [INFO] running `Command { std: "docker" "start" "-a" "4a075c099c72695a1fc109422cc2a5eca71962c3662d834c60ee20b4e95ca68f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking lenient_semver_parser v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking lenient_semver v0.4.2 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking gregorian v0.2.4 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking infer v0.16.0 [INFO] [stderr] Checking expectest v0.12.0 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking rustls-webpki v0.102.7 [INFO] [stderr] Checking tree_magic_mini v3.1.5 [INFO] [stderr] Checking rcgen v0.13.1 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Compiling pact_models v1.2.4 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling prost-derive v0.13.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Compiling test-log-macros v0.2.16 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking test-log v0.2.16 [INFO] [stderr] Compiling prost v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling test-env-log v0.2.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling indextree-macros v0.1.1 [INFO] [stderr] Compiling prost-types v0.13.2 [INFO] [stderr] Checking indextree v4.7.2 [INFO] [stderr] Checking rand_regex v0.15.1 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling prost-build v0.13.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling tonic-build v0.12.2 [INFO] [stderr] Compiling pact-plugin-driver v0.7.0 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking tonic v0.12.2 [INFO] [stderr] Checking pact_matching v1.2.7 [INFO] [stderr] Checking pact_mock_server v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `MANAGER`: Crates that require a static manager should setup one themselves [INFO] [stdout] --> src/lib.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | pub static ref MANAGER: Mutex> = Mutex::new(None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `MANAGER`: Crates that require a static manager should setup one themselves [INFO] [stdout] --> src/lib.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | pub static ref MANAGER: Mutex> = Mutex::new(None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `MANAGER::__private_field`: Crates that require a static manager should setup one themselves [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / lazy_static::lazy_static! { [INFO] [stdout] 117 | | /// [INFO] [stdout] 118 | | /// A global thread-safe, "init-on-demand" reference to a server manager. [INFO] [stdout] 119 | | /// When the server manager is initialized, it starts a separate thread on which [INFO] [stdout] ... | [INFO] [stdout] 123 | | pub static ref MANAGER: Mutex> = Mutex::new(None); [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_internal` which comes from the expansion of the macro `lazy_static::lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `MANAGER::__private_field`: Crates that require a static manager should setup one themselves [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / lazy_static::lazy_static! { [INFO] [stdout] 117 | | /// [INFO] [stdout] 118 | | /// A global thread-safe, "init-on-demand" reference to a server manager. [INFO] [stdout] 119 | | /// When the server manager is initialized, it starts a separate thread on which [INFO] [stdout] ... | [INFO] [stdout] 123 | | pub static ref MANAGER: Mutex> = Mutex::new(None); [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_internal` which comes from the expansion of the macro `lazy_static::lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matching.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 126 | .then(|i| async move { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let interaction = i.as_v4_http().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | (interaction.clone(), pact_matching::match_request(interaction.request.clone(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matching.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 126 | .then(|i| async move { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let interaction = i.as_v4_http().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | (interaction.clone(), pact_matching::match_request(interaction.request.clone(), [INFO] [stdout] | _____________________________^ [INFO] [stdout] 129 | | req.clone(), &pact.boxed(), &i).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_server.rs:469:18 [INFO] [stdout] | [INFO] [stdout] 469 | .map(|i| i.as_v4_http().unwrap().request) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_server.rs:471:48 [INFO] [stdout] | [INFO] [stdout] 471 | .map(|req| MatchResult::MissingRequest(req.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_server.rs:499:11 [INFO] [stdout] | [INFO] [stdout] 478 | let mut v4_pact = self.pact.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 499 | match write_pact(v4_pact.boxed(), filename.as_path(), specification, overwrite) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server_manager.rs:182:7 [INFO] [stdout] | [INFO] [stdout] 177 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | port: u16, [INFO] [stdout] 179 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | self.start_mock_server_with_addr(id, pact, ([0, 0, 0, 0], port as u16).into(), config) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server_manager.rs:229:7 [INFO] [stdout] | [INFO] [stdout] 223 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | self.start_tls_mock_server_with_addr(id, pact, ([0, 0, 0, 0], port as u16).into(), tls, config) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server_manager.rs:299:11 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn shutdown_mock_server_by_id>(&mut self, id: S) -> bool { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let id = id.into(); [INFO] [stdout] 299 | match self.mock_servers.remove(&id) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 33 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | start_mock_server_with_config(id, pact, addr, MockServerConfig::default()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 57 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | addr: std::net::SocketAddr, [INFO] [stdout] 59 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | / MANAGER.lock().unwrap() [INFO] [stdout] 66 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] 67 | | .start_mock_server_with_addr(id, pact, addr, config) [INFO] [stdout] 68 | | .map(|addr| addr.port() as i32) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:95:58 [INFO] [stdout] | [INFO] [stdout] 90 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | start_tls_mock_server_with_config(id, pact, addr, tls, MockServerConfig::default()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 117 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | / MANAGER.lock().unwrap() [INFO] [stdout] 127 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] 128 | | .start_tls_mock_server_with_addr(id, pact, addr, tls, config) [INFO] [stdout] 129 | | .map(|addr| addr.port() as i32) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 152 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | / MANAGER.lock().unwrap() [INFO] [stdout] 166 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] 167 | | .start_mock_server_for_transport(id, pact, addr, &transport_entry, config) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________________________________________________________________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hyper_server.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 89 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let ev = event_send.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | .serve_connection_with_upgrades(io, service_fn(move |req: Request| { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let event_send = ev.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let server_id = sid.clone(); [INFO] [stdout] 109 | LOG_ID.scope(server_id, async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 110 | | handle_mock_request_error( [INFO] [stdout] 111 | | handle_request(req, pact.clone(), event_send.clone(), &local_addr, &config).await [INFO] [stdout] 112 | | ) [INFO] [stdout] 113 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hyper_server.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 104 | .serve_connection_with_upgrades(io, service_fn(move |req: Request| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let event_send = ev.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | handle_request(req, pact.clone(), event_send.clone(), &local_addr, &config).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hyper_server.rs:222:47 [INFO] [stdout] | [INFO] [stdout] 198 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | let ev = event_send.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | .serve_connection_with_upgrades(io, service_fn(move |req: Request| { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | let event_send = ev.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let server_id = sid.clone(); [INFO] [stdout] 222 | LOG_ID.scope(server_id, async move { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 223 | | handle_mock_request_error( [INFO] [stdout] 224 | | handle_request(req, pact.clone(), event_send.clone(), &local_addr, &config).await [INFO] [stdout] 225 | | ) [INFO] [stdout] 226 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hyper_server.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 217 | .serve_connection_with_upgrades(io, service_fn(move |req: Request| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | let event_send = ev.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | handle_request(req, pact.clone(), event_send.clone(), &local_addr, &config).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: aborting due to 17 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pact_mock_server` (lib) due to 18 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matching.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 126 | .then(|i| async move { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let interaction = i.as_v4_http().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | (interaction.clone(), pact_matching::match_request(interaction.request.clone(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/matching.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 126 | .then(|i| async move { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let interaction = i.as_v4_http().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | (interaction.clone(), pact_matching::match_request(interaction.request.clone(), [INFO] [stdout] | _____________________________^ [INFO] [stdout] 129 | | req.clone(), &pact.boxed(), &i).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_server.rs:469:18 [INFO] [stdout] | [INFO] [stdout] 469 | .map(|i| i.as_v4_http().unwrap().request) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_server.rs:471:48 [INFO] [stdout] | [INFO] [stdout] 471 | .map(|req| MatchResult::MissingRequest(req.clone())); [INFO] [stdout] | --- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mock_server.rs:499:11 [INFO] [stdout] | [INFO] [stdout] 478 | let mut v4_pact = self.pact.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 499 | match write_pact(v4_pact.boxed(), filename.as_path(), specification, overwrite) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server_manager.rs:182:7 [INFO] [stdout] | [INFO] [stdout] 177 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | port: u16, [INFO] [stdout] 179 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | self.start_mock_server_with_addr(id, pact, ([0, 0, 0, 0], port as u16).into(), config) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server_manager.rs:229:7 [INFO] [stdout] | [INFO] [stdout] 223 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | self.start_tls_mock_server_with_addr(id, pact, ([0, 0, 0, 0], port as u16).into(), tls, config) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server_manager.rs:299:11 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn shutdown_mock_server_by_id>(&mut self, id: S) -> bool { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let id = id.into(); [INFO] [stdout] 299 | match self.mock_servers.remove(&id) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 33 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | start_mock_server_with_config(id, pact, addr, MockServerConfig::default()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 57 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | addr: std::net::SocketAddr, [INFO] [stdout] 59 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | / MANAGER.lock().unwrap() [INFO] [stdout] 66 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] 67 | | .start_mock_server_with_addr(id, pact, addr, config) [INFO] [stdout] 68 | | .map(|addr| addr.port() as i32) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:95:58 [INFO] [stdout] | [INFO] [stdout] 90 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | start_tls_mock_server_with_config(id, pact, addr, tls, MockServerConfig::default()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 117 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | / MANAGER.lock().unwrap() [INFO] [stdout] 127 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] 128 | | .start_tls_mock_server_with_addr(id, pact, addr, tls, config) [INFO] [stdout] 129 | | .map(|addr| addr.port() as i32) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/mod.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 152 | pact: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | config: MockServerConfig [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | / MANAGER.lock().unwrap() [INFO] [stdout] 166 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] 167 | | .start_mock_server_for_transport(id, pact, addr, &transport_entry, config) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________________________________________________________________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 227 | let pact = V4Pact { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | / MockServerBuilder::new() [INFO] [stdout] 249 | | .with_v4_pact(pact) [INFO] [stdout] 250 | | .start() [INFO] [stdout] 251 | | .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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder.rs:292:7 [INFO] [stdout] | [INFO] [stdout] 271 | let pact = V4Pact { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | / MockServerBuilder::new() [INFO] [stdout] 293 | | .bind_to("127.0.0.1:0") [INFO] [stdout] 294 | | .with_v4_pact(pact) [INFO] [stdout] 295 | | .start() [INFO] [stdout] 296 | | .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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder.rs:338:7 [INFO] [stdout] | [INFO] [stdout] 317 | let pact = V4Pact { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 338 | / MockServerBuilder::new() [INFO] [stdout] 339 | | .bind_to("127.0.0.1:0") [INFO] [stdout] 340 | | .with_v4_pact(pact) [INFO] [stdout] 341 | | .start_https() [INFO] [stdout] 342 | | .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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hyper_server.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 89 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let ev = event_send.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | .serve_connection_with_upgrades(io, service_fn(move |req: Request| { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let event_send = ev.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let server_id = sid.clone(); [INFO] [stdout] 109 | LOG_ID.scope(server_id, async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 110 | | handle_mock_request_error( [INFO] [stdout] 111 | | handle_request(req, pact.clone(), event_send.clone(), &local_addr, &config).await [INFO] [stdout] 112 | | ) [INFO] [stdout] 113 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hyper_server.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 104 | .serve_connection_with_upgrades(io, service_fn(move |req: Request| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let event_send = ev.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | handle_request(req, pact.clone(), event_send.clone(), &local_addr, &config).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hyper_server.rs:222:47 [INFO] [stdout] | [INFO] [stdout] 198 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | let ev = event_send.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | .serve_connection_with_upgrades(io, service_fn(move |req: Request| { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | let event_send = ev.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let server_id = sid.clone(); [INFO] [stdout] 222 | LOG_ID.scope(server_id, async move { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 223 | | handle_mock_request_error( [INFO] [stdout] 224 | | handle_request(req, pact.clone(), event_send.clone(), &local_addr, &config).await [INFO] [stdout] 225 | | ) [INFO] [stdout] 226 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hyper_server.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 217 | .serve_connection_with_upgrades(io, service_fn(move |req: Request| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let pact = pact.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | let event_send = ev.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | handle_request(req, pact.clone(), event_send.clone(), &local_addr, &config).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: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pact_mock_server` (lib test) due to 21 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4a075c099c72695a1fc109422cc2a5eca71962c3662d834c60ee20b4e95ca68f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a075c099c72695a1fc109422cc2a5eca71962c3662d834c60ee20b4e95ca68f", kill_on_drop: false }` [INFO] [stdout] 4a075c099c72695a1fc109422cc2a5eca71962c3662d834c60ee20b4e95ca68f