[INFO] fetching crate jwt-compact 0.8.0... [INFO] checking jwt-compact-0.8.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate jwt-compact 0.8.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate jwt-compact 0.8.0 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 jwt-compact 0.8.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jwt-compact 0.8.0 [INFO] tweaked toml for crates.io crate jwt-compact 0.8.0 written to /workspace/builds/worker-2-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 202 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding exonum_libsodium-sys v0.0.23 (latest: v0.0.24) [INFO] [stderr] Adding exonum_sodiumoxide v0.0.23 (latest: v0.0.24) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [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 itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding protobuf v2.28.0 (latest: v3.5.1) [INFO] [stderr] Adding protobuf-codegen v2.28.0 (latest: v3.5.1) [INFO] [stderr] Adding pulldown-cmark v0.9.6 (latest: v0.12.0) [INFO] [stderr] Adding secp256k1 v0.28.2 (latest: v0.29.0) [INFO] [stderr] Adding secp256k1-sys v0.9.2 (latest: v0.10.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [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 wasi v0.10.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 which v4.4.2 (latest: v6.0.3) [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 zip v0.5.13 (latest: v2.2.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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8a2f1f3e133656380084495ff1de8e0c85fd85d18a714aab5c2cfb1ebcea1e6c [INFO] running `Command { std: "docker" "start" "-a" "8a2f1f3e133656380084495ff1de8e0c85fd85d18a714aab5c2cfb1ebcea1e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a2f1f3e133656380084495ff1de8e0c85fd85d18a714aab5c2cfb1ebcea1e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a2f1f3e133656380084495ff1de8e0c85fd85d18a714aab5c2cfb1ebcea1e6c", kill_on_drop: false }` [INFO] [stdout] 8a2f1f3e133656380084495ff1de8e0c85fd85d18a714aab5c2cfb1ebcea1e6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 48cc271b4a809f6c203c36b4b6b993e3aa5cf74018102fb818a4fa08420d8432 [INFO] running `Command { std: "docker" "start" "-a" "48cc271b4a809f6c203c36b4b6b993e3aa5cf74018102fb818a4fa08420d8432", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking hex-buffer-serde v0.4.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking const-decoder v0.3.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking jwt-compact v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `boxed::Box` [INFO] [stdout] --> src/lib.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking criterion v0.5.1 [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/alg/hmacs.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(bytes: impl AsRef<[u8]>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Self(bytes.as_ref().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | / define_hmac_key! { [INFO] [stdout] 137 | | /// Signing / verifying key for `HS256` algorithm. Zeroed on drop. [INFO] [stdout] 138 | | struct Hs256Key([u8; 64]); [INFO] [stdout] 139 | | } [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `define_hmac_key` (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/alg/hmacs.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(bytes: impl AsRef<[u8]>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Self(bytes.as_ref().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | / define_hmac_key! { [INFO] [stdout] 141 | | /// Signing / verifying key for `HS384` algorithm. Zeroed on drop. [INFO] [stdout] 142 | | struct Hs384Key([u8; 128]); [INFO] [stdout] 143 | | } [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 `define_hmac_key` (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/alg/hmacs.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(bytes: impl AsRef<[u8]>) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Self(bytes.as_ref().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | / define_hmac_key! { [INFO] [stdout] 145 | | /// Signing / verifying key for `HS512` algorithm. Zeroed on drop. [INFO] [stdout] 146 | | struct Hs512Key([u8; 128]); [INFO] [stdout] 147 | | } [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 `define_hmac_key` (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/claims.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 272 | deserializer: D, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | ) -> Result>, D::Error> { [INFO] [stdout] 274 | deserializer.deserialize_i64(TimestampVisitor).map(Some) [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/jwk.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn custom(err: impl Into) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | Self::Custom(err.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/jwk.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 178 | fn deserialize>(deserializer: D) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | base64url::deserialize(deserializer).map(SecretBytes::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/token.rs:584:58 [INFO] [stdout] | [INFO] [stdout] 583 | ciborium::from_reader(&self.serialized_claims[..]).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 584 | ValidationError::MalformedCborClaims(match err { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 585 | | CborDeError::Io(err) => CborDeError::Io(anyhow::anyhow!(err)), [INFO] [stdout] 586 | | // ^ In order to be able to use `anyhow!` in both std and no-std envs, [INFO] [stdout] 587 | | // we inline the error transform directly here. [INFO] [stdout] ... | [INFO] [stdout] 592 | | CborDeError::RecursionLimitExceeded => CborDeError::RecursionLimitExceeded, [INFO] [stdout] 593 | | }) [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/traits.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 333 | let signature = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | let claims = token.deserialize_claims_unchecked::()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | Ok(SignedToken { [INFO] [stdout] | ____________^ [INFO] [stdout] 346 | | signature, [INFO] [stdout] 347 | | token: Token::new(token.header().clone(), claims), [INFO] [stdout] 348 | | }) [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] | | 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jwt-compact` (lib) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "48cc271b4a809f6c203c36b4b6b993e3aa5cf74018102fb818a4fa08420d8432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48cc271b4a809f6c203c36b4b6b993e3aa5cf74018102fb818a4fa08420d8432", kill_on_drop: false }` [INFO] [stdout] 48cc271b4a809f6c203c36b4b6b993e3aa5cf74018102fb818a4fa08420d8432