[INFO] cloning repository https://github.com/Henry-Hao/auth-website [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Henry-Hao/auth-website" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenry-Hao%2Fauth-website", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenry-Hao%2Fauth-website'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efdd1638b9ee6fbe5873030cdc0e87f41e99754a [INFO] checking Henry-Hao/auth-website/efdd1638b9ee6fbe5873030cdc0e87f41e99754a against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenry-Hao%2Fauth-website" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Henry-Hao/auth-website 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 git repo https://github.com/Henry-Hao/auth-website [INFO] finished tweaking git repo https://github.com/Henry-Hao/auth-website [INFO] tweaked toml for git repo https://github.com/Henry-Hao/auth-website written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Henry-Hao/auth-website already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5495a9b64d888bab7be23440f914e6ab9e19e2ba6c771cf8fac94dcb53ce66e5 [INFO] running `Command { std: "docker" "start" "-a" "5495a9b64d888bab7be23440f914e6ab9e19e2ba6c771cf8fac94dcb53ce66e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5495a9b64d888bab7be23440f914e6ab9e19e2ba6c771cf8fac94dcb53ce66e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5495a9b64d888bab7be23440f914e6ab9e19e2ba6c771cf8fac94dcb53ce66e5", kill_on_drop: false }` [INFO] [stdout] 5495a9b64d888bab7be23440f914e6ab9e19e2ba6c771cf8fac94dcb53ce66e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 552c9e6e13e61c7b742a205de512f4b9e2b50998cd9c3743adbe77ba90734c7f [INFO] running `Command { std: "docker" "start" "-a" "552c9e6e13e61c7b742a205de512f4b9e2b50998cd9c3743adbe77ba90734c7f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking os_info v3.0.7 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking version_check v0.9.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking backoff v0.2.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.6 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking thiserror v1.0.28 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking futures-util v0.3.17 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.4.2 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking redis-async v0.6.6 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_with v1.9.4 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix v0.10.0 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking bson v1.2.3 [INFO] [stderr] Checking actix-http v2.2.1 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking mongodb v1.2.3 [INFO] [stderr] Checking actix-session v0.4.1 [INFO] [stderr] Checking actix-identity v0.3.1 [INFO] [stderr] Checking actix-redis v0.9.2 [INFO] [stderr] Checking auth-website v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Error` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Error, io}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest` and `route` [INFO] [stdout] --> src/handler.rs:2:52 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, http::header::LOCATION, post, route, web, HttpRequest, HttpResponse, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Error` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Error, io}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest` and `route` [INFO] [stdout] --> src/handler.rs:2:52 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, http::header::LOCATION, post, route, web, HttpRequest, HttpResponse, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/auth.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{FutureExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/auth.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{FutureExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RedisError` and `ParseError` are never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ErrorKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | RedisError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | ParseError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/error.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mongo_client = web::Data::new(mongo_client); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | / App::new() [INFO] [stdout] 35 | | .wrap(Logger::default()) [INFO] [stdout] 36 | | .wrap(login::LoginRequired) [INFO] [stdout] 37 | | .wrap( [INFO] [stdout] ... | [INFO] [stdout] 41 | | ) [INFO] [stdout] 42 | | .app_data(mongo_client.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] = 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/error.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 35 | let mut resp = HttpResponse::new(self.status_code()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut buf = actix_web::web::BytesMut::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | resp.set_body(actix_web::dev::Body::from(buf)) [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/login.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 29 | ok(LoginRequiredMiddleware { service }) [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 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `auth-website` (bin "auth-website") due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `RedisError` and `ParseError` are never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ErrorKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | RedisError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | ParseError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/error.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mongo_client = web::Data::new(mongo_client); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | / App::new() [INFO] [stdout] 35 | | .wrap(Logger::default()) [INFO] [stdout] 36 | | .wrap(login::LoginRequired) [INFO] [stdout] 37 | | .wrap( [INFO] [stdout] ... | [INFO] [stdout] 41 | | ) [INFO] [stdout] 42 | | .app_data(mongo_client.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] = 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/error.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 35 | let mut resp = HttpResponse::new(self.status_code()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut buf = actix_web::web::BytesMut::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | resp.set_body(actix_web::dev::Body::from(buf)) [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/login.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | 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] 29 | ok(LoginRequiredMiddleware { service }) [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 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `auth-website` (bin "auth-website" test) due to 4 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "552c9e6e13e61c7b742a205de512f4b9e2b50998cd9c3743adbe77ba90734c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552c9e6e13e61c7b742a205de512f4b9e2b50998cd9c3743adbe77ba90734c7f", kill_on_drop: false }` [INFO] [stdout] 552c9e6e13e61c7b742a205de512f4b9e2b50998cd9c3743adbe77ba90734c7f