[INFO] fetching crate cloudevents-sdk-reqwest 0.3.1... [INFO] checking cloudevents-sdk-reqwest-0.3.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cloudevents-sdk-reqwest 0.3.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cloudevents-sdk-reqwest 0.3.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 cloudevents-sdk-reqwest 0.3.1 [INFO] finished tweaking crates.io crate cloudevents-sdk-reqwest 0.3.1 [INFO] tweaked toml for crates.io crate cloudevents-sdk-reqwest 0.3.1 written to /workspace/builds/worker-6-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 178 packages to latest compatible versions [INFO] [stderr] Adding assert-json-diff v1.1.0 (latest: v2.0.2) [INFO] [stderr] Adding base64 v0.12.3 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bytes v0.5.6 (latest: v1.7.1) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudevents-sdk v0.3.1 (latest: v0.7.0) [INFO] [stderr] Adding colored v1.9.4 (latest: v2.1.0) [INFO] [stderr] Adding delegate-attr v0.2.9 (latest: v0.3.0) [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding extend v0.1.2 (latest: v1.2.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding h2 v0.2.7 (latest: v0.4.6) [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 hostname v0.3.1 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.3.1 (latest: v1.0.1) [INFO] [stderr] Adding httpdate v0.3.2 (latest: v1.0.3) [INFO] [stderr] Adding hyper v0.13.10 (latest: v1.4.1) [INFO] [stderr] Adding hyper-rustls v0.21.0 (latest: v0.27.2) [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 itoa v0.4.8 (latest: v1.0.11) [INFO] [stderr] Adding mio v0.6.23 (latest: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding mockito v0.25.3 (latest: v1.5.0) [INFO] [stderr] Adding pin-project-lite v0.1.12 (latest: v0.2.14) [INFO] [stderr] Adding pulldown-cmark v0.9.6 (latest: v0.12.0) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding reqwest v0.10.10 (latest: v0.12.7) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding rustls v0.18.1 (latest: v0.23.12) [INFO] [stderr] Adding sct v0.6.1 (latest: v0.7.1) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (latest: v0.7.1) [INFO] [stderr] Adding snafu v0.6.10 (latest: v0.8.4) [INFO] [stderr] Adding snafu-derive v0.6.10 (latest: v0.8.4) [INFO] [stderr] Adding socket2 v0.3.19 (latest: v0.5.7) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding tokio v0.2.25 (latest: v1.40.0) [INFO] [stderr] Adding tokio-macros v0.2.6 (latest: v2.4.0) [INFO] [stderr] Adding tokio-rustls v0.14.1 (latest: v0.26.0) [INFO] [stderr] Adding tokio-util v0.3.1 (latest: v0.7.11) [INFO] [stderr] Adding toml v0.7.8 (latest: v0.8.19) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki v0.21.4 (latest: v0.22.4) [INFO] [stderr] Adding webpki-roots v0.20.0 (latest: v0.26.5) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [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 winnow v0.5.40 (latest: v0.6.18) [INFO] [stderr] Adding winreg v0.7.0 (latest: v0.52.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 237a94bce1882eee02271127b3170b090b1f2300354de306920e4c8aeb8c9a67 [INFO] running `Command { std: "docker" "start" "-a" "237a94bce1882eee02271127b3170b090b1f2300354de306920e4c8aeb8c9a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "237a94bce1882eee02271127b3170b090b1f2300354de306920e4c8aeb8c9a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "237a94bce1882eee02271127b3170b090b1f2300354de306920e4c8aeb8c9a67", kill_on_drop: false }` [INFO] [stdout] 237a94bce1882eee02271127b3170b090b1f2300354de306920e4c8aeb8c9a67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8f8fde09813ee1956c85d321dedc9d14b5adcaa893ae166820305cf2aa47db5f [INFO] running `Command { std: "docker" "start" "-a" "8f8fde09813ee1956c85d321dedc9d14b5adcaa893ae166820305cf2aa47db5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling delegate-attr v0.2.9 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking assert-json-diff v1.1.0 [INFO] [stderr] Checking mockito v0.25.3 [INFO] [stderr] Checking cloudevents-sdk v0.3.1 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking version-sync v0.9.5 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking cloudevents-sdk-reqwest v0.3.1 (/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/headers.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | it: impl Iterator, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> HashMap<&'static str, HeaderName> { [INFO] [stdout] 44 | / it.map(|s| { [INFO] [stdout] 45 | | if s == "datacontenttype" { [INFO] [stdout] 46 | | (s, reqwest::header::CONTENT_TYPE) [INFO] [stdout] 47 | | } else { [INFO] [stdout] 48 | | (s, attribute_name_to_header!(s).unwrap()) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | }) [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/client_request.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn end_with_data(self, bytes: Vec) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Ok(self.req.body(bytes)) [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/client_request.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn set_structured_event(self, bytes: Vec) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(self [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | .req [INFO] [stdout] 57 | | .header( [INFO] [stdout] 58 | | reqwest::header::CONTENT_TYPE, [INFO] [stdout] 59 | | headers::CLOUDEVENTS_JSON_HEADER.clone(), [INFO] [stdout] 60 | | ) [INFO] [stdout] 61 | | .body(bytes)) [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/client_request.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn event_to_request(event: Event, request_builder: RequestBuilder) -> Result { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | BinaryDeserializer::deserialize_binary(event, RequestSerializer::new(request_builder)) [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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | unwrap_optional_header!(self.headers, headers::SPEC_VERSION_HEADER).unwrap()?, [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` which comes from the expansion of the macro `unwrap_optional_header` (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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:50:64 [INFO] [stdout] | [INFO] [stdout] 50 | MessageAttributeValue::String(String::from(header_value_to_str!(hv)?)), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` (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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | MessageAttributeValue::String(String::from(header_value_to_str!(hv)?)), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` (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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | MessageAttributeValue::String(String::from(header_value_to_str!(hv)?)), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` (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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | unwrap_optional_header!(self.headers, reqwest::header::CONTENT_TYPE) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` which comes from the expansion of the macro `unwrap_optional_header` (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/client_response.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 105 | let b = res.bytes().await.map_err(|e| Error::Other { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | source: Box::new(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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_response.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | async fn into_event(self) -> Result { [INFO] [stdout] | _________________________----___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | | response_to_event(self).await [INFO] [stdout] 125 | | } [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 `cloudevents-sdk-reqwest` (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/headers.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | it: impl Iterator, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> HashMap<&'static str, HeaderName> { [INFO] [stdout] 44 | / it.map(|s| { [INFO] [stdout] 45 | | if s == "datacontenttype" { [INFO] [stdout] 46 | | (s, reqwest::header::CONTENT_TYPE) [INFO] [stdout] 47 | | } else { [INFO] [stdout] 48 | | (s, attribute_name_to_header!(s).unwrap()) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | }) [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/client_request.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn end_with_data(self, bytes: Vec) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Ok(self.req.body(bytes)) [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/client_request.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn set_structured_event(self, bytes: Vec) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(self [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | .req [INFO] [stdout] 57 | | .header( [INFO] [stdout] 58 | | reqwest::header::CONTENT_TYPE, [INFO] [stdout] 59 | | headers::CLOUDEVENTS_JSON_HEADER.clone(), [INFO] [stdout] 60 | | ) [INFO] [stdout] 61 | | .body(bytes)) [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/client_request.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn event_to_request(event: Event, request_builder: RequestBuilder) -> Result { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | BinaryDeserializer::deserialize_binary(event, RequestSerializer::new(request_builder)) [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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | unwrap_optional_header!(self.headers, headers::SPEC_VERSION_HEADER).unwrap()?, [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` which comes from the expansion of the macro `unwrap_optional_header` (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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:50:64 [INFO] [stdout] | [INFO] [stdout] 50 | MessageAttributeValue::String(String::from(header_value_to_str!(hv)?)), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` (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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | MessageAttributeValue::String(String::from(header_value_to_str!(hv)?)), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` (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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | MessageAttributeValue::String(String::from(header_value_to_str!(hv)?)), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` (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/headers.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | source: Box::new(e), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client_response.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | unwrap_optional_header!(self.headers, reqwest::header::CONTENT_TYPE) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `header_value_to_str` which comes from the expansion of the macro `unwrap_optional_header` (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/client_response.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 105 | let b = res.bytes().await.map_err(|e| Error::Other { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | source: Box::new(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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_response.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | async fn into_event(self) -> Result { [INFO] [stdout] | _________________________----___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | | response_to_event(self).await [INFO] [stdout] 125 | | } [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 `cloudevents-sdk-reqwest` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "8f8fde09813ee1956c85d321dedc9d14b5adcaa893ae166820305cf2aa47db5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8fde09813ee1956c85d321dedc9d14b5adcaa893ae166820305cf2aa47db5f", kill_on_drop: false }` [INFO] [stdout] 8f8fde09813ee1956c85d321dedc9d14b5adcaa893ae166820305cf2aa47db5f