[INFO] fetching crate actix-files 0.6.6... [INFO] checking actix-files-0.6.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate actix-files 0.6.6 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate actix-files 0.6.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 actix-files 0.6.6 [INFO] finished tweaking crates.io crate actix-files 0.6.6 [INFO] tweaked toml for crates.io crate actix-files 0.6.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate actix-files 0.6.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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35b89fe95f32f92605de7be31aed2a991a9e05ffeaa53dd9e7e7ada7df932c6f [INFO] running `Command { std: "docker" "start" "-a" "35b89fe95f32f92605de7be31aed2a991a9e05ffeaa53dd9e7e7ada7df932c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35b89fe95f32f92605de7be31aed2a991a9e05ffeaa53dd9e7e7ada7df932c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35b89fe95f32f92605de7be31aed2a991a9e05ffeaa53dd9e7e7ada7df932c6f", kill_on_drop: false }` [INFO] [stdout] 35b89fe95f32f92605de7be31aed2a991a9e05ffeaa53dd9e7e7ada7df932c6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dec7d6aea5b2fdaa2c9a6eadec7ba19ca3274c4750960e75efff18fa15d6dc7 [INFO] running `Command { std: "docker" "start" "-a" "2dec7d6aea5b2fdaa2c9a6eadec7ba19ca3274c4750960e75efff18fa15d6dc7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-http v3.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-web v4.7.0 [INFO] [stderr] Checking awc v3.5.0 [INFO] [stderr] Checking actix-http-test v3.2.0 [INFO] [stderr] Checking actix-test v0.1.4 [INFO] [stderr] Checking actix-files v0.6.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/chunked.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 59 | file: File, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | state: ChunkedReadFileState::File { file: Some(file) }, [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/files.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | default: Rc::new(RefCell::new(None)), [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/files.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | mime_override: None, [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/files.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | path_filter: None, [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/files.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | use_guards: None, [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/files.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | guards: Vec::new(), [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/files.rs:345:53 [INFO] [stdout] | [INFO] [stdout] 322 | fn register(mut self, config: &mut AppService) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | let guards = if self.guards.is_empty() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | let guards = std::mem::take(&mut self.guards); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | let rdef = if config.is_root() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | config.register_service(rdef, guards, self, None) [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/files.rs:375:23 [INFO] [stdout] | [INFO] [stdout] 358 | let mut inner = FilesServiceInner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | let fut = default.new_service(()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | Box::pin(async { [INFO] [stdout] 375 | match fut.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/files.rs:384:38 [INFO] [stdout] | [INFO] [stdout] 358 | let mut inner = FilesServiceInner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | Box::pin(async move { Ok(FilesService(Rc::new(inner))) }) [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/named.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn from_file>(file: File, path: P) -> io::Result { [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] 193 | Ok(NamedFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 194 | | path, [INFO] [stdout] 195 | | file, [INFO] [stdout] 196 | | content_type, [INFO] [stdout] ... | [INFO] [stdout] 202 | | flags: Flags::default(), [INFO] [stdout] 203 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/named.rs:586:18 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn into_response(self, req: &HttpRequest) -> HttpResponse { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 496 | let mut res = HttpResponse::build(self.status_code); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | let reader = chunked::new_chunked_read(length, offset, self.file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 586 | res.body(SizedStream::new(length, reader)) [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/named.rs:672:18 [INFO] [stdout] | [INFO] [stdout] 668 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 669 | let (req, _) = 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] 672 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 673 | | let file = NamedFile::open_async(path).await?; [INFO] [stdout] 674 | | let res = file.into_response(&req); [INFO] [stdout] 675 | | Ok(ServiceResponse::new(req, res)) [INFO] [stdout] 676 | | }) [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/named.rs:675:16 [INFO] [stdout] | [INFO] [stdout] 669 | let (req, _) = 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] 673 | let file = NamedFile::open_async(path).await?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 674 | let res = file.into_response(&req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 675 | Ok(ServiceResponse::new(req, res)) [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/named.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 681 | fn register(self, config: &mut AppService) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 682 | config.register_service( [INFO] [stdout] 683 | ResourceDef::root_prefix(self.path.to_string_lossy().as_ref()), [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/named.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 681 | fn register(self, config: &mut AppService) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 684 | None, [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/named.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 681 | fn register(self, config: &mut AppService) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 686 | None, [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.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 77 | fn show_index(&self, req: ServiceRequest, path: PathBuf) -> ServiceResponse { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let (req, _) = req.into_parts(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | [INFO] [stdout] 82 | (self.renderer)(&dir, &req).unwrap_or_else(|e| ServiceResponse::from_err(e, 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/service.rs:82:52 [INFO] [stdout] | [INFO] [stdout] 77 | fn show_index(&self, req: ServiceRequest, path: PathBuf) -> ServiceResponse { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let (req, _) = req.into_parts(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | [INFO] [stdout] 82 | (self.renderer)(&dir, &req).unwrap_or_else(|e| ServiceResponse::from_err(e, 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/service.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 99 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let this = self.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | [INFO] [stdout] 110 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 111 | | if !is_method_valid { [INFO] [stdout] 112 | | return Ok(req.into_response( [INFO] [stdout] 113 | | HttpResponse::MethodNotAllowed() [INFO] [stdout] ... | [INFO] [stdout] 185 | | } [INFO] [stdout] 186 | | }) [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 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-files` (lib) due to 20 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/chunked.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 59 | file: File, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | state: ChunkedReadFileState::File { file: Some(file) }, [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/files.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | default: Rc::new(RefCell::new(None)), [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/files.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | mime_override: None, [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/files.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | path_filter: None, [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/files.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | use_guards: None, [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/files.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new>(mount_path: &str, serve_from: T) -> Files { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | guards: Vec::new(), [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/files.rs:345:53 [INFO] [stdout] | [INFO] [stdout] 322 | fn register(mut self, config: &mut AppService) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | let guards = if self.guards.is_empty() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | let guards = std::mem::take(&mut self.guards); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | let rdef = if config.is_root() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | config.register_service(rdef, guards, self, None) [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/files.rs:375:23 [INFO] [stdout] | [INFO] [stdout] 358 | let mut inner = FilesServiceInner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | let fut = default.new_service(()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | Box::pin(async { [INFO] [stdout] 375 | match fut.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/files.rs:384:38 [INFO] [stdout] | [INFO] [stdout] 358 | let mut inner = FilesServiceInner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | Box::pin(async move { Ok(FilesService(Rc::new(inner))) }) [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/named.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn from_file>(file: File, path: P) -> io::Result { [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] 193 | Ok(NamedFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 194 | | path, [INFO] [stdout] 195 | | file, [INFO] [stdout] 196 | | content_type, [INFO] [stdout] ... | [INFO] [stdout] 202 | | flags: Flags::default(), [INFO] [stdout] 203 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/named.rs:586:18 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn into_response(self, req: &HttpRequest) -> HttpResponse { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 496 | let mut res = HttpResponse::build(self.status_code); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | let reader = chunked::new_chunked_read(length, offset, self.file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 586 | res.body(SizedStream::new(length, reader)) [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/named.rs:672:18 [INFO] [stdout] | [INFO] [stdout] 668 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 669 | let (req, _) = 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] 672 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 673 | | let file = NamedFile::open_async(path).await?; [INFO] [stdout] 674 | | let res = file.into_response(&req); [INFO] [stdout] 675 | | Ok(ServiceResponse::new(req, res)) [INFO] [stdout] 676 | | }) [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/named.rs:675:16 [INFO] [stdout] | [INFO] [stdout] 669 | let (req, _) = 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] 673 | let file = NamedFile::open_async(path).await?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 674 | let res = file.into_response(&req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 675 | Ok(ServiceResponse::new(req, res)) [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/named.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 681 | fn register(self, config: &mut AppService) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 682 | config.register_service( [INFO] [stdout] 683 | ResourceDef::root_prefix(self.path.to_string_lossy().as_ref()), [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/named.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 681 | fn register(self, config: &mut AppService) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 684 | None, [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/named.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 681 | fn register(self, config: &mut AppService) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 686 | None, [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.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 77 | fn show_index(&self, req: ServiceRequest, path: PathBuf) -> ServiceResponse { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let (req, _) = req.into_parts(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | [INFO] [stdout] 82 | (self.renderer)(&dir, &req).unwrap_or_else(|e| ServiceResponse::from_err(e, 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/service.rs:82:52 [INFO] [stdout] | [INFO] [stdout] 77 | fn show_index(&self, req: ServiceRequest, path: PathBuf) -> ServiceResponse { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let (req, _) = req.into_parts(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | [INFO] [stdout] 82 | (self.renderer)(&dir, &req).unwrap_or_else(|e| ServiceResponse::from_err(e, 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/service.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 99 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let this = self.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | [INFO] [stdout] 110 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 111 | | if !is_method_valid { [INFO] [stdout] 112 | | return Ok(req.into_response( [INFO] [stdout] 113 | | HttpResponse::MethodNotAllowed() [INFO] [stdout] ... | [INFO] [stdout] 185 | | } [INFO] [stdout] 186 | | }) [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/lib.rs:477:40 [INFO] [stdout] | [INFO] [stdout] 477 | let srv = actix_test::start(|| App::new().service(Files::new("/", "."))); [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/lib.rs:477:59 [INFO] [stdout] | [INFO] [stdout] 477 | let srv = actix_test::start(|| App::new().service(Files::new("/", "."))); [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/lib.rs:502:40 [INFO] [stdout] | [INFO] [stdout] 502 | let srv = actix_test::start(|| App::new().service(Files::new("/", "."))); [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/lib.rs:502:59 [INFO] [stdout] | [INFO] [stdout] 502 | let srv = actix_test::start(|| App::new().service(Files::new("/", "."))); [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/lib.rs:541:40 [INFO] [stdout] | [INFO] [stdout] 541 | let srv = actix_test::start(|| App::new().service(Files::new("/", "."))); [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/lib.rs:541:59 [INFO] [stdout] | [INFO] [stdout] 541 | let srv = actix_test::start(|| App::new().service(Files::new("/", "."))); [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/lib.rs:775:20 [INFO] [stdout] | [INFO] [stdout] 774 | .default_handler(|req: ServiceRequest| async { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 775 | Ok(req.into_response(HttpResponse::Ok().body("default content"))) [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/lib.rs:1026:20 [INFO] [stdout] | [INFO] [stdout] 1025 | .default_handler(|req: ServiceRequest| async { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1026 | Ok(req.into_response(HttpResponse::Ok().body("default content"))) [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 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-files` (lib test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "2dec7d6aea5b2fdaa2c9a6eadec7ba19ca3274c4750960e75efff18fa15d6dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dec7d6aea5b2fdaa2c9a6eadec7ba19ca3274c4750960e75efff18fa15d6dc7", kill_on_drop: false }` [INFO] [stdout] 2dec7d6aea5b2fdaa2c9a6eadec7ba19ca3274c4750960e75efff18fa15d6dc7