[INFO] fetching crate crustd 0.0.1... [INFO] checking crustd-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate crustd 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate crustd 0.0.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crustd 0.0.1 [INFO] finished tweaking crates.io crate crustd 0.0.1 [INFO] tweaked toml for crates.io crate crustd 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 198 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding event-listener v2.5.3 (latest: v5.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hashlink v0.8.4 (latest: v0.9.1) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding libsqlite3-sys v0.27.0 (latest: v0.30.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding matchit v0.7.3 (latest: v0.8.4) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.3) [INFO] [stderr] Adding sqlx v0.7.4 (latest: v0.8.1) [INFO] [stderr] Adding sqlx-core v0.7.4 (latest: v0.8.1) [INFO] [stderr] Adding sqlx-macros v0.7.4 (latest: v0.8.1) [INFO] [stderr] Adding sqlx-macros-core v0.7.4 (latest: v0.8.1) [INFO] [stderr] Adding sqlx-mysql v0.7.4 (latest: v0.8.1) [INFO] [stderr] Adding sqlx-postgres v0.7.4 (latest: v0.8.1) [INFO] [stderr] Adding sqlx-sqlite v0.7.4 (latest: v0.8.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7858651c662d5603574d26fef40f8be0ed08708f4b43f2020a6bd84480d7529a [INFO] running `Command { std: "docker" "start" "-a" "7858651c662d5603574d26fef40f8be0ed08708f4b43f2020a6bd84480d7529a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7858651c662d5603574d26fef40f8be0ed08708f4b43f2020a6bd84480d7529a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7858651c662d5603574d26fef40f8be0ed08708f4b43f2020a6bd84480d7529a", kill_on_drop: false }` [INFO] [stdout] 7858651c662d5603574d26fef40f8be0ed08708f4b43f2020a6bd84480d7529a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8407b52f10ad1a1bf0eff65e7935acaef010da0e542f87a2a06d22cf66234355 [INFO] running `Command { std: "docker" "start" "-a" "8407b52f10ad1a1bf0eff65e7935acaef010da0e542f87a2a06d22cf66234355", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking axum-core v0.4.3 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking axum v0.7.5 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking crustd v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/crud_traits.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 34 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Json(data): Json, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | ) -> Result, (StatusCode, String)> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 37 | | match data.validate() { [INFO] [stdout] 38 | | Ok(_) => {} [INFO] [stdout] 39 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [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/crud_traits.rs:49:100 [INFO] [stdout] | [INFO] [stdout] 49 | async fn index(State(pool): State) -> Result>, (StatusCode, String)> { [INFO] [stdout] | ____________________-----------_____________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | | match ::get_all(&pool).await { [INFO] [stdout] 51 | | Ok(users) => Ok(Json(users)), [INFO] [stdout] 52 | | Err(e) => Err((StatusCode::INTERNAL_SERVER_ERROR, e.to_string())), [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/crud_traits.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 58 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ) -> Result, (StatusCode, String)> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 60 | | match ::find(&pool, id).await { [INFO] [stdout] 61 | | Ok(user) => Ok(Json(user)), [INFO] [stdout] 62 | | Err(e) => Err((StatusCode::NOT_FOUND, e.to_string())), [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [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/crud_traits.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 67 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Path(id): Path, [INFO] [stdout] 69 | Json(data): Json, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | ) -> Result, (StatusCode, String)> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 71 | | match data.validate() { [INFO] [stdout] 72 | | Ok(_) => {} [INFO] [stdout] 73 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | } [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/crud_traits.rs:86:54 [INFO] [stdout] | [INFO] [stdout] 84 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | Json(data): Json, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | ) -> Result, (StatusCode, String)> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 87 | | match data.validate() { [INFO] [stdout] 88 | | Ok(_) => {} [INFO] [stdout] 89 | | Err(e) => return Err((StatusCode::BAD_REQUEST, e.to_string())), [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | } [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/crud_traits.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 99 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | ) -> Result<(), (StatusCode, String)> { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 101 | | match ::delete(&pool, id).await { [INFO] [stdout] 102 | | Ok(_) => Ok(()), [INFO] [stdout] 103 | | Err(e) => Err((StatusCode::INTERNAL_SERVER_ERROR, e.to_string())), [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [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/crud_traits.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | fn crud_router(pool: PgPool) -> Router { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | / Router::new() [INFO] [stdout] 114 | | .route( [INFO] [stdout] 115 | | "/", [INFO] [stdout] 116 | | get(::index).post(::store), [INFO] [stdout] ... | [INFO] [stdout] 122 | | .delete(::destroy), [INFO] [stdout] 123 | | ) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crustd` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/crud_traits.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 34 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Json(data): Json, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | ) -> Result, (StatusCode, String)> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 37 | | match data.validate() { [INFO] [stdout] 38 | | Ok(_) => {} [INFO] [stdout] 39 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [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/crud_traits.rs:49:100 [INFO] [stdout] | [INFO] [stdout] 49 | async fn index(State(pool): State) -> Result>, (StatusCode, String)> { [INFO] [stdout] | ____________________-----------_____________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | | match ::get_all(&pool).await { [INFO] [stdout] 51 | | Ok(users) => Ok(Json(users)), [INFO] [stdout] 52 | | Err(e) => Err((StatusCode::INTERNAL_SERVER_ERROR, e.to_string())), [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [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/crud_traits.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 58 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ) -> Result, (StatusCode, String)> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 60 | | match ::find(&pool, id).await { [INFO] [stdout] 61 | | Ok(user) => Ok(Json(user)), [INFO] [stdout] 62 | | Err(e) => Err((StatusCode::NOT_FOUND, e.to_string())), [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [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/crud_traits.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 67 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Path(id): Path, [INFO] [stdout] 69 | Json(data): Json, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | ) -> Result, (StatusCode, String)> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 71 | | match data.validate() { [INFO] [stdout] 72 | | Ok(_) => {} [INFO] [stdout] 73 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | } [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/crud_traits.rs:86:54 [INFO] [stdout] | [INFO] [stdout] 84 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | Json(data): Json, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | ) -> Result, (StatusCode, String)> { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 87 | | match data.validate() { [INFO] [stdout] 88 | | Ok(_) => {} [INFO] [stdout] 89 | | Err(e) => return Err((StatusCode::BAD_REQUEST, e.to_string())), [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | } [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/crud_traits.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 99 | State(pool): State, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | ) -> Result<(), (StatusCode, String)> { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 101 | | match ::delete(&pool, id).await { [INFO] [stdout] 102 | | Ok(_) => Ok(()), [INFO] [stdout] 103 | | Err(e) => Err((StatusCode::INTERNAL_SERVER_ERROR, e.to_string())), [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [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/crud_traits.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | fn crud_router(pool: PgPool) -> Router { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | / Router::new() [INFO] [stdout] 114 | | .route( [INFO] [stdout] 115 | | "/", [INFO] [stdout] 116 | | get(::index).post(::store), [INFO] [stdout] ... | [INFO] [stdout] 122 | | .delete(::destroy), [INFO] [stdout] 123 | | ) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crustd` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "8407b52f10ad1a1bf0eff65e7935acaef010da0e542f87a2a06d22cf66234355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8407b52f10ad1a1bf0eff65e7935acaef010da0e542f87a2a06d22cf66234355", kill_on_drop: false }` [INFO] [stdout] 8407b52f10ad1a1bf0eff65e7935acaef010da0e542f87a2a06d22cf66234355