[INFO] fetching crate hyper-staticfile 0.10.1... [INFO] checking hyper-staticfile-0.10.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hyper-staticfile 0.10.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate hyper-staticfile 0.10.1 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 hyper-staticfile 0.10.1 [INFO] finished tweaking crates.io crate hyper-staticfile 0.10.1 [INFO] tweaked toml for crates.io crate hyper-staticfile 0.10.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate hyper-staticfile 0.10.1 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-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] 5a3198f23f09c7fe28cff2a3154ca4d68100c046ad55f46e7edb7b66b7cc6a2d [INFO] running `Command { std: "docker" "start" "-a" "5a3198f23f09c7fe28cff2a3154ca4d68100c046ad55f46e7edb7b66b7cc6a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a3198f23f09c7fe28cff2a3154ca4d68100c046ad55f46e7edb7b66b7cc6a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3198f23f09c7fe28cff2a3154ca4d68100c046ad55f46e7edb7b66b7cc6a2d", kill_on_drop: false }` [INFO] [stdout] 5a3198f23f09c7fe28cff2a3154ca4d68100c046ad55f46e7edb7b66b7cc6a2d [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] 1618f4e9126a521073f7de8f8a22240fa3e4140ffe4e5b079527330fe3b4ef1d [INFO] running `Command { std: "docker" "start" "-a" "1618f4e9126a521073f7de8f8a22240fa3e4140ffe4e5b079527330fe3b4ef1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking hyper-staticfile v0.10.1 (/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/body.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 35 | let opt = ready!(match *self { [INFO] [stdout] | _____________---___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | Body::Empty => return Poll::Ready(None), [INFO] [stdout] 37 | | Body::Full(ref mut stream) => Pin::new(stream).poll_next(cx), [INFO] [stdout] 38 | | Body::Range(ref mut stream) => Pin::new(stream).poll_next(cx), [INFO] [stdout] 39 | | Body::MultiRange(ref mut stream) => Pin::new(stream).poll_next(cx), [INFO] [stdout] 40 | | }); [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Poll::Ready(opt.map(|res| res.map(Frame::data))) [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/resolve.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn with_opener(opener: O) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | Self { [INFO] [stdout] 143 | opener: Arc::new(opener), [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/resolve.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn with_opener(opener: O) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | rewrite: 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/resolve.rs:167:61 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn set_rewrite(&mut self, rewrite: F) -> &mut Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | self.rewrite = Some(Arc::new(move |params| Box::pin(rewrite(params)))); [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:39:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(root: impl Into) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Self { [INFO] [stdout] 39 | resolver: Resolver::new(root), [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:49:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn with_opener(opener: O) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Self { [INFO] [stdout] 49 | resolver: Resolver::with_opener(opener), [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:76:13 [INFO] [stdout] | [INFO] [stdout] 75 | resolver.resolve_request(&request).await.map(|result| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | / ResponseBuilder::new() [INFO] [stdout] 77 | | .request(&request) [INFO] [stdout] 78 | | .cache_headers(cache_headers) [INFO] [stdout] 79 | | .build(result) [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:104:18 [INFO] [stdout] | [INFO] [stdout] 103 | fn call(&self, request: Request) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Box::pin(self.clone().serve(request)) [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/util/file_bytes_stream.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new(file: F, range: HttpRange) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Self { [INFO] [stdout] 81 | file_stream: FileBytesStream::new_with_limit(file, range.length), [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/util/file_bytes_stream.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 87 | fn without_initial_range(file: F) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Self { [INFO] [stdout] 89 | file_stream: FileBytesStream::new_with_limit(file, 0), [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/util/file_bytes_stream.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new(file: F, ranges: Vec, boundary: String, file_length: u64) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | Self { [INFO] [stdout] 143 | file_range: FileBytesStreamRange::without_initial_range(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] [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/util/file_response_builder.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 120 | file: ResolvedFile, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result>> { [INFO] [stdout] 122 | let mut res = ResponseBuilder::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | res.status(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/file_response_builder.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 120 | file: ResolvedFile, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result>> { [INFO] [stdout] 122 | let mut res = ResponseBuilder::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | .body(Body::Full(FileBytesStream::new_with_limit( [INFO] [stdout] | ___________________^ [INFO] [stdout] 270 | | file.handle.into_file_access(), [INFO] [stdout] 271 | | file.size, [INFO] [stdout] 272 | | ))) [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/vfs.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(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] 119 | read_buf: Box::new([MaybeUninit::uninit(); TOKIO_READ_BUF_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/vfs.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 197 | let handle = opts.open(full_path)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let metadata = handle.metadata()?; [INFO] [stdout] 199 | Ok(FileWithMetadata { [INFO] [stdout] | ________________^ [INFO] [stdout] 200 | | handle: File::from_std(handle), [INFO] [stdout] 201 | | size: metadata.len(), [INFO] [stdout] 202 | | modified: metadata.modified().ok(), [INFO] [stdout] 203 | | is_dir: metadata.is_dir(), [INFO] [stdout] 204 | | }) [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] | [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/vfs.rs:387:29 [INFO] [stdout] | [INFO] [stdout] 387 | handle: Cursor::new(file.handle.clone()), [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 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyper-staticfile` (lib) due to 17 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/body.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 35 | let opt = ready!(match *self { [INFO] [stdout] | _____________---___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | | Body::Empty => return Poll::Ready(None), [INFO] [stdout] 37 | | Body::Full(ref mut stream) => Pin::new(stream).poll_next(cx), [INFO] [stdout] 38 | | Body::Range(ref mut stream) => Pin::new(stream).poll_next(cx), [INFO] [stdout] 39 | | Body::MultiRange(ref mut stream) => Pin::new(stream).poll_next(cx), [INFO] [stdout] 40 | | }); [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Poll::Ready(opt.map(|res| res.map(Frame::data))) [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/resolve.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn with_opener(opener: O) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | Self { [INFO] [stdout] 143 | opener: Arc::new(opener), [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/resolve.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn with_opener(opener: O) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | rewrite: 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/resolve.rs:167:61 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn set_rewrite(&mut self, rewrite: F) -> &mut Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | self.rewrite = Some(Arc::new(move |params| Box::pin(rewrite(params)))); [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:39:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(root: impl Into) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Self { [INFO] [stdout] 39 | resolver: Resolver::new(root), [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:49:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn with_opener(opener: O) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Self { [INFO] [stdout] 49 | resolver: Resolver::with_opener(opener), [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:76:13 [INFO] [stdout] | [INFO] [stdout] 75 | resolver.resolve_request(&request).await.map(|result| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | / ResponseBuilder::new() [INFO] [stdout] 77 | | .request(&request) [INFO] [stdout] 78 | | .cache_headers(cache_headers) [INFO] [stdout] 79 | | .build(result) [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:104:18 [INFO] [stdout] | [INFO] [stdout] 103 | fn call(&self, request: Request) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Box::pin(self.clone().serve(request)) [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/util/file_bytes_stream.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new(file: F, range: HttpRange) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Self { [INFO] [stdout] 81 | file_stream: FileBytesStream::new_with_limit(file, range.length), [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/util/file_bytes_stream.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 87 | fn without_initial_range(file: F) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Self { [INFO] [stdout] 89 | file_stream: FileBytesStream::new_with_limit(file, 0), [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/util/file_bytes_stream.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new(file: F, ranges: Vec, boundary: String, file_length: u64) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | Self { [INFO] [stdout] 143 | file_range: FileBytesStreamRange::without_initial_range(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] [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/util/file_response_builder.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 120 | file: ResolvedFile, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result>> { [INFO] [stdout] 122 | let mut res = ResponseBuilder::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | res.status(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/file_response_builder.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 120 | file: ResolvedFile, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result>> { [INFO] [stdout] 122 | let mut res = ResponseBuilder::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | .body(Body::Full(FileBytesStream::new_with_limit( [INFO] [stdout] | ___________________^ [INFO] [stdout] 270 | | file.handle.into_file_access(), [INFO] [stdout] 271 | | file.size, [INFO] [stdout] 272 | | ))) [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/vfs.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new(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] 119 | read_buf: Box::new([MaybeUninit::uninit(); TOKIO_READ_BUF_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/vfs.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 197 | let handle = opts.open(full_path)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let metadata = handle.metadata()?; [INFO] [stdout] 199 | Ok(FileWithMetadata { [INFO] [stdout] | ________________^ [INFO] [stdout] 200 | | handle: File::from_std(handle), [INFO] [stdout] 201 | | size: metadata.len(), [INFO] [stdout] 202 | | modified: metadata.modified().ok(), [INFO] [stdout] 203 | | is_dir: metadata.is_dir(), [INFO] [stdout] 204 | | }) [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] | [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/vfs.rs:387:29 [INFO] [stdout] | [INFO] [stdout] 387 | handle: Cursor::new(file.handle.clone()), [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 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyper-staticfile` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "1618f4e9126a521073f7de8f8a22240fa3e4140ffe4e5b079527330fe3b4ef1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1618f4e9126a521073f7de8f8a22240fa3e4140ffe4e5b079527330fe3b4ef1d", kill_on_drop: false }` [INFO] [stdout] 1618f4e9126a521073f7de8f8a22240fa3e4140ffe4e5b079527330fe3b4ef1d