[INFO] cloning repository https://github.com/LigeronAhill/url-shortener-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LigeronAhill/url-shortener-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLigeronAhill%2Furl-shortener-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLigeronAhill%2Furl-shortener-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcbc1972d79c9bfe23758f146d76427cf93d97e4 [INFO] checking LigeronAhill/url-shortener-rs/fcbc1972d79c9bfe23758f146d76427cf93d97e4 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%2FLigeronAhill%2Furl-shortener-rs" "/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/LigeronAhill/url-shortener-rs 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/LigeronAhill/url-shortener-rs [INFO] finished tweaking git repo https://github.com/LigeronAhill/url-shortener-rs [INFO] tweaked toml for git repo https://github.com/LigeronAhill/url-shortener-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LigeronAhill/url-shortener-rs 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] 69278de99fdedd8e8afde50e8fbab2a1f9b1afdcd06bc7a49139b98333aa7440 [INFO] running `Command { std: "docker" "start" "-a" "69278de99fdedd8e8afde50e8fbab2a1f9b1afdcd06bc7a49139b98333aa7440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69278de99fdedd8e8afde50e8fbab2a1f9b1afdcd06bc7a49139b98333aa7440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69278de99fdedd8e8afde50e8fbab2a1f9b1afdcd06bc7a49139b98333aa7440", kill_on_drop: false }` [INFO] [stdout] 69278de99fdedd8e8afde50e8fbab2a1f9b1afdcd06bc7a49139b98333aa7440 [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] e3d60e70f49abe2969b8bc6c24be7927ca9cc903c7d65ce815fec5793f2f40d7 [INFO] running `Command { std: "docker" "start" "-a" "e3d60e70f49abe2969b8bc6c24be7927ca9cc903c7d65ce815fec5793f2f40d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling pest v2.7.9 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling pest_meta v2.7.9 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Compiling pest_generator v2.7.9 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking brotli-decompressor v3.0.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking brotli v4.0.0 [INFO] [stderr] Compiling pest_derive v2.7.9 [INFO] [stderr] Checking hyper v1.3.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking axum-core v0.4.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking reqwest v0.12.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking async-compression v0.4.8 [INFO] [stderr] Checking axum-auth v0.7.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [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 url-shortener-rs v0.1.0 (/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/config.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | let settings = Config::builder() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | / settings [INFO] [stdout] 49 | | .try_deserialize::() [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn from(err: E) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Self::Custom(err.into()) [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/server/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn app(config: &Configuration, storage: impl Repository + 'static) -> Router { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let state = AppState::new(storage, config); [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 | | .nest("/", redirect_routes(state.clone())) [INFO] [stdout] 21 | | .nest("/url", url_routes(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/server/mod.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(storage: impl Repository + 'static, config: &Configuration) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | storage: Arc::new(storage), [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/server/handlers/redirect.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn redirect_routes(state: AppState) -> Router { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | / Router::new() [INFO] [stdout] 10 | | .route("/:alias", get(redirect_url)) [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/server/handlers/url.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn url_routes(state: AppState) -> Router { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | / Router::new() [INFO] [stdout] 16 | | .route("/", post(save_url)) [INFO] [stdout] 17 | | .route_layer(middleware::from_fn_with_state(state.clone(), check_auth)) [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/server/handlers/url.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 92 | let listener = TcpListener::bind("0.0.0.0:0").await?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let address = listener.local_addr()?; [INFO] [stdout] 94 | tokio::spawn(async move { crate::test_run(listener).await.unwrap() }); [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 `url-shortener-rs` (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/config.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | let settings = Config::builder() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | / settings [INFO] [stdout] 49 | | .try_deserialize::() [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn from(err: E) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Self::Custom(err.into()) [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/server/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn app(config: &Configuration, storage: impl Repository + 'static) -> Router { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let state = AppState::new(storage, config); [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 | | .nest("/", redirect_routes(state.clone())) [INFO] [stdout] 21 | | .nest("/url", url_routes(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/server/mod.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(storage: impl Repository + 'static, config: &Configuration) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | storage: Arc::new(storage), [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/server/handlers/redirect.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn redirect_routes(state: AppState) -> Router { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | / Router::new() [INFO] [stdout] 10 | | .route("/:alias", get(redirect_url)) [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/server/handlers/url.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn url_routes(state: AppState) -> Router { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | / Router::new() [INFO] [stdout] 16 | | .route("/", post(save_url)) [INFO] [stdout] 17 | | .route_layer(middleware::from_fn_with_state(state.clone(), check_auth)) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `url-shortener-rs` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "e3d60e70f49abe2969b8bc6c24be7927ca9cc903c7d65ce815fec5793f2f40d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d60e70f49abe2969b8bc6c24be7927ca9cc903c7d65ce815fec5793f2f40d7", kill_on_drop: false }` [INFO] [stdout] e3d60e70f49abe2969b8bc6c24be7927ca9cc903c7d65ce815fec5793f2f40d7