[INFO] fetching crate metrics-exporter-prometheus 0.15.3... [INFO] checking metrics-exporter-prometheus-0.15.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate metrics-exporter-prometheus 0.15.3 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate metrics-exporter-prometheus 0.15.3 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 metrics-exporter-prometheus 0.15.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate metrics-exporter-prometheus 0.15.3 [INFO] tweaked toml for crates.io crate metrics-exporter-prometheus 0.15.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate metrics-exporter-prometheus 0.15.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 019cddfc9f76ecec669ea789d8cf8165b005c3d4743471931f5a362066917f8b [INFO] running `Command { std: "docker" "start" "-a" "019cddfc9f76ecec669ea789d8cf8165b005c3d4743471931f5a362066917f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "019cddfc9f76ecec669ea789d8cf8165b005c3d4743471931f5a362066917f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019cddfc9f76ecec669ea789d8cf8165b005c3d4743471931f5a362066917f8b", kill_on_drop: false }` [INFO] [stdout] 019cddfc9f76ecec669ea789d8cf8165b005c3d4743471931f5a362066917f8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9c49a0fca70f81f82d613ad92dd2a1688fb7cb207cbe665b7df9ef03b6cd8f75 [INFO] running `Command { std: "docker" "start" "-a" "9c49a0fca70f81f82d613ad92dd2a1688fb7cb207cbe665b7df9ef03b6cd8f75", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling aws-lc-rs v1.7.3 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking subtle v2.6.0 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking raw-cpuid v11.0.1 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking metrics v0.23.0 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking sketches-ddsketch v0.2.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking quanta v0.12.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking metrics-util v0.17.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling aws-lc-sys v0.18.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking metrics-exporter-prometheus v0.15.3 (/opt/rustwide/workdir) [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/exporter/http_listener.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 69 | let service = 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] 70 | let handle = handle.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | async move { Ok::<_, hyper::Error>(Self::handle_http_request(is_allowed, &handle, &req)) } [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/exporter/http_listener.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 160 | handle: PrometheusHandle, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | let listener = std::net::TcpListener::bind(listen_address) [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let listener = TcpListener::from_std(listener).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | let exporter = HttpListeningExporter { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | Ok(Box::pin(async move { exporter.serve().await.map_err(super::ExporterError::HttpListener) })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/exporter/http_listener.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 172 | let exporter = HttpListeningExporter { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | Ok(Box::pin(async move { exporter.serve().await.map_err(super::ExporterError::HttpListener) })) [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/exporter/push_gateway.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 14 | endpoint: Uri, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | handle: PrometheusHandle, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | ) -> ExporterFuture { [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 21 | | let https = hyper_rustls::HttpsConnectorBuilder::new() [INFO] [stdout] 22 | | .with_native_roots() [INFO] [stdout] 23 | | .expect("no native root CA certificates found") [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | }) [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/exporter/builder.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 58 | let exporter_config = ExporterConfig::HttpListener { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | global_labels: None, [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/exporter/builder.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn build(mut self) -> Result<(PrometheusRecorder, ExporterFuture), BuildError> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 452 | let exporter_config = self.exporter_config.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | let recorder = self.build_recorder(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 456 | let handle = recorder.handle(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 457 | [INFO] [stdout] 458 | let recorder_handle = handle.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 466 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 467 | | recorder, [INFO] [stdout] 468 | | match exporter_config { [INFO] [stdout] 469 | | ExporterConfig::Unconfigured => Err(BuildError::MissingExporterConfiguration)?, [INFO] [stdout] ... | [INFO] [stdout] 492 | | }, [INFO] [stdout] 493 | | )) [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/exporter/builder.rs:498:31 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn build_recorder(self) -> PrometheusRecorder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 498 | self.build_with_clock(Clock::new()) [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/recorder.rs:237:37 [INFO] [stdout] | [INFO] [stdout] 236 | fn from(inner: Inner) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | PrometheusRecorder { inner: Arc::new(inner) } [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/recorder.rs:260:60 [INFO] [stdout] | [INFO] [stdout] 260 | self.inner.registry.get_or_create_counter(key, |c| c.clone().into()) [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/recorder.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | self.inner.registry.get_or_create_gauge(key, |c| c.clone().into()) [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/recorder.rs:268:62 [INFO] [stdout] | [INFO] [stdout] 268 | self.inner.registry.get_or_create_histogram(key, |c| c.clone().into()) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `metrics-exporter-prometheus` (lib) due to 12 previous errors [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/exporter/http_listener.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 69 | let service = 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] 70 | let handle = handle.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | async move { Ok::<_, hyper::Error>(Self::handle_http_request(is_allowed, &handle, &req)) } [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/exporter/http_listener.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 160 | handle: PrometheusHandle, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | let listener = std::net::TcpListener::bind(listen_address) [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let listener = TcpListener::from_std(listener).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | let exporter = HttpListeningExporter { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | Ok(Box::pin(async move { exporter.serve().await.map_err(super::ExporterError::HttpListener) })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/exporter/http_listener.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 172 | let exporter = HttpListeningExporter { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | Ok(Box::pin(async move { exporter.serve().await.map_err(super::ExporterError::HttpListener) })) [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/exporter/push_gateway.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 14 | endpoint: Uri, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | handle: PrometheusHandle, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | ) -> ExporterFuture { [INFO] [stdout] 20 | Box::pin(async move { [INFO] [stdout] | ______________^ [INFO] [stdout] 21 | | let https = hyper_rustls::HttpsConnectorBuilder::new() [INFO] [stdout] 22 | | .with_native_roots() [INFO] [stdout] 23 | | .expect("no native root CA certificates found") [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | }) [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/exporter/builder.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 58 | let exporter_config = ExporterConfig::HttpListener { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | global_labels: None, [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/exporter/builder.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn build(mut self) -> Result<(PrometheusRecorder, ExporterFuture), BuildError> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 452 | let exporter_config = self.exporter_config.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | let recorder = self.build_recorder(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 456 | let handle = recorder.handle(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 457 | [INFO] [stdout] 458 | let recorder_handle = handle.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 466 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 467 | | recorder, [INFO] [stdout] 468 | | match exporter_config { [INFO] [stdout] 469 | | ExporterConfig::Unconfigured => Err(BuildError::MissingExporterConfiguration)?, [INFO] [stdout] ... | [INFO] [stdout] 492 | | }, [INFO] [stdout] 493 | | )) [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/exporter/builder.rs:498:31 [INFO] [stdout] | [INFO] [stdout] 497 | pub fn build_recorder(self) -> PrometheusRecorder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 498 | self.build_with_clock(Clock::new()) [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/recorder.rs:237:37 [INFO] [stdout] | [INFO] [stdout] 236 | fn from(inner: Inner) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | PrometheusRecorder { inner: Arc::new(inner) } [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/recorder.rs:260:60 [INFO] [stdout] | [INFO] [stdout] 260 | self.inner.registry.get_or_create_counter(key, |c| c.clone().into()) [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/recorder.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | self.inner.registry.get_or_create_gauge(key, |c| c.clone().into()) [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/recorder.rs:268:62 [INFO] [stdout] | [INFO] [stdout] 268 | self.inner.registry.get_or_create_histogram(key, |c| c.clone().into()) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `metrics-exporter-prometheus` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "9c49a0fca70f81f82d613ad92dd2a1688fb7cb207cbe665b7df9ef03b6cd8f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c49a0fca70f81f82d613ad92dd2a1688fb7cb207cbe665b7df9ef03b6cd8f75", kill_on_drop: false }` [INFO] [stdout] 9c49a0fca70f81f82d613ad92dd2a1688fb7cb207cbe665b7df9ef03b6cd8f75