[INFO] fetching crate http_dir 0.1.9... [INFO] checking http_dir-0.1.9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate http_dir 0.1.9 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate http_dir 0.1.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_dir 0.1.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate http_dir 0.1.9 [INFO] tweaked toml for crates.io crate http_dir 0.1.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate http_dir 0.1.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-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] 1f3e72c6a8f013e2d03d178d61f9f5c1b41d04dc8b6b215c4868060944d88c12 [INFO] running `Command { std: "docker" "start" "-a" "1f3e72c6a8f013e2d03d178d61f9f5c1b41d04dc8b6b215c4868060944d88c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f3e72c6a8f013e2d03d178d61f9f5c1b41d04dc8b6b215c4868060944d88c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f3e72c6a8f013e2d03d178d61f9f5c1b41d04dc8b6b215c4868060944d88c12", kill_on_drop: false }` [INFO] [stdout] 1f3e72c6a8f013e2d03d178d61f9f5c1b41d04dc8b6b215c4868060944d88c12 [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] 5635dd05de0f36a63da83c74ced58e6c6af191272aae432553dba79d99c7778d [INFO] running `Command { std: "docker" "start" "-a" "5635dd05de0f36a63da83c74ced58e6c6af191272aae432553dba79d99c7778d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking http-range-header v0.4.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking include_dir v0.7.3 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tower-http v0.4.3 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking http_dir v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `gzip`, `deflate`, and `br` are never used [INFO] [stdout] --> src/content_encoding.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) trait SupportedEncodings: Copy { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 2 | fn gzip(&self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | fn deflate(&self) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | fn br(&self) -> bool; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/async_body.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn with_capacity(read: T, capacity: usize) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Self { [INFO] [stdout] 30 | reader: ReaderStream::with_capacity(read, capacity), [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/async_body.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 35 | read: T, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | reader: ReaderStream::with_capacity(read.take(max_read_bytes), capacity), [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/fs/disk.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 125 | let file = File::open(&path).await?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | [INFO] [stdout] 127 | Ok(DiskFile(file)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/open_file.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 290 | fn append_slash_on_path(uri: Uri) -> Uri { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | let http::uri::Parts { [INFO] [stdout] 292 | scheme, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | authority, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | path_and_query, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | let mut uri_builder = Uri::builder(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | let uri_builder = if let Some(path_and_query) = path_and_query { [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] ... [INFO] [stdout] 318 | uri_builder.build().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/serve_dir/mod.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(filesystem: FS) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | variant: ServeVariant::Directory { [INFO] [stdout] | ______________________^ [INFO] [stdout] 78 | | append_index_html_on_directories: true, [INFO] [stdout] 79 | | }, [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/serve_dir/mod.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) fn new_single_file(filesystem: FS, mime: HeaderValue) -> Self { [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] ... [INFO] [stdout] 90 | variant: ServeVariant::SingleFile { mime }, [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/serve_dir/mod.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn fallback(self, new_fallback: F2) -> ServeDir { [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] ... [INFO] [stdout] 211 | fallback: Some(new_fallback), [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/serve_dir/mod.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn not_found_service(self, new_fallback: F2) -> ServeDir> { [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] 247 | self.fallback(SetStatus::new(new_fallback, StatusCode::NOT_FOUND)) [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/serve_dir/mod.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 282 | fn call(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | let mut this = self.clone(); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let (mut parts, body) = req.into_parts(); [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] 323 | // same goes for extensions [INFO] [stdout] 324 | let extensions = std::mem::take(&mut parts.extensions); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | let req = Request::from_parts(parts, Empty::::new()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | [INFO] [stdout] 327 | let mut fallback_and_request = this.fallback.as_mut().map(|fallback| { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | return if let Some((mut fallback, request)) = fallback_and_request.take() { [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] ... [INFO] [stdout] 370 | match open_file::open_file( [INFO] [stdout] | ___________________^ [INFO] [stdout] 371 | | &mut this.filesystem, [INFO] [stdout] 372 | | &this.variant, [INFO] [stdout] 373 | | path_to_file, [INFO] [stdout] ... | [INFO] [stdout] 378 | | ) [INFO] [stdout] 379 | | .await [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/serve_dir/mod.rs:293:33 [INFO] [stdout] | [INFO] [stdout] 292 | ... .map_ok(|response| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | / ... response [INFO] [stdout] 294 | | ... .map(|body| { [INFO] [stdout] 295 | | ... body.map_err(|err| { [INFO] [stdout] 296 | | ... match err.into().downcast::() { [INFO] [stdout] ... | [INFO] [stdout] 303 | | ... .boxed_unsync() [INFO] [stdout] 304 | | ... }) [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/serve_dir/mod.rs:295:41 [INFO] [stdout] | [INFO] [stdout] 294 | ... .map(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | / ... body.map_err(|err| { [INFO] [stdout] 296 | | ... match err.into().downcast::() { [INFO] [stdout] 297 | | ... Ok(err) => *err, [INFO] [stdout] 298 | | ... Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 301 | | ... } [INFO] [stdout] 302 | | ... }) [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/serve_dir/mod.rs:296:51 [INFO] [stdout] | [INFO] [stdout] 295 | ... body.map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | ... match err.into().downcast::() { [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/serve_dir/mod.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 596 | .map_ok(|response| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | / response [INFO] [stdout] 598 | | .map(|body| { [INFO] [stdout] 599 | | body.map_err(|err| match err.into().downcast::() { [INFO] [stdout] 600 | | Ok(err) => *err, [INFO] [stdout] ... | [INFO] [stdout] 603 | | .boxed_unsync() [INFO] [stdout] 604 | | }) [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/serve_dir/mod.rs:599:21 [INFO] [stdout] | [INFO] [stdout] 598 | .map(|body| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 599 | / body.map_err(|err| match err.into().downcast::() { [INFO] [stdout] 600 | | Ok(err) => *err, [INFO] [stdout] 601 | | Err(err) => io::Error::new(io::ErrorKind::Other, err), [INFO] [stdout] 602 | | }) [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] [stderr] error: could not compile `http_dir` (lib) due to 18 previous errors; 1 warning emitted [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/serve_dir/mod.rs:599:46 [INFO] [stdout] | [INFO] [stdout] 599 | body.map_err(|err| match err.into().downcast::() { [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] [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/serve_file/mod.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new>(path: P, filesystem: FS) -> Self { [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] ... [INFO] [stdout] 32 | let mime = guess [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | inner: ServeDir::new_single_file(SingleFileFilesystem::new(path, filesystem), mime), [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/serve_file/mod.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new_with_mime>(path: P, mime: &Mime, filesystem: FS) -> Self { [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] 50 | let mime = HeaderValue::from_str(mime.as_ref()).expect("mime isn't a valid header value"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | inner: ServeDir::new_single_file( [INFO] [stdout] | ____________________^ [INFO] [stdout] 54 | | SingleFileFilesystem::new(path.into(), filesystem), [INFO] [stdout] 55 | | mime, [INFO] [stdout] 56 | | ), [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 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5635dd05de0f36a63da83c74ced58e6c6af191272aae432553dba79d99c7778d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5635dd05de0f36a63da83c74ced58e6c6af191272aae432553dba79d99c7778d", kill_on_drop: false }` [INFO] [stdout] 5635dd05de0f36a63da83c74ced58e6c6af191272aae432553dba79d99c7778d