[INFO] cloning repository https://github.com/ArseniyK/url_shortener [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArseniyK/url_shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArseniyK%2Furl_shortener", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArseniyK%2Furl_shortener'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01cebd2f14ae2819dcaee68d9f90ef1686e3f603 [INFO] checking ArseniyK/url_shortener/01cebd2f14ae2819dcaee68d9f90ef1686e3f603 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%2FArseniyK%2Furl_shortener" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArseniyK/url_shortener 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/ArseniyK/url_shortener [INFO] finished tweaking git repo https://github.com/ArseniyK/url_shortener [INFO] tweaked toml for git repo https://github.com/ArseniyK/url_shortener written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ArseniyK/url_shortener 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b77e463e07c89b203162136a0420e682bb08fee42a944a67f58baafea0e69976 [INFO] running `Command { std: "docker" "start" "-a" "b77e463e07c89b203162136a0420e682bb08fee42a944a67f58baafea0e69976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b77e463e07c89b203162136a0420e682bb08fee42a944a67f58baafea0e69976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b77e463e07c89b203162136a0420e682bb08fee42a944a67f58baafea0e69976", kill_on_drop: false }` [INFO] [stdout] b77e463e07c89b203162136a0420e682bb08fee42a944a67f58baafea0e69976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] db4bc530d14acf5bf46a7f328c0283d89eb7c4d298be552c225290f28d6202d2 [INFO] running `Command { std: "docker" "start" "-a" "db4bc530d14acf5bf46a7f328c0283d89eb7c4d298be552c225290f28d6202d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking buf-min v0.4.0 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Compiling if_chain v1.0.1 [INFO] [stderr] Checking predicates-core v1.0.1 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Compiling validator_types v0.12.0 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling validator_derive v0.12.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking combine v4.5.2 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Compiling mockall_derive v0.8.3 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking predicates v1.0.6 [INFO] [stderr] Checking actix v0.10.0 [INFO] [stderr] Checking predicates-tree v1.0.1 [INFO] [stderr] Checking harsh v0.2.1 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.6 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking tera v1.6.1 [INFO] [stderr] Checking validator v0.12.0 [INFO] [stderr] Checking mockall v0.8.3 [INFO] [stderr] Checking redis v0.17.0 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking actix-cors v0.5.4 [INFO] [stderr] Checking actix-files v0.5.0 [INFO] [stderr] Checking actix-identity v0.3.1 [INFO] [stderr] Checking url_shortener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/urls/redis_url_repo.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | async fn generate(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/urls/redis_url_repo.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | conn.hset_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/urls/redis_url_repo.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | async fn generate(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/urls/redis_url_repo.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | conn.hset_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [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:40:9 [INFO] [stdout] | [INFO] [stdout] 30 | let redis_client = Arc::new(redis::configure().await); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let hashids = hashids::configure().await; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let template = Tera::new("templates/**/*").unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | / App::new() [INFO] [stdout] 41 | | .data(template.clone()) [INFO] [stdout] 42 | | .wrap(IdentityService::new( [INFO] [stdout] 43 | | CookieIdentityPolicy::new(&secret_key.as_bytes()) [INFO] [stdout] ... | [INFO] [stdout] 47 | | )) [INFO] [stdout] 48 | | .service(actix_files::Files::new("/static/", "static/").use_last_modified(true)) [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:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | .configure(|cfg| configure(redis_client.clone(), hashids.clone(), cfg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | .configure(|cfg| configure(redis_client.clone(), hashids.clone(), cfg)) [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/urls/api.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | .map_err(|e| error::ErrorBadRequest(serde_json::to_string(&e).unwrap()))?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `url_shortener` (bin "url_shortener") due to 5 previous errors; 1 warning emitted [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/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 30 | let redis_client = Arc::new(redis::configure().await); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let hashids = hashids::configure().await; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let template = Tera::new("templates/**/*").unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | / App::new() [INFO] [stdout] 41 | | .data(template.clone()) [INFO] [stdout] 42 | | .wrap(IdentityService::new( [INFO] [stdout] 43 | | CookieIdentityPolicy::new(&secret_key.as_bytes()) [INFO] [stdout] ... | [INFO] [stdout] 47 | | )) [INFO] [stdout] 48 | | .service(actix_files::Files::new("/static/", "static/").use_last_modified(true)) [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:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | .configure(|cfg| configure(redis_client.clone(), hashids.clone(), cfg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | .configure(|cfg| configure(redis_client.clone(), hashids.clone(), cfg)) [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/urls/api.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | .map_err(|e| error::ErrorBadRequest(serde_json::to_string(&e).unwrap()))?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/urls/url_service.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | .with(eq(id.clone())) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `url_shortener` (bin "url_shortener" test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "db4bc530d14acf5bf46a7f328c0283d89eb7c4d298be552c225290f28d6202d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db4bc530d14acf5bf46a7f328c0283d89eb7c4d298be552c225290f28d6202d2", kill_on_drop: false }` [INFO] [stdout] db4bc530d14acf5bf46a7f328c0283d89eb7c4d298be552c225290f28d6202d2