[INFO] cloning repository https://github.com/KHTangent/cromptch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KHTangent/cromptch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKHTangent%2Fcromptch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKHTangent%2Fcromptch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3dd388b0883db27846e2c97d7e75fcf1da24ae4 [INFO] checking KHTangent/cromptch/d3dd388b0883db27846e2c97d7e75fcf1da24ae4 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%2FKHTangent%2Fcromptch" "/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/KHTangent/cromptch 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/KHTangent/cromptch [INFO] finished tweaking git repo https://github.com/KHTangent/cromptch [INFO] tweaked toml for git repo https://github.com/KHTangent/cromptch written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KHTangent/cromptch 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] 0b2092887ba77f54c0755e3b22e270ac1dd2b13ce25bec1a4d8636b852f4cda6 [INFO] running `Command { std: "docker" "start" "-a" "0b2092887ba77f54c0755e3b22e270ac1dd2b13ce25bec1a4d8636b852f4cda6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b2092887ba77f54c0755e3b22e270ac1dd2b13ce25bec1a4d8636b852f4cda6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b2092887ba77f54c0755e3b22e270ac1dd2b13ce25bec1a4d8636b852f4cda6", kill_on_drop: false }` [INFO] [stdout] 0b2092887ba77f54c0755e3b22e270ac1dd2b13ce25bec1a4d8636b852f4cda6 [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] 59f624d48cbcd787dcf5ef4da2b4b9b5b2cd1452da5a576a583a868ec4191221 [INFO] running `Command { std: "docker" "start" "-a" "59f624d48cbcd787dcf5ef4da2b4b9b5b2cd1452da5a576a583a868ec4191221", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking rust-argon2 v1.0.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking cromptch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `content_type`, `created_at`, `format`, `frames`, `height`, and `width` are never read [INFO] [stdout] --> src/external/image.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ImageUploadDetails { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 38 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 40 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | pub frames: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `details` is never read [INFO] [stdout] --> src/external/image.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ImageUploadFile { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 48 | pub delete_token: String, [INFO] [stdout] 49 | pub details: ImageUploadDetails, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delete_token` is never read [INFO] [stdout] --> src/models/image.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub id: Uuid, [INFO] [stdout] 9 | pub delete_token: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api/admin.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn admin_router(state: Arc) -> Router { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | / Router::new() [INFO] [stdout] 20 | | .route("/api/admin/users", get(get_users)) [INFO] [stdout] 21 | | .route("/api/admin/recipe/:id", delete(delete_recipe)) [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/api/image.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn image_router(state: Arc) -> Router { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / Router::new() [INFO] [stdout] 28 | | .route("/api/image/:id", get(get_image)) [INFO] [stdout] 29 | | .route("/api/image/thumbnail/:id", get(get_thumbnail)) [INFO] [stdout] 30 | | .route("/api/image", post(upload_image)) [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/api/recipe.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn recipe_router(state: Arc) -> Router { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | / Router::new() [INFO] [stdout] 25 | | .route("/api/recipe/create", post(create_recipe)) [INFO] [stdout] 26 | | .route("/api/recipe/:id", get(get_recipe)) [INFO] [stdout] 27 | | .route("/api/recipe/list", get(list_recipes)) [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/api/user.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn user_router(state: Arc) -> Router { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | / Router::new() [INFO] [stdout] 19 | | .route("/api/user/create", post(create_user)) [INFO] [stdout] 20 | | .route("/api/user/login", post(login_user)) [INFO] [stdout] 21 | | .route("/api/user/self", get(get_self)) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cromptch` (bin "cromptch") due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `content_type`, `created_at`, `format`, `frames`, `height`, and `width` are never read [INFO] [stdout] --> src/external/image.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ImageUploadDetails { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 38 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 40 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | pub frames: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `details` is never read [INFO] [stdout] --> src/external/image.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ImageUploadFile { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 48 | pub delete_token: String, [INFO] [stdout] 49 | pub details: ImageUploadDetails, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delete_token` is never read [INFO] [stdout] --> src/models/image.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub id: Uuid, [INFO] [stdout] 9 | pub delete_token: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api/admin.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn admin_router(state: Arc) -> Router { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | / Router::new() [INFO] [stdout] 20 | | .route("/api/admin/users", get(get_users)) [INFO] [stdout] 21 | | .route("/api/admin/recipe/:id", delete(delete_recipe)) [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/api/image.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn image_router(state: Arc) -> Router { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / Router::new() [INFO] [stdout] 28 | | .route("/api/image/:id", get(get_image)) [INFO] [stdout] 29 | | .route("/api/image/thumbnail/:id", get(get_thumbnail)) [INFO] [stdout] 30 | | .route("/api/image", post(upload_image)) [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/api/recipe.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn recipe_router(state: Arc) -> Router { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | / Router::new() [INFO] [stdout] 25 | | .route("/api/recipe/create", post(create_recipe)) [INFO] [stdout] 26 | | .route("/api/recipe/:id", get(get_recipe)) [INFO] [stdout] 27 | | .route("/api/recipe/list", get(list_recipes)) [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/api/user.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn user_router(state: Arc) -> Router { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | / Router::new() [INFO] [stdout] 19 | | .route("/api/user/create", post(create_user)) [INFO] [stdout] 20 | | .route("/api/user/login", post(login_user)) [INFO] [stdout] 21 | | .route("/api/user/self", get(get_self)) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cromptch` (bin "cromptch" test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "59f624d48cbcd787dcf5ef4da2b4b9b5b2cd1452da5a576a583a868ec4191221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f624d48cbcd787dcf5ef4da2b4b9b5b2cd1452da5a576a583a868ec4191221", kill_on_drop: false }` [INFO] [stdout] 59f624d48cbcd787dcf5ef4da2b4b9b5b2cd1452da5a576a583a868ec4191221