[INFO] fetching crate rustypaste 0.15.1... [INFO] checking rustypaste-0.15.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rustypaste 0.15.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rustypaste 0.15.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 rustypaste 0.15.1 [INFO] finished tweaking crates.io crate rustypaste 0.15.1 [INFO] tweaked toml for crates.io crate rustypaste 0.15.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate rustypaste 0.15.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 131f9b6f9c570e20f18a8d6e3636302355070bd3221bf189b820b61b3f4318ca [INFO] running `Command { std: "docker" "start" "-a" "131f9b6f9c570e20f18a8d6e3636302355070bd3221bf189b820b61b3f4318ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "131f9b6f9c570e20f18a8d6e3636302355070bd3221bf189b820b61b3f4318ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "131f9b6f9c570e20f18a8d6e3636302355070bd3221bf189b820b61b3f4318ca", kill_on_drop: false }` [INFO] [stdout] 131f9b6f9c570e20f18a8d6e3636302355070bd3221bf189b820b61b3f4318ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 22a2aed2ba97634fd42c91f2ecfe3e6d916c69dede3996f7b879bf69165c1b4d [INFO] running `Command { std: "docker" "start" "-a" "22a2aed2ba97634fd42c91f2ecfe3e6d916c69dede3996f7b879bf69165c1b4d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling petname v1.1.3 [INFO] [stderr] Compiling parse-size v1.0.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking file-id v0.1.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking notify-debouncer-full v0.1.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Checking hotwatch v0.5.0 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking infer v0.16.0 [INFO] [stderr] Checking uts2ts v0.4.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling protect-endpoints-proc-macro v0.3.2 [INFO] [stderr] Compiling actix-multipart-derive v0.7.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking lazy-regex v3.1.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking byte-unit v5.1.4 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking actix-http v3.7.0 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking awc v3.5.0 [INFO] [stderr] Checking actix-multipart v0.7.2 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking actix-web-grants v4.1.1 [INFO] [stderr] Checking rustypaste v0.15.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/config.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 154 | let mut tokens = match token_type { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | TokenType::Auth => { [INFO] [stdout] 156 | let mut tokens: HashSet<_> = self.server.auth_tokens.clone().unwrap_or_default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let mut tokens: HashSet<_> = self.server.delete_tokens.clone().unwrap_or_default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Some(tokens).filter(|v| !v.is_empty()) [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/server.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 156 | config: web::Data>, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | ) -> Result { [INFO] [stdout] 158 | let config = config [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | Ok(HttpResponse::Ok().body(String::from("file deleted\n"))) [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/server.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 178 | async fn version(config: web::Data>) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let config = config [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | Ok(HttpResponse::Ok().body(version.to_owned() + "\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 195 | request: HttpRequest, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | mut payload: Multipart, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | client: web::Data, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | config: web::Data>, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | Ok(HttpResponse::Ok().body(urls.join(""))) [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/server.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 341 | async fn list(config: web::Data>) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | let config = config [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 403 | Ok(HttpResponse::Ok().json(entries)) [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/server.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 351 | .filter_map(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | entry.ok().and_then(|e| { [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/auth.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 54 | res: ServiceResponse, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(ErrorHandlerResponse::Response(res.map_into_left_body())) [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/file.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | .filter_map(|path| match OsFile::open(&path) { [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/file.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | .filter_map(|(path, file)| match util::sha256_digest(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] | [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.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | .filter_map(|v| v.get_path(base_path).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.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | .filter_map(|v| glob(&v.join("*.[0-9]*").to_string_lossy()).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.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | .flat_map(|glob| glob.filter_map(|v| v.ok()).collect::>()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middleware.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn new_transform(&self, service: S) -> Self::Future { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ready(Ok(ContentLengthLimiterMiddleware { [INFO] [stdout] | _______________^ [INFO] [stdout] 41 | | service: Rc::new(service), [INFO] [stdout] 42 | | max_bytes: self.max_bytes, [INFO] [stdout] 43 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middleware.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 64 | fn call(&self, mut request: ServiceRequest) -> Self::Future { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let service = Rc::clone(&self.service); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 90 | | service [INFO] [stdout] 91 | | .call(request) [INFO] [stdout] 92 | | .await [INFO] [stdout] 93 | | .map(ServiceResponse::map_into_left_body) [INFO] [stdout] 94 | | }) [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/middleware.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 64 | fn call(&self, mut request: 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] 79 | let mut payload = request.take_payload(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | while let Ok(Some(_)) = payload.try_next().await {} [INFO] [stdout] 81 | Ok(request.into_response( [INFO] [stdout] | ________________________^ [INFO] [stdout] 82 | | HttpResponseBuilder::new(StatusCode::PAYLOAD_TOO_LARGE) [INFO] [stdout] 83 | | .body("upload limit exceeded") [INFO] [stdout] 84 | | .map_into_right_body(), [INFO] [stdout] 85 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middleware.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 64 | fn call(&self, mut request: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let service = Rc::clone(&self.service); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | / service [INFO] [stdout] 91 | | .call(request) [INFO] [stdout] 92 | | .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: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustypaste` (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/config.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 154 | let mut tokens = match token_type { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | TokenType::Auth => { [INFO] [stdout] 156 | let mut tokens: HashSet<_> = self.server.auth_tokens.clone().unwrap_or_default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let mut tokens: HashSet<_> = self.server.delete_tokens.clone().unwrap_or_default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Some(tokens).filter(|v| !v.is_empty()) [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/server.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 156 | config: web::Data>, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | ) -> Result { [INFO] [stdout] 158 | let config = config [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | Ok(HttpResponse::Ok().body(String::from("file deleted\n"))) [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/server.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 178 | async fn version(config: web::Data>) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let config = config [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | Ok(HttpResponse::Ok().body(version.to_owned() + "\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 195 | request: HttpRequest, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | mut payload: Multipart, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | client: web::Data, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | config: web::Data>, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | Ok(HttpResponse::Ok().body(urls.join(""))) [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/server.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 341 | async fn list(config: web::Data>) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | let config = config [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 403 | Ok(HttpResponse::Ok().json(entries)) [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/server.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 351 | .filter_map(|entry| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | entry.ok().and_then(|e| { [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/auth.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 54 | res: ServiceResponse, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(ErrorHandlerResponse::Response(res.map_into_left_body())) [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/file.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | .filter_map(|path| match OsFile::open(&path) { [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/file.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | .filter_map(|(path, file)| match util::sha256_digest(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] | [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.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | .filter_map(|v| v.get_path(base_path).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.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | .filter_map(|v| glob(&v.join("*.[0-9]*").to_string_lossy()).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.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | .flat_map(|glob| glob.filter_map(|v| v.ok()).collect::>()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middleware.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn new_transform(&self, service: S) -> Self::Future { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ready(Ok(ContentLengthLimiterMiddleware { [INFO] [stdout] | _______________^ [INFO] [stdout] 41 | | service: Rc::new(service), [INFO] [stdout] 42 | | max_bytes: self.max_bytes, [INFO] [stdout] 43 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middleware.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 64 | fn call(&self, mut request: ServiceRequest) -> Self::Future { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let service = Rc::clone(&self.service); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 90 | | service [INFO] [stdout] 91 | | .call(request) [INFO] [stdout] 92 | | .await [INFO] [stdout] 93 | | .map(ServiceResponse::map_into_left_body) [INFO] [stdout] 94 | | }) [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/middleware.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 64 | fn call(&self, mut request: 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] 79 | let mut payload = request.take_payload(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | while let Ok(Some(_)) = payload.try_next().await {} [INFO] [stdout] 81 | Ok(request.into_response( [INFO] [stdout] | ________________________^ [INFO] [stdout] 82 | | HttpResponseBuilder::new(StatusCode::PAYLOAD_TOO_LARGE) [INFO] [stdout] 83 | | .body("upload limit exceeded") [INFO] [stdout] 84 | | .map_into_right_body(), [INFO] [stdout] 85 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middleware.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 64 | fn call(&self, mut request: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let service = Rc::clone(&self.service); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | / service [INFO] [stdout] 91 | | .call(request) [INFO] [stdout] 92 | | .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: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustypaste` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "22a2aed2ba97634fd42c91f2ecfe3e6d916c69dede3996f7b879bf69165c1b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a2aed2ba97634fd42c91f2ecfe3e6d916c69dede3996f7b879bf69165c1b4d", kill_on_drop: false }` [INFO] [stdout] 22a2aed2ba97634fd42c91f2ecfe3e6d916c69dede3996f7b879bf69165c1b4d