[INFO] fetching crate narrowlink-gateway 0.2.6... [INFO] checking narrowlink-gateway-0.2.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate narrowlink-gateway 0.2.6 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate narrowlink-gateway 0.2.6 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 narrowlink-gateway 0.2.6 [INFO] finished tweaking crates.io crate narrowlink-gateway 0.2.6 [INFO] tweaked toml for crates.io crate narrowlink-gateway 0.2.6 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate narrowlink-gateway 0.2.6 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e2ce7d5c4bf713cb43416025a657b0350ee3fb178e6346fa74c03a1b48eb572 [INFO] running `Command { std: "docker" "start" "-a" "6e2ce7d5c4bf713cb43416025a657b0350ee3fb178e6346fa74c03a1b48eb572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e2ce7d5c4bf713cb43416025a657b0350ee3fb178e6346fa74c03a1b48eb572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e2ce7d5c4bf713cb43416025a657b0350ee3fb178e6346fa74c03a1b48eb572", kill_on_drop: false }` [INFO] [stdout] 6e2ce7d5c4bf713cb43416025a657b0350ee3fb178e6346fa74c03a1b48eb572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eac644494140e2165b333d24eaec2dec5f902e76883e05028ba326534cd2cf4a [INFO] running `Command { std: "docker" "start" "-a" "eac644494140e2165b333d24eaec2dec5f902e76883e05028ba326534cd2cf4a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking subtle v2.6.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling rlimit v0.10.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking wildmatch v2.3.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Compiling validator_derive v0.17.0 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking chunkio v0.0.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking validator v0.17.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking narrowlink-types v0.2.6 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking narrowlink-network v0.2.6 [INFO] [stderr] Checking instant-acme v0.4.3 [INFO] [stderr] Checking narrowlink-gateway v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .and_then(|e| e.parse::().ok()) [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/service/certificate/mod.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 92 | let mut config = rustls::ServerConfig::builder() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok(Certificate { [INFO] [stdout] | ____________^ [INFO] [stdout] 99 | | certificate_chain, [INFO] [stdout] 100 | | // private_key, [INFO] [stdout] 101 | | config: Arc::new(config), [INFO] [stdout] 102 | | }) [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/service/certificate/acme.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from_account(account: Account) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 83 | | account, [INFO] [stdout] 84 | | authorizations: Vec::new(), [INFO] [stdout] 85 | | order: None, [INFO] [stdout] 86 | | }) [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/service/certificate/acme.rs:125:41 [INFO] [stdout] | [INFO] [stdout] 125 | .and_then(|private_key| KeyPair::from_der(&private_key.0).ok()); [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/service/certificate/acme.rs:313:58 [INFO] [stdout] | [INFO] [stdout] 313 | suggested_private_key.and_then(|private_key| KeyPair::from_der(&private_key.0).ok()); [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/service/certificate/file_storage.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | .and_then(|f| serde_json::de::from_reader(BufReader::new(f)).ok()) [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/service/http_templates.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 68 | let msg: Result> = match error_format { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let response = hyper::Response::new(msg); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let (mut parts, body) = response.into_parts(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | parts.status = status; [INFO] [stdout] 99 | hyper::Response::from_parts(parts, body.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/service/ws.rs:58:52 [INFO] [stdout] | [INFO] [stdout] 58 | async fn run(self) -> Result<(), GatewayError> { [INFO] [stdout] | __________________----______________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | | let span = span!(tracing::Level::TRACE, "ws", listen_addr = %self.listen_addr, domains = ?self.domains); [INFO] [stdout] 60 | | let tcp_listener: TcpListener = TcpListener::bind(&self.listen_addr).await?; [INFO] [stdout] 61 | | span.in_scope(|| trace!("tcp listener successfully bound")); [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [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/service/ws.rs:399:53 [INFO] [stdout] | [INFO] [stdout] 399 | if let Some(session) = session.and_then(|s| HeaderValue::from_str(&s.to_string()).ok()) { [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/service/ws.rs:403:37 [INFO] [stdout] | [INFO] [stdout] 403 | connection.and_then(|c| HeaderValue::from_str(&c.to_string()).ok()) [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/service/wss.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | async fn run(self) -> Result<(), GatewayError> { [INFO] [stdout] | __________________----______________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | | let span = span!(tracing::Level::TRACE, "wss", listen_addr = %self.listen_addr, domains = ?self.domains); [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | let wss = self.clone(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | } [INFO] [stdout] 220 | | } [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/state/mod.rs:290:57 [INFO] [stdout] | [INFO] [stdout] 290 | ... let p = acl.and_then(|a|serde_json::from_str::>(&a).ok()).and_then(|a|a.into_iter().map(|p|PolicyToken::from_str(&p, &s... [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/state/mod.rs:290:136 [INFO] [stdout] | [INFO] [stdout] 290 | ...(&a).ok()).and_then(|a|a.into_iter().map(|p|PolicyToken::from_str(&p, &self.client_token).ok()).collect::>>()); [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/state/mod.rs:349:61 [INFO] [stdout] | [INFO] [stdout] 349 | ... let p = publish.and_then(|a|serde_json::from_str::>(&a).ok()).and_then(|a|a.into_iter().map(|p|AgentPublishToken::from_... [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/state/mod.rs:349:140 [INFO] [stdout] | [INFO] [stdout] 349 | ...a).ok()).and_then(|a|a.into_iter().map(|p|AgentPublishToken::from_str(&p, &self.agent_token).ok()).collect:: [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/state/connection.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 48 | client_socket: Option, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | agent_socket: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | data: ConnectionData::new(id, session_id, client_socket, agent_socket), [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/state/connection.rs:190:35 [INFO] [stdout] | [INFO] [stdout] 190 | .and_then(|h| HeaderValue::from_str(&h).ok()) [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/state/connection.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 164 | ClientConnection::HttpTransparent(mut request, peer_addr, replay, service_protocol) => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | .and_then(|mut response| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | *response.version_mut() = original_version; [INFO] [stdout] 239 | replay.send(Ok(response)).map_err(|_| ()) [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/main.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .and_then(|e| e.parse::().ok()) [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/service/certificate/mod.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 92 | let mut config = rustls::ServerConfig::builder() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Ok(Certificate { [INFO] [stdout] | ____________^ [INFO] [stdout] 99 | | certificate_chain, [INFO] [stdout] 100 | | // private_key, [INFO] [stdout] 101 | | config: Arc::new(config), [INFO] [stdout] 102 | | }) [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/service/certificate/acme.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn from_account(account: Account) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 83 | | account, [INFO] [stdout] 84 | | authorizations: Vec::new(), [INFO] [stdout] 85 | | order: None, [INFO] [stdout] 86 | | }) [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/service/certificate/acme.rs:125:41 [INFO] [stdout] | [INFO] [stdout] 125 | .and_then(|private_key| KeyPair::from_der(&private_key.0).ok()); [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/service/certificate/acme.rs:313:58 [INFO] [stdout] | [INFO] [stdout] 313 | suggested_private_key.and_then(|private_key| KeyPair::from_der(&private_key.0).ok()); [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/service/certificate/file_storage.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | .and_then(|f| serde_json::de::from_reader(BufReader::new(f)).ok()) [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/service/http_templates.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 68 | let msg: Result> = match error_format { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let response = hyper::Response::new(msg); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let (mut parts, body) = response.into_parts(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | parts.status = status; [INFO] [stdout] 99 | hyper::Response::from_parts(parts, body.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/service/ws.rs:58:52 [INFO] [stdout] | [INFO] [stdout] 58 | async fn run(self) -> Result<(), GatewayError> { [INFO] [stdout] | __________________----______________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | | let span = span!(tracing::Level::TRACE, "ws", listen_addr = %self.listen_addr, domains = ?self.domains); [INFO] [stdout] 60 | | let tcp_listener: TcpListener = TcpListener::bind(&self.listen_addr).await?; [INFO] [stdout] 61 | | span.in_scope(|| trace!("tcp listener successfully bound")); [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [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/service/ws.rs:399:53 [INFO] [stdout] | [INFO] [stdout] 399 | if let Some(session) = session.and_then(|s| HeaderValue::from_str(&s.to_string()).ok()) { [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/service/ws.rs:403:37 [INFO] [stdout] | [INFO] [stdout] 403 | connection.and_then(|c| HeaderValue::from_str(&c.to_string()).ok()) [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/service/wss.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | async fn run(self) -> Result<(), GatewayError> { [INFO] [stdout] | __________________----______________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | | let span = span!(tracing::Level::TRACE, "wss", listen_addr = %self.listen_addr, domains = ?self.domains); [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | let wss = self.clone(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | } [INFO] [stdout] 220 | | } [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/state/mod.rs:290:57 [INFO] [stdout] | [INFO] [stdout] 290 | ... let p = acl.and_then(|a|serde_json::from_str::>(&a).ok()).and_then(|a|a.into_iter().map(|p|PolicyToken::from_str(&p, &s... [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/state/mod.rs:290:136 [INFO] [stdout] | [INFO] [stdout] 290 | ...(&a).ok()).and_then(|a|a.into_iter().map(|p|PolicyToken::from_str(&p, &self.client_token).ok()).collect::>>()); [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/state/mod.rs:349:61 [INFO] [stdout] | [INFO] [stdout] 349 | ... let p = publish.and_then(|a|serde_json::from_str::>(&a).ok()).and_then(|a|a.into_iter().map(|p|AgentPublishToken::from_... [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/state/mod.rs:349:140 [INFO] [stdout] | [INFO] [stdout] 349 | ...a).ok()).and_then(|a|a.into_iter().map(|p|AgentPublishToken::from_str(&p, &self.agent_token).ok()).collect:: [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/state/connection.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 48 | client_socket: Option, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | agent_socket: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | data: ConnectionData::new(id, session_id, client_socket, agent_socket), [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/state/connection.rs:190:35 [INFO] [stdout] | [INFO] [stdout] 190 | .and_then(|h| HeaderValue::from_str(&h).ok()) [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/state/connection.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 164 | ClientConnection::HttpTransparent(mut request, peer_addr, replay, service_protocol) => { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | .and_then(|mut response| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | *response.version_mut() = original_version; [INFO] [stdout] 239 | replay.send(Ok(response)).map_err(|_| ()) [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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `narrowlink-gateway` (bin "narrowlink-gateway") due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `narrowlink-gateway` (bin "narrowlink-gateway" test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "eac644494140e2165b333d24eaec2dec5f902e76883e05028ba326534cd2cf4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac644494140e2165b333d24eaec2dec5f902e76883e05028ba326534cd2cf4a", kill_on_drop: false }` [INFO] [stdout] eac644494140e2165b333d24eaec2dec5f902e76883e05028ba326534cd2cf4a