[INFO] fetching crate tls-api-openssl-2 0.11.0... [INFO] checking tls-api-openssl-2-0.11.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tls-api-openssl-2 0.11.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate tls-api-openssl-2 0.11.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 tls-api-openssl-2 0.11.0 [INFO] finished tweaking crates.io crate tls-api-openssl-2 0.11.0 [INFO] tweaked toml for crates.io crate tls-api-openssl-2 0.11.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate tls-api-openssl-2 0.11.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 74736500b2bbe01e2771add9257533ce6fe227a2e1a3427f907451dd8279f58a [INFO] running `Command { std: "docker" "start" "-a" "74736500b2bbe01e2771add9257533ce6fe227a2e1a3427f907451dd8279f58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74736500b2bbe01e2771add9257533ce6fe227a2e1a3427f907451dd8279f58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74736500b2bbe01e2771add9257533ce6fe227a2e1a3427f907451dd8279f58a", kill_on_drop: false }` [INFO] [stdout] 74736500b2bbe01e2771add9257533ce6fe227a2e1a3427f907451dd8279f58a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3ebd84e6fda77b88c980addbeb7a673b3944caa6b10840379101f35ac27e308c [INFO] running `Command { std: "docker" "start" "-a" "3ebd84e6fda77b88c980addbeb7a673b3944caa6b10840379101f35ac27e308c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling tls-api-test-2 v0.11.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling test-cert-gen-2 v0.11.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tls-api-2 v0.11.0 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Compiling tls-api-openssl-2 v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `openssl::pkcs12::ParsedPkcs12`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use openssl::pkcs12::ParsedPkcs12; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::pkcs12::ParsedPkcs12`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:18:73 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_openssl_pkcs12(pkcs12: &[u8], passphrase: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::pkcs12::ParsedPkcs12`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use openssl::pkcs12::ParsedPkcs12; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `openssl::pkcs12::ParsedPkcs12`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:18:73 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_openssl_pkcs12(pkcs12: &[u8], passphrase: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Ref::parse`: Use parse2 instead [INFO] [stdout] --> src/acceptor.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(pkcs12.parse(passphrase).context("Parse passphrase")?) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::chain`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(chain) = pkcs12.chain { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::cert`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | .set_certificate(&pkcs12.cert) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::pkey`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | .set_private_key(&pkcs12.pkey) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `openssl::pkcs12::Pkcs12Ref::parse`: Use parse2 instead [INFO] [stdout] --> src/acceptor.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(pkcs12.parse(passphrase).context("Parse passphrase")?) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::chain`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(chain) = pkcs12.chain { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::cert`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | .set_certificate(&pkcs12.cert) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `openssl::pkcs12::ParsedPkcs12::pkey`: Use ParsedPkcs12_2 instead [INFO] [stdout] --> src/acceptor.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | .set_private_key(&pkcs12.pkey) [INFO] [stdout] | ^^^^^^^^^^^ [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/acceptor.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | let pkcs12 = openssl::pkcs12::Pkcs12::from_der(pkcs12)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(pkcs12.parse(passphrase).context("Parse passphrase")?) [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] = 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/acceptor.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn build(self) -> anyhow::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Ok(TlsAcceptor(self.0.build())) [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/acceptor.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 58 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | AsyncIoAsSyncIo::new(stream), [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/acceptor.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 90 | let cert = openssl::x509::X509::from_der(cert).map_err(anyhow::Error::new)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let pkey = openssl::pkey::PKey::private_key_from_der(key).map_err(anyhow::Error::new)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | [INFO] [stdout] 93 | let mut builder = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(TlsAcceptorBuilder(builder)) [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] | 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/acceptor.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 108 | let mut builder = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let pkcs12 = to_openssl_pkcs12(pkcs12, passphrase)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(TlsAcceptorBuilder(builder)) [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] = 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/connector.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn build(self) -> anyhow::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | Ok(TlsConnector { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | connector: self.builder.build(), [INFO] [stdout] 56 | | verify_hostname: self.verify_hostname, [INFO] [stdout] 57 | | }) [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/connector.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 71 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let client_configuration = match self.connector.configure() { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | Ok(client_configuration) => client_configuration, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | Err(e) => return BoxFuture::new(async { Err(anyhow::Error::new(e)) }), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | }; [INFO] [stdout] 80 | let client_configuration = client_configuration.verify_hostname(self.verify_hostname); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | BoxFuture::new(HandshakeFuture::Initial( [INFO] [stdout] | ________________________^ [INFO] [stdout] 82 | | move |stream| client_configuration.connect(domain, stream), [INFO] [stdout] 83 | | AsyncIoAsSyncIo::new(stream), [INFO] [stdout] 84 | | )) [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/connector.rs:78:57 [INFO] [stdout] | [INFO] [stdout] 78 | Err(e) => return BoxFuture::new(async { Err(anyhow::Error::new(e)) }), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/connector.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | let builder = openssl::ssl::SslConnector::builder(openssl::ssl::SslMethod::tls()) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | .map_err(anyhow::Error::new)?; [INFO] [stdout] 108 | Ok(TlsConnectorBuilder { [INFO] [stdout] | ____________^ [INFO] [stdout] 109 | | builder, [INFO] [stdout] 110 | | verify_hostname: true, [INFO] [stdout] 111 | | }) [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] [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/stream.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 88 | self.0.shutdown().map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | e.into_io_error() [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tls-api-openssl-2` (lib) due to 11 previous errors; 6 warnings emitted [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/acceptor.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | let pkcs12 = openssl::pkcs12::Pkcs12::from_der(pkcs12)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(pkcs12.parse(passphrase).context("Parse passphrase")?) [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] = 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/acceptor.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn build(self) -> anyhow::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Ok(TlsAcceptor(self.0.build())) [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/acceptor.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 58 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | AsyncIoAsSyncIo::new(stream), [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/acceptor.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 90 | let cert = openssl::x509::X509::from_der(cert).map_err(anyhow::Error::new)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let pkey = openssl::pkey::PKey::private_key_from_der(key).map_err(anyhow::Error::new)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | [INFO] [stdout] 93 | let mut builder = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(TlsAcceptorBuilder(builder)) [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] | 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/acceptor.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 108 | let mut builder = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let pkcs12 = to_openssl_pkcs12(pkcs12, passphrase)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(TlsAcceptorBuilder(builder)) [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] = 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/connector.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn build(self) -> anyhow::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | Ok(TlsConnector { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | connector: self.builder.build(), [INFO] [stdout] 56 | | verify_hostname: self.verify_hostname, [INFO] [stdout] 57 | | }) [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/connector.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 71 | stream: S, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let client_configuration = match self.connector.configure() { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | Ok(client_configuration) => client_configuration, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | Err(e) => return BoxFuture::new(async { Err(anyhow::Error::new(e)) }), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | }; [INFO] [stdout] 80 | let client_configuration = client_configuration.verify_hostname(self.verify_hostname); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | BoxFuture::new(HandshakeFuture::Initial( [INFO] [stdout] | ________________________^ [INFO] [stdout] 82 | | move |stream| client_configuration.connect(domain, stream), [INFO] [stdout] 83 | | AsyncIoAsSyncIo::new(stream), [INFO] [stdout] 84 | | )) [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/connector.rs:78:57 [INFO] [stdout] | [INFO] [stdout] 78 | Err(e) => return BoxFuture::new(async { Err(anyhow::Error::new(e)) }), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/connector.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | let builder = openssl::ssl::SslConnector::builder(openssl::ssl::SslMethod::tls()) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | .map_err(anyhow::Error::new)?; [INFO] [stdout] 108 | Ok(TlsConnectorBuilder { [INFO] [stdout] | ____________^ [INFO] [stdout] 109 | | builder, [INFO] [stdout] 110 | | verify_hostname: true, [INFO] [stdout] 111 | | }) [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] [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/stream.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 88 | self.0.shutdown().map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | e.into_io_error() [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tls-api-openssl-2` (lib test) due to 11 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ebd84e6fda77b88c980addbeb7a673b3944caa6b10840379101f35ac27e308c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebd84e6fda77b88c980addbeb7a673b3944caa6b10840379101f35ac27e308c", kill_on_drop: false }` [INFO] [stdout] 3ebd84e6fda77b88c980addbeb7a673b3944caa6b10840379101f35ac27e308c