[INFO] fetching crate rustls-mbedpki-provider 0.2.0... [INFO] checking rustls-mbedpki-provider-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rustls-mbedpki-provider 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rustls-mbedpki-provider 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustls-mbedpki-provider 0.2.0 [INFO] finished tweaking crates.io crate rustls-mbedpki-provider 0.2.0 [INFO] tweaked toml for crates.io crate rustls-mbedpki-provider 0.2.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 108 packages to latest compatible versions [INFO] [stderr] Adding asn1-rs v0.5.2 (available: v0.6.2) [INFO] [stderr] Adding asn1-rs-derive v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding asn1-rs-impl v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding bindgen v0.65.1 (available: v0.70.1) [INFO] [stderr] Adding bit-vec v0.5.1 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding der-parser v8.2.0 (available: v9.0.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding oid-registry v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding x509-parser v0.15.1 (available: v0.16.0) [INFO] [stderr] Adding yasna v0.2.2 (available: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5998c7b2397c25dfa90fba12f2f2673f2521a1ae38b329e3c7a2ab5704cc8f3 [INFO] running `Command { std: "docker" "start" "-a" "c5998c7b2397c25dfa90fba12f2f2673f2521a1ae38b329e3c7a2ab5704cc8f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5998c7b2397c25dfa90fba12f2f2673f2521a1ae38b329e3c7a2ab5704cc8f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5998c7b2397c25dfa90fba12f2f2673f2521a1ae38b329e3c7a2ab5704cc8f3", kill_on_drop: false }` [INFO] [stdout] c5998c7b2397c25dfa90fba12f2f2673f2521a1ae38b329e3c7a2ab5704cc8f3 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdcef6e699a709467483eb16a4e343836a4fc9fe1eb43a77b733f34440230b2a [INFO] running `Command { std: "docker" "start" "-a" "bdcef6e699a709467483eb16a4e343836a4fc9fe1eb43a77b733f34440230b2a", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling mbedtls-platform-support v0.1.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Compiling mbedtls v0.12.3 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking yasna v0.2.2 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Compiling mbedtls-sys-auto v2.28.7 [INFO] [stderr] Checking rustls-mbedtls-provider-utils v0.2.0 [INFO] [stderr] Checking rustls-mbedpki-provider v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `OtherError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_cert_verifier.rs:378:86 [INFO] [stdout] | [INFO] [stdout] 370 | let verifier = MbedTlsClientCertVerifier::new(trusted_cas.iter()).unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | let verify_res = verifier.verify_client_cert(&cert_chain[0], &cert_chain[1..], now); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 378 | if let Err(rustls::Error::InvalidCertificate(rustls::CertificateError::Other(other_err))) = verify_res { [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: this value of type `OtherError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server_cert_verifier.rs:393:86 [INFO] [stdout] | [INFO] [stdout] 384 | let verifier = MbedTlsServerCertVerifier::new(trusted_cas.iter()).unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 392 | let verify_res = verifier.verify_server_cert(&cert_chain[0], &cert_chain[1..], &server_name, &[], now); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | if let Err(rustls::Error::InvalidCertificate(rustls::CertificateError::Other(other_err))) = verify_res { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls-mbedpki-provider` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "bdcef6e699a709467483eb16a4e343836a4fc9fe1eb43a77b733f34440230b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdcef6e699a709467483eb16a4e343836a4fc9fe1eb43a77b733f34440230b2a", kill_on_drop: false }` [INFO] [stdout] bdcef6e699a709467483eb16a4e343836a4fc9fe1eb43a77b733f34440230b2a