[INFO] cloning repository https://github.com/EmmaWedi/rust-ppay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EmmaWedi/rust-ppay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmmaWedi%2Frust-ppay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmmaWedi%2Frust-ppay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69178e1ea3e2a3df24a93d81370db106495a35b8 [INFO] checking EmmaWedi/rust-ppay/69178e1ea3e2a3df24a93d81370db106495a35b8 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%2FEmmaWedi%2Frust-ppay" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EmmaWedi/rust-ppay 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/EmmaWedi/rust-ppay [INFO] finished tweaking git repo https://github.com/EmmaWedi/rust-ppay [INFO] tweaked toml for git repo https://github.com/EmmaWedi/rust-ppay written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EmmaWedi/rust-ppay 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbeb7f24d326800f1b2864fb477c4d1a7e44f3723b71295b8e075b0691f6a3e1 [INFO] running `Command { std: "docker" "start" "-a" "dbeb7f24d326800f1b2864fb477c4d1a7e44f3723b71295b8e075b0691f6a3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbeb7f24d326800f1b2864fb477c4d1a7e44f3723b71295b8e075b0691f6a3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbeb7f24d326800f1b2864fb477c4d1a7e44f3723b71295b8e075b0691f6a3e1", kill_on_drop: false }` [INFO] [stdout] dbeb7f24d326800f1b2864fb477c4d1a7e44f3723b71295b8e075b0691f6a3e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 334d9f9e48a9500dfe67bb8beb950454f471939cdbe3a53f5fb3ce7bf9e9e0c2 [INFO] running `Command { std: "docker" "start" "-a" "334d9f9e48a9500dfe67bb8beb950454f471939cdbe3a53f5fb3ce7bf9e9e0c2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling cc v1.0.103 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking bson v2.11.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling mongodb-internal-macros v3.0.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking mongodb v3.0.0 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking redis v0.25.4 [INFO] [stderr] Checking peoplespay-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `not_none` is never used [INFO] [stdout] --> src/libs/validator.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn not_none(v: Option, name: &str) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IpInfo` is never constructed [INFO] [stdout] --> src/libs/ipinfo.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IpInfo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ip_info` is never used [INFO] [stdout] --> src/libs/ipinfo.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_ip_info(state: &web::Data, req: &HttpRequest, conn: &ConnectionInfo) -> IpInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_customers` is never used [INFO] [stdout] --> src/app/customers/dto/dto.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn get_all_customers(state: &web::Data) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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:69:9 [INFO] [stdout] | [INFO] [stdout] 49 | let state = web::Data::new(AppState { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let cors = Cors::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | / App::new() [INFO] [stdout] 70 | | .app_data(state.clone()) [INFO] [stdout] 71 | | .wrap( [INFO] [stdout] 72 | | ErrorHandlers::new() [INFO] [stdout] ... | [INFO] [stdout] 80 | | .wrap(cors) [INFO] [stdout] 81 | | .configure(|cfg| app::customers::routes::route::route(cfg, state.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/main.rs:81:72 [INFO] [stdout] | [INFO] [stdout] 81 | .configure(|cfg| app::customers::routes::route::route(cfg, state.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/libs/error.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | let err_json = json!({ "error_code": self.error_code, "error_msg": self.error_msg }); [INFO] [stdout] | -------- --------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | HttpResponse::build(StatusCode::from_u16(self.error_status).unwrap()).json(err_json) [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/libs/error.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn render_404(mut res: dev::ServiceResponse) -> Result> { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(ErrorHandlerResponse::Response(new_res)) [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/libs/error.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 58 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | EitherBody::left(BoxBody::new("{\"error_code\": 404, \"error_msg\": \"Not Found\", \"error_status\": 2002 }")) [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/libs/error.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn render_405(mut res: dev::ServiceResponse) -> Result> { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let new_res = res.map_body(|_, _| { [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(new_res)) [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/libs/error.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 70 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | EitherBody::left(BoxBody::new("{\"error_code\": 405, \"error_msg\": \"Method Not Allowed\"}")) [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/libs/error.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn render_500(mut res: dev::ServiceResponse) -> Result> { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(ErrorHandlerResponse::Response(new_res)) [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/libs/error.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 82 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | EitherBody::left(BoxBody::new("{\"error_code\": 500, \"error_msg\": \"Internal Server Error\"}")) [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/libs/error.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn render_400(mut res: dev::ServiceResponse) -> Result> { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(ErrorHandlerResponse::Response(new_res)) [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/libs/error.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 94 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | EitherBody::left(BoxBody::new("{\"error_code\": 400, \"error_msg\": \"Bad Request\"}")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middlewares/auth.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 31 | ok(JwtAuthMiddlewareInner { [INFO] [stdout] | ____________^ [INFO] [stdout] 32 | | service: Rc::new(service), [INFO] [stdout] 33 | | state: self.state.clone(), [INFO] [stdout] 34 | | }) [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/middlewares/auth.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 57 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let service = self.service.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let (http_request, payload) = req.into_parts(); [INFO] [stdout] | ------------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | [INFO] [stdout] 62 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 63 | | match verify_jwt(&http_request, &state).await { [INFO] [stdout] 64 | | Ok(claims) => { [INFO] [stdout] 65 | | let req = ServiceRequest::from_parts(http_request, payload); [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] 71 | | }) [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/middlewares/auth.rs:63:53 [INFO] [stdout] | [INFO] [stdout] 58 | let service = self.service.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let (http_request, payload) = req.into_parts(); [INFO] [stdout] | ------------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | match verify_jwt(&http_request, &state).await { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middlewares/check_user.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 31 | ok(CheckUserMiddlewareInner { [INFO] [stdout] | ____________^ [INFO] [stdout] 32 | | service: Rc::new(service), [INFO] [stdout] 33 | | state: self.state.clone(), [INFO] [stdout] 34 | | }) [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/middlewares/check_user.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 57 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let service = self.service.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | match get_customer(&state, user_id.as_str()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middlewares/test.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 31 | ready(Ok(SayHiMiddleware { 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/middlewares/test.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | 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] 55 | [INFO] [stdout] 56 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 57 | | let res = fut.await?; [INFO] [stdout] 58 | | [INFO] [stdout] 59 | | println!("Hi from response"); [INFO] [stdout] 60 | | Ok(res) [INFO] [stdout] 61 | | }) [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 18 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `peoplespay-rust` (bin "peoplespay-rust" test) due to 19 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `not_none` is never used [INFO] [stdout] --> src/libs/validator.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn not_none(v: Option, name: &str) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IpInfo` is never constructed [INFO] [stdout] --> src/libs/ipinfo.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IpInfo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ip_info` is never used [INFO] [stdout] --> src/libs/ipinfo.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_ip_info(state: &web::Data, req: &HttpRequest, conn: &ConnectionInfo) -> IpInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_customers` is never used [INFO] [stdout] --> src/app/customers/dto/dto.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn get_all_customers(state: &web::Data) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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:69:9 [INFO] [stdout] | [INFO] [stdout] 49 | let state = web::Data::new(AppState { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let cors = Cors::default() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | / App::new() [INFO] [stdout] 70 | | .app_data(state.clone()) [INFO] [stdout] 71 | | .wrap( [INFO] [stdout] 72 | | ErrorHandlers::new() [INFO] [stdout] ... | [INFO] [stdout] 80 | | .wrap(cors) [INFO] [stdout] 81 | | .configure(|cfg| app::customers::routes::route::route(cfg, state.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/main.rs:81:72 [INFO] [stdout] | [INFO] [stdout] 81 | .configure(|cfg| app::customers::routes::route::route(cfg, state.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/libs/error.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | let err_json = json!({ "error_code": self.error_code, "error_msg": self.error_msg }); [INFO] [stdout] | -------- --------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | HttpResponse::build(StatusCode::from_u16(self.error_status).unwrap()).json(err_json) [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/libs/error.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn render_404(mut res: dev::ServiceResponse) -> Result> { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(ErrorHandlerResponse::Response(new_res)) [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/libs/error.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 58 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | EitherBody::left(BoxBody::new("{\"error_code\": 404, \"error_msg\": \"Not Found\", \"error_status\": 2002 }")) [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/libs/error.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn render_405(mut res: dev::ServiceResponse) -> Result> { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let new_res = res.map_body(|_, _| { [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(new_res)) [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/libs/error.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 70 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | EitherBody::left(BoxBody::new("{\"error_code\": 405, \"error_msg\": \"Method Not Allowed\"}")) [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/libs/error.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn render_500(mut res: dev::ServiceResponse) -> Result> { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(ErrorHandlerResponse::Response(new_res)) [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/libs/error.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 82 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | EitherBody::left(BoxBody::new("{\"error_code\": 500, \"error_msg\": \"Internal Server Error\"}")) [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/libs/error.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn render_400(mut res: dev::ServiceResponse) -> Result> { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | Ok(ErrorHandlerResponse::Response(new_res)) [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/libs/error.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 94 | let new_res = res.map_body(|_, _| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | EitherBody::left(BoxBody::new("{\"error_code\": 400, \"error_msg\": \"Bad Request\"}")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middlewares/auth.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 31 | ok(JwtAuthMiddlewareInner { [INFO] [stdout] | ____________^ [INFO] [stdout] 32 | | service: Rc::new(service), [INFO] [stdout] 33 | | state: self.state.clone(), [INFO] [stdout] 34 | | }) [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/middlewares/auth.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 57 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let service = self.service.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let (http_request, payload) = req.into_parts(); [INFO] [stdout] | ------------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | [INFO] [stdout] 62 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 63 | | match verify_jwt(&http_request, &state).await { [INFO] [stdout] 64 | | Ok(claims) => { [INFO] [stdout] 65 | | let req = ServiceRequest::from_parts(http_request, payload); [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] 71 | | }) [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/middlewares/auth.rs:63:53 [INFO] [stdout] | [INFO] [stdout] 58 | let service = self.service.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let (http_request, payload) = req.into_parts(); [INFO] [stdout] | ------------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | match verify_jwt(&http_request, &state).await { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middlewares/check_user.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 31 | ok(CheckUserMiddlewareInner { [INFO] [stdout] | ____________^ [INFO] [stdout] 32 | | service: Rc::new(service), [INFO] [stdout] 33 | | state: self.state.clone(), [INFO] [stdout] 34 | | }) [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/middlewares/check_user.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 57 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let service = self.service.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let state = self.state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | match get_customer(&state, user_id.as_str()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/middlewares/test.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 31 | ready(Ok(SayHiMiddleware { 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/middlewares/test.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | 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] 55 | [INFO] [stdout] 56 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 57 | | let res = fut.await?; [INFO] [stdout] 58 | | [INFO] [stdout] 59 | | println!("Hi from response"); [INFO] [stdout] 60 | | Ok(res) [INFO] [stdout] 61 | | }) [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 18 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `peoplespay-rust` (bin "peoplespay-rust") due to 19 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "334d9f9e48a9500dfe67bb8beb950454f471939cdbe3a53f5fb3ce7bf9e9e0c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334d9f9e48a9500dfe67bb8beb950454f471939cdbe3a53f5fb3ce7bf9e9e0c2", kill_on_drop: false }` [INFO] [stdout] 334d9f9e48a9500dfe67bb8beb950454f471939cdbe3a53f5fb3ce7bf9e9e0c2