[INFO] fetching crate http-server 0.8.9... [INFO] checking http-server-0.8.9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate http-server 0.8.9 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate http-server 0.8.9 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 http-server 0.8.9 [INFO] finished tweaking crates.io crate http-server 0.8.9 [INFO] tweaked toml for crates.io crate http-server 0.8.9 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate http-server 0.8.9 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9e4f0522f135f4be6c90777cd68b68cd8be8d7f71832289cbcfe2bf7576d78dd [INFO] running `Command { std: "docker" "start" "-a" "9e4f0522f135f4be6c90777cd68b68cd8be8d7f71832289cbcfe2bf7576d78dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e4f0522f135f4be6c90777cd68b68cd8be8d7f71832289cbcfe2bf7576d78dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e4f0522f135f4be6c90777cd68b68cd8be8d7f71832289cbcfe2bf7576d78dd", kill_on_drop: false }` [INFO] [stdout] 9e4f0522f135f4be6c90777cd68b68cd8be8d7f71832289cbcfe2bf7576d78dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f0bb9dcbc52dc5f884176cdc8776b33dd8b18208affba648c8484cfaf073270b [INFO] running `Command { std: "docker" "start" "-a" "f0bb9dcbc52dc5f884176cdc8776b33dd8b18208affba648c8484cfaf073270b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot_core v0.9.2 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking winnow v0.4.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking http-auth-basic v0.3.3 [INFO] [stderr] Checking clap_builder v4.3.23 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking clap v4.3.23 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking toml_edit v0.19.12 [INFO] [stderr] Checking handlebars v4.3.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking local-ip-address v0.6.1 [INFO] [stderr] Checking http-server v0.8.9 (/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/addon/compression/gzip.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 68 | let mut compressor: GzEncoder> = GzEncoder::new(buffer, flate2::Compression::default()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | compressor.finish().map_err(Error::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] = 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/addon/file_server/file.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 74 | fn from(file: File) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | buffer: Box::new([MaybeUninit::uninit(); FILE_BUFFER_SIZE]), [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/addon/proxy.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 34 | let mut outogoing = self.map_incoming_request(Arc::clone(&request)).await; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | tokio::spawn(async move { client.request(outogoing).await.unwrap() }) [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/cli.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / /// Algorithm used to generate certificate key [INFO] [stdout] 46 | | #[structopt(long = "tls-key-algorithm", default_value = "rsa")] [INFO] [stdout] 47 | | pub tls_key_algorithm: PrivateKeyAlgorithm, [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/server/mod.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 80 | let handler = handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 84 | | service::main_service(handler.to_owned(), req) [INFO] [stdout] 85 | | })) [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/server/mod.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 80 | let handler = handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | service::main_service(handler.to_owned(), req) [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/server/mod.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 125 | let handler = handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 129 | | service::main_service(handler.to_owned(), req) [INFO] [stdout] 130 | | })) [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/server/mod.rs:129:43 [INFO] [stdout] | [INFO] [stdout] 125 | let handler = handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | service::main_service(handler.to_owned(), req) [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/server/handler/file_server.rs:26:96 [INFO] [stdout] | [INFO] [stdout] 26 | async fn handle(&self, req: Arc>>) -> Arc>> { [INFO] [stdout] | ____________________________------------------------------______________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | | let request_lock = req.lock().await; [INFO] [stdout] 28 | | let req_path = request_lock.uri().to_string(); [INFO] [stdout] 29 | | let req_method = request_lock.method(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | )) [INFO] [stdout] 43 | | } [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/server/handler/proxy.rs:24:96 [INFO] [stdout] | [INFO] [stdout] 24 | async fn handle(&self, req: Arc>>) -> Arc>> { [INFO] [stdout] | ____________________________------------------------------______________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | | let proxy = Arc::clone(&self.proxy); [INFO] [stdout] 26 | | let request = Arc::clone(&req); [INFO] [stdout] 27 | | let response = proxy.handle(request).await; [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | Arc::new(Mutex::new(response)) [INFO] [stdout] 30 | | } [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/server/https.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 26 | let config = ServerConfig::builder() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(Arc::new(config)) [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] [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/server/middleware/basic_auth.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 13 | let credentials = Arc::new(Credentials::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Box::new(move |request: Arc>>| { [INFO] [stdout] | ______________^ [INFO] [stdout] 19 | | let credentials = Arc::clone(&credentials); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | Box::pin(async move { [INFO] [stdout] ... | [INFO] [stdout] 48 | | }) [INFO] [stdout] 49 | | }) [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/server/middleware/basic_auth.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 13 | let credentials = Arc::new(Credentials::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Box::new(move |request: Arc>>| { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let credentials = Arc::clone(&credentials); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | let request = request.lock().await; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | if let Some(auth_header_value) = request.headers().get(http::header::AUTHORIZATION) { [INFO] [stdout] ... | [INFO] [stdout] 47 | | )) [INFO] [stdout] 48 | | }) [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/server/middleware/basic_auth.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 18 | Box::new(move |request: Arc>>| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let credentials = Arc::clone(&credentials); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let request = request.lock().await; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Err(make_http_error_response( [INFO] [stdout] | _________________^ [INFO] [stdout] 45 | | StatusCode::UNAUTHORIZED, [INFO] [stdout] 46 | | "Unauthorized", [INFO] [stdout] 47 | | )) [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/server/middleware/cors.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | let cors_headers = cors.make_http_headers(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | / move |_: Arc>>, response: Arc>>| { [INFO] [stdout] 32 | | let cors_headers = cors_headers.clone(); [INFO] [stdout] 33 | | let response = Arc::clone(&response); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }) [INFO] [stdout] 46 | | }, [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/server/middleware/cors.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 28 | let cors_headers = cors.make_http_headers(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | move |_: Arc>>, response: Arc>>| { [INFO] [stdout] | ---------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let cors_headers = cors_headers.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let response = Arc::clone(&response); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | [INFO] [stdout] 35 | Box::pin(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 36 | | let mut response = response.lock().await; [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | let headers = response.headers_mut(); [INFO] [stdout] ... | [INFO] [stdout] 44 | | Ok(()) [INFO] [stdout] 45 | | }) [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/server/middleware/gzip.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 13 | move |request: Arc>>, response: Arc>>| { [INFO] [stdout] | ---------------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Box::pin(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 15 | | compress_http_response(request, response) [INFO] [stdout] 16 | | .await [INFO] [stdout] 17 | | .map_err(|err| { [INFO] [stdout] ... | [INFO] [stdout] 22 | | }) [INFO] [stdout] 23 | | }) [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/server/middleware/gzip.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 13 | move |request: Arc>>, response: Arc>>| { [INFO] [stdout] | ------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Box::pin(async move { [INFO] [stdout] 15 | / compress_http_response(request, response) [INFO] [stdout] 16 | | .await [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/server/middleware/logger.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | let logger = Arc::new(Mutex::new(Logger::new())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | / move |request: Arc>>, response: Arc>>| { [INFO] [stdout] 15 | | let logger = Arc::clone(&logger); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | Box::pin(async move { [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] 26 | | }, [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/server/middleware/logger.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 11 | let logger = Arc::new(Mutex::new(Logger::new())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | move |request: Arc>>, response: Arc>>| { [INFO] [stdout] | ---------------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let logger = Arc::clone(&logger); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | Box::pin(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 18 | | let mut logger = logger.lock().await; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | if let Err(error) = logger.log(request, response).await { [INFO] [stdout] ... | [INFO] [stdout] 24 | | Ok(()) [INFO] [stdout] 25 | | }) [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-server` (lib) due to 21 previous errors [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/addon/compression/gzip.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 68 | let mut compressor: GzEncoder> = GzEncoder::new(buffer, flate2::Compression::default()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | compressor.finish().map_err(Error::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] = 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/addon/file_server/file.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 74 | fn from(file: File) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | buffer: Box::new([MaybeUninit::uninit(); FILE_BUFFER_SIZE]), [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/addon/proxy.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 34 | let mut outogoing = self.map_incoming_request(Arc::clone(&request)).await; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | tokio::spawn(async move { client.request(outogoing).await.unwrap() }) [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/cli.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / /// Algorithm used to generate certificate key [INFO] [stdout] 46 | | #[structopt(long = "tls-key-algorithm", default_value = "rsa")] [INFO] [stdout] 47 | | pub tls_key_algorithm: PrivateKeyAlgorithm, [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/server/mod.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 80 | let handler = handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 84 | | service::main_service(handler.to_owned(), req) [INFO] [stdout] 85 | | })) [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/server/mod.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 80 | let handler = handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | service::main_service(handler.to_owned(), req) [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/server/mod.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 125 | let handler = handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 129 | | service::main_service(handler.to_owned(), req) [INFO] [stdout] 130 | | })) [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/server/mod.rs:129:43 [INFO] [stdout] | [INFO] [stdout] 125 | let handler = handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | service::main_service(handler.to_owned(), req) [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/server/handler/file_server.rs:26:96 [INFO] [stdout] | [INFO] [stdout] 26 | async fn handle(&self, req: Arc>>) -> Arc>> { [INFO] [stdout] | ____________________________------------------------------______________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | | let request_lock = req.lock().await; [INFO] [stdout] 28 | | let req_path = request_lock.uri().to_string(); [INFO] [stdout] 29 | | let req_method = request_lock.method(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | )) [INFO] [stdout] 43 | | } [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/server/handler/proxy.rs:24:96 [INFO] [stdout] | [INFO] [stdout] 24 | async fn handle(&self, req: Arc>>) -> Arc>> { [INFO] [stdout] | ____________________________------------------------------______________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | | let proxy = Arc::clone(&self.proxy); [INFO] [stdout] 26 | | let request = Arc::clone(&req); [INFO] [stdout] 27 | | let response = proxy.handle(request).await; [INFO] [stdout] 28 | | [INFO] [stdout] 29 | | Arc::new(Mutex::new(response)) [INFO] [stdout] 30 | | } [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/server/https.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 26 | let config = ServerConfig::builder() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(Arc::new(config)) [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] [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/server/middleware/basic_auth.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 13 | let credentials = Arc::new(Credentials::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Box::new(move |request: Arc>>| { [INFO] [stdout] | ______________^ [INFO] [stdout] 19 | | let credentials = Arc::clone(&credentials); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | Box::pin(async move { [INFO] [stdout] ... | [INFO] [stdout] 48 | | }) [INFO] [stdout] 49 | | }) [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/server/middleware/basic_auth.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 13 | let credentials = Arc::new(Credentials::new( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Box::new(move |request: Arc>>| { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let credentials = Arc::clone(&credentials); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | let request = request.lock().await; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | if let Some(auth_header_value) = request.headers().get(http::header::AUTHORIZATION) { [INFO] [stdout] ... | [INFO] [stdout] 47 | | )) [INFO] [stdout] 48 | | }) [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/server/middleware/basic_auth.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 18 | Box::new(move |request: Arc>>| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let credentials = Arc::clone(&credentials); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let request = request.lock().await; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Err(make_http_error_response( [INFO] [stdout] | _________________^ [INFO] [stdout] 45 | | StatusCode::UNAUTHORIZED, [INFO] [stdout] 46 | | "Unauthorized", [INFO] [stdout] 47 | | )) [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/server/middleware/cors.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | let cors_headers = cors.make_http_headers(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | / move |_: Arc>>, response: Arc>>| { [INFO] [stdout] 32 | | let cors_headers = cors_headers.clone(); [INFO] [stdout] 33 | | let response = Arc::clone(&response); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }) [INFO] [stdout] 46 | | }, [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/server/middleware/cors.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 28 | let cors_headers = cors.make_http_headers(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | move |_: Arc>>, response: Arc>>| { [INFO] [stdout] | ---------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let cors_headers = cors_headers.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let response = Arc::clone(&response); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | [INFO] [stdout] 35 | Box::pin(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 36 | | let mut response = response.lock().await; [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | let headers = response.headers_mut(); [INFO] [stdout] ... | [INFO] [stdout] 44 | | Ok(()) [INFO] [stdout] 45 | | }) [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/server/middleware/gzip.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 13 | move |request: Arc>>, response: Arc>>| { [INFO] [stdout] | ---------------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Box::pin(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 15 | | compress_http_response(request, response) [INFO] [stdout] 16 | | .await [INFO] [stdout] 17 | | .map_err(|err| { [INFO] [stdout] ... | [INFO] [stdout] 22 | | }) [INFO] [stdout] 23 | | }) [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/server/middleware/gzip.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 13 | move |request: Arc>>, response: Arc>>| { [INFO] [stdout] | ------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Box::pin(async move { [INFO] [stdout] 15 | / compress_http_response(request, response) [INFO] [stdout] 16 | | .await [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/server/middleware/logger.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | let logger = Arc::new(Mutex::new(Logger::new())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | / move |request: Arc>>, response: Arc>>| { [INFO] [stdout] 15 | | let logger = Arc::clone(&logger); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | Box::pin(async move { [INFO] [stdout] ... | [INFO] [stdout] 25 | | }) [INFO] [stdout] 26 | | }, [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/server/middleware/logger.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 11 | let logger = Arc::new(Mutex::new(Logger::new())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | move |request: Arc>>, response: Arc>>| { [INFO] [stdout] | ---------------------------------- ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let logger = Arc::clone(&logger); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | Box::pin(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 18 | | let mut logger = logger.lock().await; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | if let Err(error) = logger.log(request, response).await { [INFO] [stdout] ... | [INFO] [stdout] 24 | | Ok(()) [INFO] [stdout] 25 | | }) [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-server` (lib test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "f0bb9dcbc52dc5f884176cdc8776b33dd8b18208affba648c8484cfaf073270b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0bb9dcbc52dc5f884176cdc8776b33dd8b18208affba648c8484cfaf073270b", kill_on_drop: false }` [INFO] [stdout] f0bb9dcbc52dc5f884176cdc8776b33dd8b18208affba648c8484cfaf073270b