[INFO] cloning repository https://github.com/MMADUs/Actix-sqlx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MMADUs/Actix-sqlx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMMADUs%2FActix-sqlx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMMADUs%2FActix-sqlx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fd0cbe72ee13622d9779aa718c4445d980a91cc [INFO] checking MMADUs/Actix-sqlx/6fd0cbe72ee13622d9779aa718c4445d980a91cc 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%2FMMADUs%2FActix-sqlx" "/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/MMADUs/Actix-sqlx 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/MMADUs/Actix-sqlx [INFO] finished tweaking git repo https://github.com/MMADUs/Actix-sqlx [INFO] tweaked toml for git repo https://github.com/MMADUs/Actix-sqlx written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MMADUs/Actix-sqlx 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] faaf25b20aca78a39c92dd38195afdb57bbef2deec5a1a6d65978716d467bd4a [INFO] running `Command { std: "docker" "start" "-a" "faaf25b20aca78a39c92dd38195afdb57bbef2deec5a1a6d65978716d467bd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faaf25b20aca78a39c92dd38195afdb57bbef2deec5a1a6d65978716d467bd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faaf25b20aca78a39c92dd38195afdb57bbef2deec5a1a6d65978716d467bd4a", kill_on_drop: false }` [INFO] [stdout] faaf25b20aca78a39c92dd38195afdb57bbef2deec5a1a6d65978716d467bd4a [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] 2ab29dc21c2cb80785cb20d3a29bcbcf34218745724b24a54691d1899c01f457 [INFO] running `Command { std: "docker" "start" "-a" "2ab29dc21c2cb80785cb20d3a29bcbcf34218745724b24a54691d1899c01f457", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling sea-orm-macros v1.0.0 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling sea-query-derive v0.4.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Compiling validator_derive v0.18.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ouroboros v0.17.2 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking sea-query v0.31.0 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking sea-schema v0.15.0 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking sea-orm-cli v1.0.0 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking sea-query-binder v0.6.0 [INFO] [stderr] Checking sea-orm v1.0.0 [INFO] [stderr] Checking sea-orm-migration v1.0.0 [INFO] [stderr] Checking migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stderr] Checking Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/internal/handler/post.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/internal/handler/post.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActiveModel as ProfileActiveModel` and `Model as ProfileModel` [INFO] [stdout] --> src/internal/handler/post.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::internal::entity::profile::{ActiveModel as ProfileActiveModel, Entity as ProfileEntity, Model as ProfileModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActiveModel as ProfileActiveModel` and `Model as ProfileModel` [INFO] [stdout] --> src/internal/handler/post.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::internal::entity::profile::{ActiveModel as ProfileActiveModel, Entity as ProfileEntity, Model as ProfileModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model as PostModel` [INFO] [stdout] --> src/internal/handler/post.rs:9:91 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::internal::entity::post::{ActiveModel as PostActiveModel, Entity as PostEntity, Model as PostModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/internal/handler/profile.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, Error, HttpRequest, HttpMessage}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model as ProfileModel` [INFO] [stdout] --> src/internal/handler/profile.rs:9:100 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::internal::entity::profile::{ActiveModel as ProfileActiveModel, Entity as ProfileEntity, Model as ProfileModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActiveModel as PostActiveModel` and `Model as PostModel` [INFO] [stdout] --> src/internal/handler/profile.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::internal::entity::post::{ActiveModel as PostActiveModel, Entity as PostEntity, Model as PostModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model as PostModel` [INFO] [stdout] --> src/internal/handler/post.rs:9:91 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::internal::entity::post::{ActiveModel as PostActiveModel, Entity as PostEntity, Model as PostModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post::Entity as Post` [INFO] [stdout] --> src/internal/entity/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::post::Entity as Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::profile::Entity as Profile` [INFO] [stdout] --> src/internal/entity/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::profile::Entity as Profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/internal/handler/profile.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, HttpResponse, Responder, Error, HttpRequest, HttpMessage}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model as ProfileModel` [INFO] [stdout] --> src/internal/handler/profile.rs:9:100 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::internal::entity::profile::{ActiveModel as ProfileActiveModel, Entity as ProfileEntity, Model as ProfileModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActiveModel as PostActiveModel` and `Model as PostModel` [INFO] [stdout] --> src/internal/handler/profile.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::internal::entity::post::{ActiveModel as PostActiveModel, Entity as PostEntity, Model as PostModel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::post::Entity as Post` [INFO] [stdout] --> src/internal/entity/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::post::Entity as Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::profile::Entity as Profile` [INFO] [stdout] --> src/internal/entity/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::profile::Entity as Profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/internal/middleware/log1.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/internal/middleware/log1.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/internal/middleware/log2.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/internal/middleware/log2.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | let db_conn = connect_to_db().await.expect("Failed to connect to database"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | / App::new() [INFO] [stdout] 14 | | .app_data(web::Data::new(db_conn.clone())) [INFO] [stdout] 15 | | .wrap(middleware::Logger::default()) [INFO] [stdout] 16 | | .wrap(middleware::Compress::default()) [INFO] [stdout] 17 | | .wrap(middleware::NormalizePath::new(middleware::TrailingSlash::Trim)) [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/internal/middleware/log1.rs:29:15 [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 | ready(Ok(Middleware1Service { [INFO] [stdout] | _______________^ [INFO] [stdout] 30 | | service, [INFO] [stdout] 31 | | value: self.value.clone(), [INFO] [stdout] 32 | | })) [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/internal/middleware/log1.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 53 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let fut = self.service.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 60 | | let res = fut.await?; [INFO] [stdout] 61 | | Ok(res) [INFO] [stdout] 62 | | }) [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/internal/middleware/log2.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 21 | ready(Ok(Middleware2Service { 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/internal/middleware/log2.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 41 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let fut = self.service.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | [INFO] [stdout] 53 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | let res = fut.await?; [INFO] [stdout] 55 | | Ok(res) [INFO] [stdout] 56 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | let db_conn = connect_to_db().await.expect("Failed to connect to database"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | / App::new() [INFO] [stdout] 14 | | .app_data(web::Data::new(db_conn.clone())) [INFO] [stdout] 15 | | .wrap(middleware::Logger::default()) [INFO] [stdout] 16 | | .wrap(middleware::Compress::default()) [INFO] [stdout] 17 | | .wrap(middleware::NormalizePath::new(middleware::TrailingSlash::Trim)) [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/internal/middleware/log1.rs:29:15 [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 | ready(Ok(Middleware1Service { [INFO] [stdout] | _______________^ [INFO] [stdout] 30 | | service, [INFO] [stdout] 31 | | value: self.value.clone(), [INFO] [stdout] 32 | | })) [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/internal/middleware/log1.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 53 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let fut = self.service.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 60 | | let res = fut.await?; [INFO] [stdout] 61 | | Ok(res) [INFO] [stdout] 62 | | }) [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/internal/middleware/log2.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 21 | ready(Ok(Middleware2Service { 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/internal/middleware/log2.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 41 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let fut = self.service.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | [INFO] [stdout] 53 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | let res = fut.await?; [INFO] [stdout] 55 | | Ok(res) [INFO] [stdout] 56 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust` (bin "Rust") due to 6 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Rust` (bin "Rust" test) due to 6 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ab29dc21c2cb80785cb20d3a29bcbcf34218745724b24a54691d1899c01f457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab29dc21c2cb80785cb20d3a29bcbcf34218745724b24a54691d1899c01f457", kill_on_drop: false }` [INFO] [stdout] 2ab29dc21c2cb80785cb20d3a29bcbcf34218745724b24a54691d1899c01f457