[INFO] fetching crate hancock 0.2.0-alpha.1... [INFO] checking hancock-0.2.0-alpha.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hancock 0.2.0-alpha.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate hancock 0.2.0-alpha.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 hancock 0.2.0-alpha.1 [INFO] finished tweaking crates.io crate hancock 0.2.0-alpha.1 [INFO] tweaked toml for crates.io crate hancock 0.2.0-alpha.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 22 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.12.3 (latest: v0.22.1) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.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-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] 83e09b56bf06f4a785d9116da976791e3cf9d9eb40954d0b19354ba9bd77606e [INFO] running `Command { std: "docker" "start" "-a" "83e09b56bf06f4a785d9116da976791e3cf9d9eb40954d0b19354ba9bd77606e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83e09b56bf06f4a785d9116da976791e3cf9d9eb40954d0b19354ba9bd77606e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e09b56bf06f4a785d9116da976791e3cf9d9eb40954d0b19354ba9bd77606e", kill_on_drop: false }` [INFO] [stdout] 83e09b56bf06f4a785d9116da976791e3cf9d9eb40954d0b19354ba9bd77606e [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] d698fd991af175b26aee4f045ddd6670c70bc8a08b78e28d51874b4426349a9b [INFO] running `Command { std: "docker" "start" "-a" "d698fd991af175b26aee4f045ddd6670c70bc8a08b78e28d51874b4426349a9b", kill_on_drop: false }` [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sfv v0.9.4 [INFO] [stderr] Checking hancock v0.2.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `indexmap::map::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/httpbis.rs:245:26 [INFO] [stdout] | [INFO] [stdout] 245 | .remove("name") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::map::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/httpbis.rs:245:26 [INFO] [stdout] | [INFO] [stdout] 245 | .remove("name") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/httpbis.rs:759:5 [INFO] [stdout] | [INFO] [stdout] 759 | req: Option<&http::Request>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/httpbis.rs:919:57 [INFO] [stdout] | [INFO] [stdout] 919 | let result = sig.verify_request(&req, |content, sig| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [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/httpbis.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 378 | covered_components: Cow<'a, [ComponentId<'a>]>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | sign: impl FnOnce(&[u8]) -> Result, E>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 390 | | name, [INFO] [stdout] 391 | | params, [INFO] [stdout] 392 | | params_src: params_src.into(), [INFO] [stdout] 393 | | covered_components, [INFO] [stdout] 394 | | signature, [INFO] [stdout] 395 | | }) [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] | [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/httpbis.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 399 | name: impl Into>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | params: SignatureParams<'a>, [INFO] [stdout] 401 | covered_components: impl Into]>>, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | request: &http::Request, [INFO] [stdout] 403 | sign: impl FnOnce(&[u8]) -> Result, E>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | covered_components.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/httpbis.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 598 | req: Option>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 599 | verify: impl FnOnce(&[u8], &[u8]) -> Result, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 619 | verify(signature_base.as_bytes(), &self.signature).map_err(crate::VerifyError::User) [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/httpbis.rs:627:67 [INFO] [stdout] | [INFO] [stdout] 625 | verify: impl FnOnce(&[u8], &[u8]) -> Result, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 626 | ) -> Result> { [INFO] [stdout] 627 | self.verify_inner(RequestOrResponseRef::Request(request), None, verify) [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/httpbis.rs:649:47 [INFO] [stdout] | [INFO] [stdout] 649 | .map(|key| ComponentId::HttpField(HttpFieldComponentId::new(key.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] [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/richanna.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 74 | sign: impl FnOnce(Vec) -> Result, E>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let header_names: Vec<_> = vec![ [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | algorithm: Some(http::header::HeaderName::from_static("hs2019")), [INFO] [stdout] 123 | | created: Some(created), [INFO] [stdout] 124 | | expires: Some(expires), [INFO] [stdout] ... | [INFO] [stdout] 127 | | signature, [INFO] [stdout] 128 | | }) [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/richanna.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 140 | sign: impl FnOnce(Vec) -> Result, E>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let header_names: Vec<_> = std::iter::once(SignatureHeaderName::RequestTarget) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 179 | | algorithm: Some(http::header::HeaderName::from_static("hs2019")), [INFO] [stdout] 180 | | created: None, [INFO] [stdout] 181 | | expires: None, [INFO] [stdout] ... | [INFO] [stdout] 184 | | signature, [INFO] [stdout] 185 | | }) [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/richanna.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 190 | let mut algorithm = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let mut headers = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 242 | | algorithm, [INFO] [stdout] 243 | | created, [INFO] [stdout] 244 | | expires, [INFO] [stdout] ... | [INFO] [stdout] 247 | | signature: signature.ok_or(crate::ParseError::MissingSignature)?, [INFO] [stdout] 248 | | }) [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/richanna.rs:227:38 [INFO] [stdout] | [INFO] [stdout] 227 | ... .map(|x| x.parse().map_err(|_| crate::ParseError::InvalidCharacters)) [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/richanna.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 298 | verify: impl FnOnce(&[u8], &[u8]) -> Result, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | verify(&body, &self.signature).map_err(crate::VerifyError::User) [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 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hancock` (lib test) due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/httpbis.rs:759:5 [INFO] [stdout] | [INFO] [stdout] 759 | req: Option<&http::Request>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Response` is never constructed [INFO] [stdout] --> src/httpbis.rs:657:5 [INFO] [stdout] | [INFO] [stdout] 655 | enum RequestOrResponseRef<'a, B> { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] 656 | Request(&'a http::Request), [INFO] [stdout] 657 | Response(&'a http::Response), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/httpbis.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 378 | covered_components: Cow<'a, [ComponentId<'a>]>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | sign: impl FnOnce(&[u8]) -> Result, E>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 390 | | name, [INFO] [stdout] 391 | | params, [INFO] [stdout] 392 | | params_src: params_src.into(), [INFO] [stdout] 393 | | covered_components, [INFO] [stdout] 394 | | signature, [INFO] [stdout] 395 | | }) [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] | [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/httpbis.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 399 | name: impl Into>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | params: SignatureParams<'a>, [INFO] [stdout] 401 | covered_components: impl Into]>>, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | request: &http::Request, [INFO] [stdout] 403 | sign: impl FnOnce(&[u8]) -> Result, E>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | covered_components.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/httpbis.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 598 | req: Option>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 599 | verify: impl FnOnce(&[u8], &[u8]) -> Result, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 619 | verify(signature_base.as_bytes(), &self.signature).map_err(crate::VerifyError::User) [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/httpbis.rs:627:67 [INFO] [stdout] | [INFO] [stdout] 625 | verify: impl FnOnce(&[u8], &[u8]) -> Result, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 626 | ) -> Result> { [INFO] [stdout] 627 | self.verify_inner(RequestOrResponseRef::Request(request), None, verify) [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/httpbis.rs:649:47 [INFO] [stdout] | [INFO] [stdout] 649 | .map(|key| ComponentId::HttpField(HttpFieldComponentId::new(key.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] [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/richanna.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 74 | sign: impl FnOnce(Vec) -> Result, E>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let header_names: Vec<_> = vec![ [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | algorithm: Some(http::header::HeaderName::from_static("hs2019")), [INFO] [stdout] 123 | | created: Some(created), [INFO] [stdout] 124 | | expires: Some(expires), [INFO] [stdout] ... | [INFO] [stdout] 127 | | signature, [INFO] [stdout] 128 | | }) [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/richanna.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 140 | sign: impl FnOnce(Vec) -> Result, E>, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | let header_names: Vec<_> = std::iter::once(SignatureHeaderName::RequestTarget) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 179 | | algorithm: Some(http::header::HeaderName::from_static("hs2019")), [INFO] [stdout] 180 | | created: None, [INFO] [stdout] 181 | | expires: None, [INFO] [stdout] ... | [INFO] [stdout] 184 | | signature, [INFO] [stdout] 185 | | }) [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/richanna.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 190 | let mut algorithm = None; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let mut headers = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 242 | | algorithm, [INFO] [stdout] 243 | | created, [INFO] [stdout] 244 | | expires, [INFO] [stdout] ... | [INFO] [stdout] 247 | | signature: signature.ok_or(crate::ParseError::MissingSignature)?, [INFO] [stdout] 248 | | }) [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/richanna.rs:227:38 [INFO] [stdout] | [INFO] [stdout] 227 | ... .map(|x| x.parse().map_err(|_| crate::ParseError::InvalidCharacters)) [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/richanna.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 298 | verify: impl FnOnce(&[u8], &[u8]) -> Result, [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | verify(&body, &self.signature).map_err(crate::VerifyError::User) [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 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hancock` (lib) due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d698fd991af175b26aee4f045ddd6670c70bc8a08b78e28d51874b4426349a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d698fd991af175b26aee4f045ddd6670c70bc8a08b78e28d51874b4426349a9b", kill_on_drop: false }` [INFO] [stdout] d698fd991af175b26aee4f045ddd6670c70bc8a08b78e28d51874b4426349a9b