[INFO] fetching crate pict-rs 0.5.17-pre.5... [INFO] checking pict-rs-0.5.17-pre.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pict-rs 0.5.17-pre.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate pict-rs 0.5.17-pre.5 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate pict-rs 0.5.17-pre.5 [INFO] finished tweaking crates.io crate pict-rs 0.5.17-pre.5 [INFO] tweaked toml for crates.io crate pict-rs 0.5.17-pre.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate pict-rs 0.5.17-pre.5 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 247cd746836737ebac225a80f10151e2173b44ecba68736479f2650c20f8ef2e [INFO] running `Command { std: "docker" "start" "-a" "247cd746836737ebac225a80f10151e2173b44ecba68736479f2650c20f8ef2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "247cd746836737ebac225a80f10151e2173b44ecba68736479f2650c20f8ef2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247cd746836737ebac225a80f10151e2173b44ecba68736479f2650c20f8ef2e", kill_on_drop: false }` [INFO] [stdout] 247cd746836737ebac225a80f10151e2173b44ecba68736479f2650c20f8ef2e [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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd3a48074001fce8d8c8b75b66c5b61754240812fdd301876cae62ce7d8caa0f [INFO] running `Command { std: "docker" "start" "-a" "fd3a48074001fce8d8c8b75b66c5b61754240812fdd301876cae62ce7d8caa0f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rustls-native-certs v0.7.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking ordered-float v4.2.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking winnow v0.6.14 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Checking opentelemetry v0.23.0 [INFO] [stderr] Checking flagset v0.4.6 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking opentelemetry_sdk v0.23.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking raw-cpuid v11.1.0 [INFO] [stderr] Checking toml_edit v0.22.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking toml v0.8.15 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling refinery-core v0.8.14 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking quanta v0.12.3 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking postgres v0.19.7 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking metrics v0.23.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking sketches-ddsketch v0.2.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking metrics-util v0.17.0 [INFO] [stderr] Checking reqwest-middleware v0.3.2 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking actix-multipart v0.7.2 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking diesel v2.1.6 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Compiling refinery-macros v0.8.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking tracing-opentelemetry v0.24.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking bb8 v0.8.5 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking scoped-futures v0.1.3 [INFO] [stderr] Checking streem v0.2.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking mutually_exclusive_features v0.0.3 [INFO] [stderr] Checking rustls-channel-resolver v0.3.0 [INFO] [stderr] Checking tracing-actix-web v0.7.11 [INFO] [stderr] Checking actix-form-data v0.7.0-beta.8 [INFO] [stderr] Checking reqwest-tracing v0.5.2 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking object_store v0.10.1 [INFO] [stderr] Checking tokio-postgres-generic-rustls v0.1.0 [INFO] [stderr] Checking refinery v0.8.14 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking metrics-exporter-prometheus v0.15.3 [INFO] [stderr] Checking serde-tuple-vec-map v1.0.1 [INFO] [stderr] Compiling diesel-derive-enum v2.1.0 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking blurhash-update v0.1.0 [INFO] [stderr] Checking barrel v0.7.0 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking opentelemetry-proto v0.6.0 [INFO] [stderr] Checking console-api v0.7.0 [INFO] [stderr] Checking opentelemetry-otlp v0.16.0 [INFO] [stderr] Checking console-subscriber v0.3.0 [INFO] [stderr] Checking diesel-async v0.4.1 [INFO] [stderr] Checking pict-rs v0.5.17-pre.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pict_rs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/processor.rs [INFO] [stderr] * src/repo/sled.rs [INFO] [stderr] * src/repo_04/sled.rs [INFO] [stderr] * src/sync.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/repo/sled.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | ($self:ident.$ident:ident, $expr:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/repo_04/sled.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | ($self:ident.$ident:ident, $expr:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/processor.rs:104:10 [INFO] [stderr] | [INFO] [stderr] 104 | ($inner:expr_2021, $x:ident, $k:expr_2021, $v:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/processor.rs:104:38 [INFO] [stderr] | [INFO] [stderr] 104 | ($inner:expr_2021, $x:ident, $k:expr_2021, $v:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/processor.rs:104:52 [INFO] [stderr] | [INFO] [stderr] 104 | ($inner:expr_2021, $x:ident, $k:expr_2021, $v:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:83:11 [INFO] [stderr] | [INFO] [stderr] 83 | #[cfg(tokio_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:86:15 [INFO] [stderr] | [INFO] [stderr] 86 | #[cfg(not(tokio_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:101:11 [INFO] [stderr] | [INFO] [stderr] 101 | #[cfg(tokio_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:106:15 [INFO] [stderr] | [INFO] [stderr] 106 | #[cfg(not(tokio_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:124:11 [INFO] [stderr] | [INFO] [stderr] 124 | #[cfg(tokio_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:129:15 [INFO] [stderr] | [INFO] [stderr] 129 | #[cfg(not(tokio_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:142:15 [INFO] [stderr] | [INFO] [stderr] 142 | #[cfg(not(tokio_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:150:11 [INFO] [stderr] | [INFO] [stderr] 150 | #[cfg(tokio_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:155:15 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg(not(tokio_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/repo.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) fn gen() -> Self { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/repo/sled.rs:670:25 [INFO] [stdout] | [INFO] [stdout] 670 | let id = JobId::gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/processor.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr, $v:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr_2021, $x:ident, $k:expr, $v:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/processor.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr, $v:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr_2021, $v:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/processor.rs:104:45 [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr, $v:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr, $v:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/repo/sled.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | ($self:ident.$ident:ident, $expr:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | ($self:ident.$ident:ident, $expr:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/repo_04/sled.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | ($self:ident.$ident:ident, $expr:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | ($self:ident.$ident:ident, $expr:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | if let Some(alias) = image.result.alias() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 345 ~ match image.result.alias() { Some(alias) => { [INFO] [stdout] 346 | tracing::debug!("Uploaded {} as {:?}", image.filename, alias); [INFO] [stdout] ... [INFO] [stdout] 355 | })); [INFO] [stdout] 356 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:703:26 [INFO] [stdout] | [INFO] [stdout] 703 | let details = if let Some(identifier) = identifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 703 ~ let details = match identifier { Some(identifier) => { [INFO] [stdout] 704 | state [INFO] [stdout] ... [INFO] [stdout] 708 | .map(|d| d.into_api_details()) [INFO] [stdout] 709 ~ } _ => { [INFO] [stdout] 710 | None [INFO] [stdout] 711 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:867:8 [INFO] [stdout] | [INFO] [stdout] 867 | if let Some(identifier) = identifier_opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:890:5 [INFO] [stdout] | [INFO] [stdout] 890 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 867 ~ match identifier_opt { Some(identifier) => { [INFO] [stdout] 868 | if !exists(&state.store, &identifier).await? { [INFO] [stdout] ... [INFO] [stdout] 889 | } [INFO] [stdout] 890 ~ } _ => { [INFO] [stdout] 891 | Ok(None) [INFO] [stdout] 892 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:870:20 [INFO] [stdout] | [INFO] [stdout] 870 | if let Some(original_identifier) = state.repo.identifier(hash.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:872:17 [INFO] [stdout] | [INFO] [stdout] 872 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 870 ~ match state.repo.identifier(hash.clone()).await? { Some(original_identifier) => { [INFO] [stdout] 871 | exists(&state.store, &original_identifier).await? [INFO] [stdout] 872 ~ } _ => { [INFO] [stdout] 873 | true [INFO] [stdout] 874 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:907:39 [INFO] [stdout] | [INFO] [stdout] 907 | let (hash, alias, not_found) = if let Some(hash) = state.repo.hash(&alias).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:909:5 [INFO] [stdout] | [INFO] [stdout] 909 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 907 ~ let (hash, alias, not_found) = match state.repo.hash(&alias).await? { Some(hash) => { [INFO] [stdout] 908 | (hash, alias, false) [INFO] [stdout] 909 ~ } _ => { [INFO] [stdout] 910 | let Some((alias, hash)) = not_found_hash(&state.repo).await? else { [INFO] [stdout] ... [INFO] [stdout] 914 | (hash, alias, true) [INFO] [stdout] 915 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:926:36 [INFO] [stdout] | [INFO] [stdout] 926 | let (details, identifier) = if let Some(identifier) = identifier_opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 926 ~ let (details, identifier) = match identifier_opt { Some(identifier) => { [INFO] [stdout] 927 | let details = ensure_details_identifier(&state, &identifier).await?; [INFO] [stdout] 928 | [INFO] [stdout] 929 | (details, identifier) [INFO] [stdout] 930 ~ } _ => { [INFO] [stdout] 931 | if state.config.server.read_only { [INFO] [stdout] ... [INFO] [stdout] 962 | } [INFO] [stdout] 963 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1120:39 [INFO] [stdout] | [INFO] [stdout] 1120 | let (hash, alias, not_found) = if let Some(hash) = state.repo.hash(&alias).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1122:5 [INFO] [stdout] | [INFO] [stdout] 1122 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1120 ~ let (hash, alias, not_found) = match state.repo.hash(&alias).await? { Some(hash) => { [INFO] [stdout] 1121 | (hash, alias, false) [INFO] [stdout] 1122 ~ } _ => { [INFO] [stdout] 1123 | let Some((alias, hash)) = not_found_hash(&state.repo).await? else { [INFO] [stdout] ... [INFO] [stdout] 1127 | (hash, alias, true) [INFO] [stdout] 1128 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1292:15 [INFO] [stdout] | [INFO] [stdout] 1292 | while let Some(res) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1297:9 [INFO] [stdout] | [INFO] [stdout] 1297 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1333:28 [INFO] [stdout] | [INFO] [stdout] 1333 | let alias = if let Some(alias) = state.repo.related(proxy.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1335 | } else if !state.config.server.read_only { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1333 ~ let alias = match state.repo.related(proxy.clone()).await? { Some(alias) => { [INFO] [stdout] 1334 | alias [INFO] [stdout] 1335 ~ } _ => if !state.config.server.read_only { [INFO] [stdout] 1336 | let stream = download_stream(proxy.as_str(), state).await?; [INFO] [stdout] ... [INFO] [stdout] 1361 | return Err(UploadError::ReadOnly.into()); [INFO] [stdout] 1362 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1339:20 [INFO] [stdout] | [INFO] [stdout] 1339 | if let Some(alias) = state.repo.related(proxy.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1341:17 [INFO] [stdout] | [INFO] [stdout] 1341 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1339 ~ match state.repo.related(proxy.clone()).await? { Some(alias) => { [INFO] [stdout] 1340 | alias [INFO] [stdout] 1341 ~ } _ => { [INFO] [stdout] 1342 | let (alias, token, _) = [INFO] [stdout] ... [INFO] [stdout] 1358 | } [INFO] [stdout] 1359 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1346:24 [INFO] [stdout] | [INFO] [stdout] 1346 | if let Err(ProxyAlreadyExists) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 1347 | | state.repo.relate_url(proxy.clone(), alias.clone()).await? [INFO] [stdout] | |_________________________---------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1356:21 [INFO] [stdout] | [INFO] [stdout] 1356 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1346 ~ match state.repo.relate_url(proxy.clone(), alias.clone()).await? [INFO] [stdout] 1347 ~ { Err(ProxyAlreadyExists) => { [INFO] [stdout] 1348 | queue::cleanup_alias(&state.repo, alias, token).await?; [INFO] [stdout] ... [INFO] [stdout] 1354 | .ok_or(UploadError::MissingAlias)? [INFO] [stdout] 1355 ~ } _ => { [INFO] [stdout] 1356 | alias [INFO] [stdout] 1357 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1385:23 [INFO] [stdout] | [INFO] [stdout] 1385 | let blurhash = if let Some(blurhash) = state.repo.blurhash(hash.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1387:5 [INFO] [stdout] | [INFO] [stdout] 1387 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1385 ~ let blurhash = match state.repo.blurhash(hash.clone()).await? { Some(blurhash) => { [INFO] [stdout] 1386 | blurhash [INFO] [stdout] 1387 ~ } _ => { [INFO] [stdout] 1388 | let details = ensure_details(&state, &alias).await?; [INFO] [stdout] ... [INFO] [stdout] 1393 | blurhash [INFO] [stdout] 1394 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1425:23 [INFO] [stdout] | [INFO] [stdout] 1425 | let progress = if let Some(progress) = state.repo.get("prune-missing-queued").await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1431:5 [INFO] [stdout] | [INFO] [stdout] 1431 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1425 ~ let progress = match state.repo.get("prune-missing-queued").await? { Some(progress) => { [INFO] [stdout] 1426 | progress [INFO] [stdout] ... [INFO] [stdout] 1430 | .unwrap_or(0) [INFO] [stdout] 1431 ~ } _ => { [INFO] [stdout] 1432 | 0 [INFO] [stdout] 1433 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1570:8 [INFO] [stdout] | [INFO] [stdout] 1570 | if let Some(token) = state.repo.delete_token(&alias).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1572:5 [INFO] [stdout] | [INFO] [stdout] 1572 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1570 ~ match state.repo.delete_token(&alias).await? { Some(token) => { [INFO] [stdout] 1571 | queue::cleanup_alias(&state.repo, alias, token).await?; [INFO] [stdout] 1572 ~ } _ => { [INFO] [stdout] 1573 | return Ok(HttpResponse::NotFound().finish()); [INFO] [stdout] 1574 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1766:16 [INFO] [stdout] | [INFO] [stdout] 1766 | if let Err(e) = queue::cleanup_outdated_proxies(&state.repo).await { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1771:13 [INFO] [stdout] | [INFO] [stdout] 1771 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1766 ~ match queue::cleanup_outdated_proxies(&state.repo).await { Err(e) => { [INFO] [stdout] 1767 | tracing::warn!( [INFO] [stdout] ... [INFO] [stdout] 1770 | ); [INFO] [stdout] 1771 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2161:24 [INFO] [stdout] | [INFO] [stdout] 2161 | if let Some(path) = config.old_repo_path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2168:21 [INFO] [stdout] | [INFO] [stdout] 2168 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2161 ~ match config.old_repo_path() { Some(path) => { [INFO] [stdout] 2162 | if let Some(old_repo) = repo_04::open(path)? { [INFO] [stdout] ... [INFO] [stdout] 2167 | } [INFO] [stdout] 2168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2162:28 [INFO] [stdout] | [INFO] [stdout] 2162 | if let Some(old_repo) = repo_04::open(path)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2167:25 [INFO] [stdout] | [INFO] [stdout] 2167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2162 ~ match repo_04::open(path)? { Some(old_repo) => { [INFO] [stdout] 2163 | repo::migrate_04(old_repo, state.clone()).await?; [INFO] [stdout] ... [INFO] [stdout] 2166 | .await?; [INFO] [stdout] 2167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2195:24 [INFO] [stdout] | [INFO] [stdout] 2195 | if let Some(path) = config.old_repo_path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2202:21 [INFO] [stdout] | [INFO] [stdout] 2202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2195 ~ match config.old_repo_path() { Some(path) => { [INFO] [stdout] 2196 | if let Some(old_repo) = repo_04::open(path)? { [INFO] [stdout] ... [INFO] [stdout] 2201 | } [INFO] [stdout] 2202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2196:28 [INFO] [stdout] | [INFO] [stdout] 2196 | if let Some(old_repo) = repo_04::open(path)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2201:25 [INFO] [stdout] | [INFO] [stdout] 2201 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2196 ~ match repo_04::open(path)? { Some(old_repo) => { [INFO] [stdout] 2197 | repo::migrate_04(old_repo, state.clone()).await?; [INFO] [stdout] ... [INFO] [stdout] 2200 | .await?; [INFO] [stdout] 2201 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bytes_stream.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(bytes) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/bytes_stream.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/file.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | while let Some(mut bytes) = stream.try_next().with_poll_timer("try-next").await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/file.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/generate.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | if let Err(e) = repo.variant_heartbeat(hash.clone(), variant.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/generate.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 168 ~ match repo.variant_heartbeat(hash.clone(), variant.clone()).await { Err(e) => { [INFO] [stdout] 169 | break Error::from(e); [INFO] [stdout] 170 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/generate.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let identifier = if let Err(VariantAlreadyExists) = state [INFO] [stdout] | _________________________^ - [INFO] [stdout] | |_________________________________________________________| [INFO] [stdout] 241 | || .repo [INFO] [stdout] 242 | || .relate_variant_identifier(hash.clone(), variant.clone(), &identifier) [INFO] [stdout] 243 | || .await? [INFO] [stdout] | ||_______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/generate.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ let identifier = match state [INFO] [stdout] 241 | .repo [INFO] [stdout] 242 | .relate_variant_identifier(hash.clone(), variant.clone(), &identifier) [INFO] [stdout] 243 | .await? [INFO] [stdout] 244 ~ { Err(VariantAlreadyExists) => { [INFO] [stdout] 245 | state.store.remove(&identifier).await?; [INFO] [stdout] ... [INFO] [stdout] 250 | .ok_or(UploadError::MissingIdentifier)? [INFO] [stdout] 251 ~ } _ => { [INFO] [stdout] 252 | state.repo.relate_details(&identifier, &details).await?; [INFO] [stdout] 253 | identifier [INFO] [stdout] 254 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ingest.rs:351:16 [INFO] [stdout] | [INFO] [stdout] 351 | if let Some(identifier) = self.identifier.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ingest.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 351 ~ match self.identifier.take() { Some(identifier) => { [INFO] [stdout] 352 | let repo = self.repo.clone(); [INFO] [stdout] ... [INFO] [stdout] 362 | ); [INFO] [stdout] 363 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | while let Some(payload) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(handle) = self.0.take().and_then(Rc::into_inner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ match self.0.take().and_then(Rc::into_inner) { Some(handle) => { [INFO] [stdout] 130 | handle.abort(); [INFO] [stdout] 131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(payload) = self.inner.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match self.inner.take() { Some(payload) => { [INFO] [stdout] 138 | tracing::debug!("Dropped unclosed payload, draining"); [INFO] [stdout] ... [INFO] [stdout] 142 | } [INFO] [stdout] 143 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(inner) = self.inner.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 154 ~ match self.inner.as_mut() { Some(inner) => { [INFO] [stdout] 155 | let opt = std::task::ready!(std::pin::Pin::new(inner).poll_next(cx)); [INFO] [stdout] ... [INFO] [stdout] 161 | std::task::Poll::Ready(opt) [INFO] [stdout] 162 ~ } _ => { [INFO] [stdout] 163 | std::task::Poll::Ready(None) [INFO] [stdout] 164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(inner) = self.inner.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 168 ~ match self.inner.as_ref() { Some(inner) => { [INFO] [stdout] 169 | inner.size_hint() [INFO] [stdout] 170 ~ } _ => { [INFO] [stdout] 171 | (0, Some(0)) [INFO] [stdout] 172 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | while let Err(e) = [INFO] [stdout] | ___________^ [INFO] [stdout] 46 | | do_migrate_store(from.clone(), to.clone(), skip_missing_files, concurrency).await [INFO] [stdout] | |_________--------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | while let Some(hash) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(res) = joinset.join_next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 124 ~ match joinset.join_next().await { Some(res) => { [INFO] [stdout] 125 | res.map_err(|_| UploadError::Canceled)??; [INFO] [stdout] 126 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(res) = joinset.join_next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/process.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | while let Some(mut bytes) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/process.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue.rs:445:20 [INFO] [stdout] | [INFO] [stdout] 445 | if let Some(Err(e)) = opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ match opt { Some(Err(e)) => { [INFO] [stdout] 446 | tracing::warn!("Failed heartbeat\n{}", format!("{e:?}")); [INFO] [stdout] 447 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(token) = repo.delete_token(&alias).await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match repo.delete_token(&alias).await.retry()? { Some(token) => { [INFO] [stdout] 118 | super::cleanup_alias(repo, alias, token).await.retry()?; [INFO] [stdout] 119 ~ } _ => { [INFO] [stdout] 120 | tracing::warn!("Not cleaning alias!"); [INFO] [stdout] 121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | while let Some(res) = hash_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | while let Some((hash, variant)) = variant_stream.try_next().await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 237 | while let Some(alias) = alias_stream.try_next().await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(token) = repo.delete_token(&alias).await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match repo.delete_token(&alias).await.retry()? { Some(token) => { [INFO] [stdout] 242 | super::cleanup_alias(repo, alias, token).await.retry()?; [INFO] [stdout] 243 | count += 1; [INFO] [stdout] 244 ~ } _ => { [INFO] [stdout] 245 | tracing::warn!("Skipping alias cleanup - no delete token"); [INFO] [stdout] 246 | repo.remove_relation(alias.clone()).await.retry()?; [INFO] [stdout] 247 | repo.remove_alias_access(alias).await.retry()?; [INFO] [stdout] 248 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:304:11 [INFO] [stdout] | [INFO] [stdout] 304 | while let Some(hash) = hash_stream.try_next().await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures_core::Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/repo.rs:587:47 [INFO] [stdout] | [INFO] [stdout] 587 | pub(crate) fn hashes(self: &Arc) -> impl Stream> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/repo.rs:587:32 [INFO] [stdout] | [INFO] [stdout] 587 | pub(crate) fn hashes(self: &Arc) -> impl Stream> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 587 | pub(crate) fn hashes(self: &Arc) -> impl Stream> + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo.rs:621:24 [INFO] [stdout] | [INFO] [stdout] 621 | let bound = if let Some(hash) = hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 621 ~ let bound = match hash { Some(hash) => { [INFO] [stdout] 622 | self.bound(hash).await? [INFO] [stdout] 623 ~ } _ => { [INFO] [stdout] 624 | None [INFO] [stdout] 625 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | while let Some(res) = hash_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if let Ok(hash) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 47 ~ match res { Ok(hash) => { [INFO] [stdout] 48 | migrate_hash(old_repo.clone(), new_repo.clone(), hash).await; [INFO] [stdout] 49 ~ } _ => { [INFO] [stdout] 50 | tracing::warn!("Failed to read hash, skipping"); [INFO] [stdout] 51 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | while let Some(res) = hash_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | if let Ok(hash) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 111 ~ match res { Ok(hash) => { [INFO] [stdout] 112 | set.spawn_local(migrate_hash_04( [INFO] [stdout] ... [INFO] [stdout] 116 | )); [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | tracing::warn!("Failed to read hash, skipping"); [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | while let Err(e) = do_migrate_hash(&old_repo, &new_repo, hash.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 191 | while let Err(e) = timed_migrate_hash_04(&old_repo, &state, old_hash.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | if let Some(details) = old_repo.details(&identifier).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 218 ~ match old_repo.details(&identifier).await? { Some(details) => { [INFO] [stdout] 219 | let _ = new_repo [INFO] [stdout] ... [INFO] [stdout] 223 | new_repo.relate_details(&identifier, &details).await?; [INFO] [stdout] 224 ~ } _ => { [INFO] [stdout] 225 | let _ = new_repo.create_hash(hash.clone(), &identifier).await?; [INFO] [stdout] 226 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(details) = old_repo.details(&identifier).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match old_repo.details(&identifier).await? { Some(details) => { [INFO] [stdout] 234 | new_repo.relate_details(&identifier, &details).await?; [INFO] [stdout] 235 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | if let Some(timestamp) = old_repo.alias_accessed_at(alias.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 247 ~ match old_repo.alias_accessed_at(alias.clone()).await? { Some(timestamp) => { [INFO] [stdout] 248 | new_repo.set_accessed_alias(alias, timestamp).await?; [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | if let Some(timestamp) = new_repo [INFO] [stdout] | ____________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 258 | || .variant_accessed_at(hash.clone(), variant.clone()) [INFO] [stdout] 259 | || .await? [INFO] [stdout] | ||___________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 257 ~ match new_repo [INFO] [stdout] 258 | .variant_accessed_at(hash.clone(), variant.clone()) [INFO] [stdout] 259 | .await? [INFO] [stdout] 260 ~ { Some(timestamp) => { [INFO] [stdout] 261 | new_repo [INFO] [stdout] 262 | .set_accessed_variant(hash.clone(), variant, timestamp) [INFO] [stdout] 263 | .await?; [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | new_repo.accessed_variant(hash.clone(), variant).await?; [INFO] [stdout] 266 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | if let Some(details) = old_repo.details(&identifier).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 268 ~ match old_repo.details(&identifier).await? { Some(details) => { [INFO] [stdout] 269 | new_repo.relate_details(&identifier, &details).await?; [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | if let Some(details) = state.repo.details(identifier).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 357 ~ match state.repo.details(identifier).await? { Some(details) => { [INFO] [stdout] 358 | Ok(details) [INFO] [stdout] 359 ~ } _ => { [INFO] [stdout] 360 | let details = fetch_or_generate_details(old_repo, state, identifier).await?; [INFO] [stdout] 361 | state.repo.relate_details(identifier, &details).await?; [INFO] [stdout] 362 | Ok(details) [INFO] [stdout] 363 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/notification_map.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(inner) = occupied.get().upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/notification_map.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match occupied.get().upgrade() { Some(inner) => { [INFO] [stdout] 39 | NotificationEntry { inner } [INFO] [stdout] 40 ~ } _ => { [INFO] [stdout] 41 | let inner = Arc::new(NotificationEntryInner { [INFO] [stdout] ... [INFO] [stdout] 49 | NotificationEntry { inner } [INFO] [stdout] 50 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/notification_map.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(notifier) = self.map.get(key).and_then(|v| v.upgrade()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/notification_map.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ match self.map.get(key).and_then(|v| v.upgrade()) { Some(notifier) => { [INFO] [stdout] 68 | notifier.notify.notify_waiters(); [INFO] [stdout] 69 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | let tup = if let Some(connector) = tls_connector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 255 ~ let tup = match tls_connector { Some(connector) => { [INFO] [stdout] 256 | let (client, conn) = tokio_postgres::connect(postgres_url.as_str(), connector) [INFO] [stdout] ... [INFO] [stdout] 263 | ) [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | let (client, conn) = tokio_postgres::connect(postgres_url.as_str(), NoTls) [INFO] [stdout] ... [INFO] [stdout] 272 | ) [INFO] [stdout] 273 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:589:12 [INFO] [stdout] | [INFO] [stdout] 589 | if let Some(interest) = self.interest.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 589 ~ match self.interest.take() { Some(interest) => { [INFO] [stdout] 590 | if Arc::into_inner(interest).is_some() { [INFO] [stdout] 591 | self.inner.upload_notifications.remove(&self.upload_id); [INFO] [stdout] 592 | } [INFO] [stdout] 593 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:639:12 [INFO] [stdout] | [INFO] [stdout] 639 | if let Some(notifier) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 640 | || .inner [INFO] [stdout] 641 | || .upload_notifications [INFO] [stdout] 642 | || .get(&upload_id) [INFO] [stdout] 643 | || .and_then(|weak| weak.upgrade()) [INFO] [stdout] | ||____________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 639 ~ match self [INFO] [stdout] 640 | .inner [INFO] [stdout] ... [INFO] [stdout] 643 | .and_then(|weak| weak.upgrade()) [INFO] [stdout] 644 ~ { Some(notifier) => { [INFO] [stdout] 645 | notifier.notify_waiters(); [INFO] [stdout] 646 | metrics::counter!(crate::init_metrics::POSTGRES_UPLOAD_NOTIFIER_NOTIFIED).increment(1); [INFO] [stdout] 647 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:677:11 [INFO] [stdout] | [INFO] [stdout] 677 | while let Some(notification) = receiver.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:701:5 [INFO] [stdout] | [INFO] [stdout] 701 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:719:37 [INFO] [stdout] | [INFO] [stdout] 719 | let client = if let Some(connector) = connector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:728:21 [INFO] [stdout] | [INFO] [stdout] 728 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 719 ~ let client = match connector { Some(connector) => { [INFO] [stdout] 720 | let (client, conn) = tokio_postgres::connect(config, connector) [INFO] [stdout] ... [INFO] [stdout] 727 | client [INFO] [stdout] 728 ~ } _ => { [INFO] [stdout] 729 | let (client, conn) = [INFO] [stdout] ... [INFO] [stdout] 737 | client [INFO] [stdout] 738 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:755:15 [INFO] [stdout] | [INFO] [stdout] 755 | while let Some(res) = std::future::poll_fn(|cx| conn.poll_message(cx)) [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 756 | || .with_poll_timer("poll-message") [INFO] [stdout] 757 | || .await [INFO] [stdout] | ||__________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |__________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:874:35 [INFO] [stdout] | [INFO] [stdout] 874 | let (mut page, prev) = if let Some(OrderedHash { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 875 | | timestamp, [INFO] [stdout] 876 | | hash: bound_hash, [INFO] [stdout] 877 | | }) = bound [INFO] [stdout] | |______________----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:911:9 [INFO] [stdout] | [INFO] [stdout] 911 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 874 ~ let (mut page, prev) = match bound [INFO] [stdout] 875 ~ { Some(OrderedHash { [INFO] [stdout] 876 + timestamp, [INFO] [stdout] 877 + hash: bound_hash, [INFO] [stdout] 878 ~ }) => { [INFO] [stdout] 879 | let timestamp = to_primitive(timestamp); [INFO] [stdout] ... [INFO] [stdout] 910 | (page, prev) [INFO] [stdout] 911 ~ } _ => { [INFO] [stdout] 912 | let page = hashes [INFO] [stdout] ... [INFO] [stdout] 924 | (page, None) [INFO] [stdout] 925 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:2325:16 [INFO] [stdout] | [INFO] [stdout] 2325 | if let Some((last_time, last_item)) = page.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:2333:13 [INFO] [stdout] | [INFO] [stdout] 2333 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2325 ~ match page.pop() { Some((last_time, last_item)) => { [INFO] [stdout] 2326 | for (_, item) in page { [INFO] [stdout] ... [INFO] [stdout] 2332 | older_than = last_time; [INFO] [stdout] 2333 ~ } _ => { [INFO] [stdout] 2334 | break; [INFO] [stdout] 2335 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | if let Some(bytes) = opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 541 ~ match opt { Some(bytes) => { [INFO] [stdout] 542 | if bytes != b"1" { [INFO] [stdout] ... [INFO] [stdout] 547 | } [INFO] [stdout] 548 ~ } _ => { [INFO] [stdout] 549 | return Err(RepoError::AlreadyClaimed); [INFO] [stdout] 550 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:552:15 [INFO] [stdout] | [INFO] [stdout] 552 | while let Some(event) = (&mut subscriber).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:824:29 [INFO] [stdout] | [INFO] [stdout] 824 | let notify = if let Some(notify) = opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:826:13 [INFO] [stdout] | [INFO] [stdout] 826 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 824 ~ let notify = match opt { Some(notify) => { [INFO] [stdout] 825 | notify [INFO] [stdout] 826 ~ } _ => { [INFO] [stdout] 827 | let mut guard = self.queue_notifier.write().unwrap(); [INFO] [stdout] 828 | let entry = guard.entry(queue_name).or_insert_with(crate::sync::notify); [INFO] [stdout] 829 | Arc::clone(entry) [INFO] [stdout] 830 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:856:16 [INFO] [stdout] | [INFO] [stdout] 856 | if let Some(state) = job_state.get(&key)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 856 ~ match job_state.get(&key)? { Some(state) => { [INFO] [stdout] 857 | let new_state = JobState::running(worker_id); [INFO] [stdout] ... [INFO] [stdout] 862 | } [INFO] [stdout] 863 ~ } _ => { [INFO] [stdout] 864 | Ok(()) [INFO] [stdout] 865 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/store/file_store.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | if let Err(e) = tokio::fs::metadata(&to).await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/store/file_store.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ match tokio::fs::metadata(&to).await { Err(e) => { [INFO] [stdout] 180 | if e.kind() != std::io::ErrorKind::NotFound { [INFO] [stdout] 181 | return Err(e.into()); [INFO] [stdout] 182 | } [INFO] [stdout] 183 ~ } _ => { [INFO] [stdout] 184 | return Err(FileError::FileExists); [INFO] [stdout] 185 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/store/object_store.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(bytes) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/store/object_store.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 70 ~ match stream.try_next().await? { Some(bytes) => { [INFO] [stdout] 71 | buf.add_bytes(bytes) [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | break; [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/store/object_store.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let buf = if let Some(chunk) = first_chunk.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/store/object_store.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ let buf = match first_chunk.take() { Some(chunk) => { [INFO] [stdout] 180 | chunk [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | read_chunk(&mut stream).await? [INFO] [stdout] 183 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | while let Some(item) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | while let Some(item) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | while let Some(res) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | while let Some(res) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | while let Some(res) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | while let Some(res) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | while let Some(res) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | while let Some(bytes) = streamer.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmp_file.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | if let Err(e) = std::fs::remove_dir_all(path) { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmp_file.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 120 ~ match std::fs::remove_dir_all(path) { Err(e) => { [INFO] [stdout] 121 | tracing::error!("Failed removing directory {e}"); [INFO] [stdout] 122 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmp_file.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | if let Err(e) = std::fs::remove_file(path) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmp_file.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ match std::fs::remove_file(path) { Err(e) => { [INFO] [stdout] 164 | tracing::error!("Failed removing file {e}"); [INFO] [stdout] 165 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pict_rs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/ingest/hasher.rs [INFO] [stderr] * src/processor.rs [INFO] [stderr] * src/repo/sled.rs [INFO] [stderr] * src/repo_04/sled.rs [INFO] [stderr] * src/sync.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ingest/hasher.rs:81:10 [INFO] [stderr] | [INFO] [stderr] 81 | ($fut:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/repo/sled.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | ($self:ident.$ident:ident, $expr:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/repo_04/sled.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | ($self:ident.$ident:ident, $expr:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/processor.rs:104:10 [INFO] [stderr] | [INFO] [stderr] 104 | ($inner:expr_2021, $x:ident, $k:expr_2021, $v:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/processor.rs:104:38 [INFO] [stderr] | [INFO] [stderr] 104 | ($inner:expr_2021, $x:ident, $k:expr_2021, $v:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/processor.rs:104:52 [INFO] [stderr] | [INFO] [stderr] 104 | ($inner:expr_2021, $x:ident, $k:expr_2021, $v:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:83:11 [INFO] [stderr] | [INFO] [stderr] 83 | #[cfg(tokio_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:86:15 [INFO] [stderr] | [INFO] [stderr] 86 | #[cfg(not(tokio_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:101:11 [INFO] [stderr] | [INFO] [stderr] 101 | #[cfg(tokio_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:106:15 [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/repo.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) fn gen() -> Self { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 106 | #[cfg(not(tokio_unstable))] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/repo/sled.rs:670:25 [INFO] [stdout] | [INFO] [stdout] 670 | let id = JobId::gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ingest/hasher.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | ($fut:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | ($fut:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/processor.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr, $v:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr_2021, $x:ident, $k:expr, $v:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/processor.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr, $v:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr_2021, $v:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/processor.rs:104:45 [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr, $v:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 104 | ($inner:expr, $x:ident, $k:expr, $v:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [lints.rust] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/repo/sled.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | ($self:ident.$ident:ident, $expr:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | ($self:ident.$ident:ident, $expr:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/repo_04/sled.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | ($self:ident.$ident:ident, $expr:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 34 | ($self:ident.$ident:ident, $expr:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/sync.rs:124:11 [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 124 | #[cfg(tokio_unstable)] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | if let Some(alias) = image.result.alias() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 345 ~ match image.result.alias() { Some(alias) => { [INFO] [stdout] 346 | tracing::debug!("Uploaded {} as {:?}", image.filename, alias); [INFO] [stdout] ... [INFO] [stdout] 355 | })); [INFO] [stdout] 356 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:129:15 [INFO] [stderr] | [INFO] [stderr] 129 | #[cfg(not(tokio_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:142:15 [INFO] [stderr] | [INFO] [stderr] 142 | #[cfg(not(tokio_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:150:11 [INFO] [stderr] | [INFO] [stderr] 150 | #[cfg(tokio_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stderr] --> src/sync.rs:155:15 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg(not(tokio_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:703:26 [INFO] [stdout] | [INFO] [stdout] 703 | let details = if let Some(identifier) = identifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 703 ~ let details = match identifier { Some(identifier) => { [INFO] [stdout] 704 | state [INFO] [stdout] ... [INFO] [stdout] 708 | .map(|d| d.into_api_details()) [INFO] [stdout] 709 ~ } _ => { [INFO] [stdout] 710 | None [INFO] [stdout] 711 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:867:8 [INFO] [stdout] | [INFO] [stdout] 867 | if let Some(identifier) = identifier_opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:890:5 [INFO] [stdout] | [INFO] [stdout] 890 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 867 ~ match identifier_opt { Some(identifier) => { [INFO] [stdout] 868 | if !exists(&state.store, &identifier).await? { [INFO] [stdout] ... [INFO] [stdout] 889 | } [INFO] [stdout] 890 ~ } _ => { [INFO] [stdout] 891 | Ok(None) [INFO] [stdout] 892 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:870:20 [INFO] [stdout] | [INFO] [stdout] 870 | if let Some(original_identifier) = state.repo.identifier(hash.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:872:17 [INFO] [stdout] | [INFO] [stdout] 872 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 870 ~ match state.repo.identifier(hash.clone()).await? { Some(original_identifier) => { [INFO] [stdout] 871 | exists(&state.store, &original_identifier).await? [INFO] [stdout] 872 ~ } _ => { [INFO] [stdout] 873 | true [INFO] [stdout] 874 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:907:39 [INFO] [stdout] | [INFO] [stdout] 907 | let (hash, alias, not_found) = if let Some(hash) = state.repo.hash(&alias).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:909:5 [INFO] [stdout] | [INFO] [stdout] 909 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 907 ~ let (hash, alias, not_found) = match state.repo.hash(&alias).await? { Some(hash) => { [INFO] [stdout] 908 | (hash, alias, false) [INFO] [stdout] 909 ~ } _ => { [INFO] [stdout] 910 | let Some((alias, hash)) = not_found_hash(&state.repo).await? else { [INFO] [stdout] ... [INFO] [stdout] 914 | (hash, alias, true) [INFO] [stdout] 915 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:926:36 [INFO] [stdout] | [INFO] [stdout] 926 | let (details, identifier) = if let Some(identifier) = identifier_opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 926 ~ let (details, identifier) = match identifier_opt { Some(identifier) => { [INFO] [stdout] 927 | let details = ensure_details_identifier(&state, &identifier).await?; [INFO] [stdout] 928 | [INFO] [stdout] 929 | (details, identifier) [INFO] [stdout] 930 ~ } _ => { [INFO] [stdout] 931 | if state.config.server.read_only { [INFO] [stdout] ... [INFO] [stdout] 962 | } [INFO] [stdout] 963 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1120:39 [INFO] [stdout] | [INFO] [stdout] 1120 | let (hash, alias, not_found) = if let Some(hash) = state.repo.hash(&alias).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1122:5 [INFO] [stdout] | [INFO] [stdout] 1122 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1120 ~ let (hash, alias, not_found) = match state.repo.hash(&alias).await? { Some(hash) => { [INFO] [stdout] 1121 | (hash, alias, false) [INFO] [stdout] 1122 ~ } _ => { [INFO] [stdout] 1123 | let Some((alias, hash)) = not_found_hash(&state.repo).await? else { [INFO] [stdout] ... [INFO] [stdout] 1127 | (hash, alias, true) [INFO] [stdout] 1128 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1292:15 [INFO] [stdout] | [INFO] [stdout] 1292 | while let Some(res) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1297:9 [INFO] [stdout] | [INFO] [stdout] 1297 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1333:28 [INFO] [stdout] | [INFO] [stdout] 1333 | let alias = if let Some(alias) = state.repo.related(proxy.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1335:13 [INFO] [stdout] | [INFO] [stdout] 1335 | } else if !state.config.server.read_only { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1333 ~ let alias = match state.repo.related(proxy.clone()).await? { Some(alias) => { [INFO] [stdout] 1334 | alias [INFO] [stdout] 1335 ~ } _ => if !state.config.server.read_only { [INFO] [stdout] 1336 | let stream = download_stream(proxy.as_str(), state).await?; [INFO] [stdout] ... [INFO] [stdout] 1361 | return Err(UploadError::ReadOnly.into()); [INFO] [stdout] 1362 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1339:20 [INFO] [stdout] | [INFO] [stdout] 1339 | if let Some(alias) = state.repo.related(proxy.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1341:17 [INFO] [stdout] | [INFO] [stdout] 1341 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1339 ~ match state.repo.related(proxy.clone()).await? { Some(alias) => { [INFO] [stdout] 1340 | alias [INFO] [stdout] 1341 ~ } _ => { [INFO] [stdout] 1342 | let (alias, token, _) = [INFO] [stdout] ... [INFO] [stdout] 1358 | } [INFO] [stdout] 1359 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1346:24 [INFO] [stdout] | [INFO] [stdout] 1346 | if let Err(ProxyAlreadyExists) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 1347 | | state.repo.relate_url(proxy.clone(), alias.clone()).await? [INFO] [stdout] | |_________________________---------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1356:21 [INFO] [stdout] | [INFO] [stdout] 1356 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1346 ~ match state.repo.relate_url(proxy.clone(), alias.clone()).await? [INFO] [stdout] 1347 ~ { Err(ProxyAlreadyExists) => { [INFO] [stdout] 1348 | queue::cleanup_alias(&state.repo, alias, token).await?; [INFO] [stdout] ... [INFO] [stdout] 1354 | .ok_or(UploadError::MissingAlias)? [INFO] [stdout] 1355 ~ } _ => { [INFO] [stdout] 1356 | alias [INFO] [stdout] 1357 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1385:23 [INFO] [stdout] | [INFO] [stdout] 1385 | let blurhash = if let Some(blurhash) = state.repo.blurhash(hash.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1387:5 [INFO] [stdout] | [INFO] [stdout] 1387 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1385 ~ let blurhash = match state.repo.blurhash(hash.clone()).await? { Some(blurhash) => { [INFO] [stdout] 1386 | blurhash [INFO] [stdout] 1387 ~ } _ => { [INFO] [stdout] 1388 | let details = ensure_details(&state, &alias).await?; [INFO] [stdout] ... [INFO] [stdout] 1393 | blurhash [INFO] [stdout] 1394 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1425:23 [INFO] [stdout] | [INFO] [stdout] 1425 | let progress = if let Some(progress) = state.repo.get("prune-missing-queued").await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1431:5 [INFO] [stdout] | [INFO] [stdout] 1431 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1425 ~ let progress = match state.repo.get("prune-missing-queued").await? { Some(progress) => { [INFO] [stdout] 1426 | progress [INFO] [stdout] ... [INFO] [stdout] 1430 | .unwrap_or(0) [INFO] [stdout] 1431 ~ } _ => { [INFO] [stdout] 1432 | 0 [INFO] [stdout] 1433 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1570:8 [INFO] [stdout] | [INFO] [stdout] 1570 | if let Some(token) = state.repo.delete_token(&alias).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1572:5 [INFO] [stdout] | [INFO] [stdout] 1572 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1570 ~ match state.repo.delete_token(&alias).await? { Some(token) => { [INFO] [stdout] 1571 | queue::cleanup_alias(&state.repo, alias, token).await?; [INFO] [stdout] 1572 ~ } _ => { [INFO] [stdout] 1573 | return Ok(HttpResponse::NotFound().finish()); [INFO] [stdout] 1574 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1766:16 [INFO] [stdout] | [INFO] [stdout] 1766 | if let Err(e) = queue::cleanup_outdated_proxies(&state.repo).await { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1771:13 [INFO] [stdout] | [INFO] [stdout] 1771 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1766 ~ match queue::cleanup_outdated_proxies(&state.repo).await { Err(e) => { [INFO] [stdout] 1767 | tracing::warn!( [INFO] [stdout] ... [INFO] [stdout] 1770 | ); [INFO] [stdout] 1771 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2161:24 [INFO] [stdout] | [INFO] [stdout] 2161 | if let Some(path) = config.old_repo_path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2168:21 [INFO] [stdout] | [INFO] [stdout] 2168 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2161 ~ match config.old_repo_path() { Some(path) => { [INFO] [stdout] 2162 | if let Some(old_repo) = repo_04::open(path)? { [INFO] [stdout] ... [INFO] [stdout] 2167 | } [INFO] [stdout] 2168 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2162:28 [INFO] [stdout] | [INFO] [stdout] 2162 | if let Some(old_repo) = repo_04::open(path)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2167:25 [INFO] [stdout] | [INFO] [stdout] 2167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2162 ~ match repo_04::open(path)? { Some(old_repo) => { [INFO] [stdout] 2163 | repo::migrate_04(old_repo, state.clone()).await?; [INFO] [stdout] ... [INFO] [stdout] 2166 | .await?; [INFO] [stdout] 2167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2195:24 [INFO] [stdout] | [INFO] [stdout] 2195 | if let Some(path) = config.old_repo_path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2202:21 [INFO] [stdout] | [INFO] [stdout] 2202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2195 ~ match config.old_repo_path() { Some(path) => { [INFO] [stdout] 2196 | if let Some(old_repo) = repo_04::open(path)? { [INFO] [stdout] ... [INFO] [stdout] 2201 | } [INFO] [stdout] 2202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2196:28 [INFO] [stdout] | [INFO] [stdout] 2196 | if let Some(old_repo) = repo_04::open(path)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:2201:25 [INFO] [stdout] | [INFO] [stdout] 2201 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2196 ~ match repo_04::open(path)? { Some(old_repo) => { [INFO] [stdout] 2197 | repo::migrate_04(old_repo, state.clone()).await?; [INFO] [stdout] ... [INFO] [stdout] 2200 | .await?; [INFO] [stdout] 2201 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/bytes_stream.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(bytes) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/bytes_stream.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/file.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | while let Some(mut bytes) = stream.try_next().with_poll_timer("try-next").await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/file.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/generate.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | if let Err(e) = repo.variant_heartbeat(hash.clone(), variant.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/generate.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 168 ~ match repo.variant_heartbeat(hash.clone(), variant.clone()).await { Err(e) => { [INFO] [stdout] 169 | break Error::from(e); [INFO] [stdout] 170 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/generate.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | let identifier = if let Err(VariantAlreadyExists) = state [INFO] [stdout] | _________________________^ - [INFO] [stdout] | |_________________________________________________________| [INFO] [stdout] 241 | || .repo [INFO] [stdout] 242 | || .relate_variant_identifier(hash.clone(), variant.clone(), &identifier) [INFO] [stdout] 243 | || .await? [INFO] [stdout] | ||_______________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/generate.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ let identifier = match state [INFO] [stdout] 241 | .repo [INFO] [stdout] 242 | .relate_variant_identifier(hash.clone(), variant.clone(), &identifier) [INFO] [stdout] 243 | .await? [INFO] [stdout] 244 ~ { Err(VariantAlreadyExists) => { [INFO] [stdout] 245 | state.store.remove(&identifier).await?; [INFO] [stdout] ... [INFO] [stdout] 250 | .ok_or(UploadError::MissingIdentifier)? [INFO] [stdout] 251 ~ } _ => { [INFO] [stdout] 252 | state.repo.relate_details(&identifier, &details).await?; [INFO] [stdout] 253 | identifier [INFO] [stdout] 254 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/ingest.rs:351:16 [INFO] [stdout] | [INFO] [stdout] 351 | if let Some(identifier) = self.identifier.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/ingest.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 351 ~ match self.identifier.take() { Some(identifier) => { [INFO] [stdout] 352 | let repo = self.repo.clone(); [INFO] [stdout] ... [INFO] [stdout] 362 | ); [INFO] [stdout] 363 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | while let Some(payload) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(handle) = self.0.take().and_then(Rc::into_inner) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ match self.0.take().and_then(Rc::into_inner) { Some(handle) => { [INFO] [stdout] 130 | handle.abort(); [INFO] [stdout] 131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(payload) = self.inner.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match self.inner.take() { Some(payload) => { [INFO] [stdout] 138 | tracing::debug!("Dropped unclosed payload, draining"); [INFO] [stdout] ... [INFO] [stdout] 142 | } [INFO] [stdout] 143 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(inner) = self.inner.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 154 ~ match self.inner.as_mut() { Some(inner) => { [INFO] [stdout] 155 | let opt = std::task::ready!(std::pin::Pin::new(inner).poll_next(cx)); [INFO] [stdout] ... [INFO] [stdout] 161 | std::task::Poll::Ready(opt) [INFO] [stdout] 162 ~ } _ => { [INFO] [stdout] 163 | std::task::Poll::Ready(None) [INFO] [stdout] 164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(inner) = self.inner.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/middleware/payload.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 168 ~ match self.inner.as_ref() { Some(inner) => { [INFO] [stdout] 169 | inner.size_hint() [INFO] [stdout] 170 ~ } _ => { [INFO] [stdout] 171 | (0, Some(0)) [INFO] [stdout] 172 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | while let Err(e) = [INFO] [stdout] | ___________^ [INFO] [stdout] 46 | | do_migrate_store(from.clone(), to.clone(), skip_missing_files, concurrency).await [INFO] [stdout] | |_________--------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | while let Some(hash) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(res) = joinset.join_next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 124 ~ match joinset.join_next().await { Some(res) => { [INFO] [stdout] 125 | res.map_err(|_| UploadError::Canceled)??; [INFO] [stdout] 126 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(res) = joinset.join_next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/migrate_store.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/process.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | while let Some(mut bytes) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/process.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue.rs:445:20 [INFO] [stdout] | [INFO] [stdout] 445 | if let Some(Err(e)) = opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ match opt { Some(Err(e)) => { [INFO] [stdout] 446 | tracing::warn!("Failed heartbeat\n{}", format!("{e:?}")); [INFO] [stdout] 447 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(token) = repo.delete_token(&alias).await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match repo.delete_token(&alias).await.retry()? { Some(token) => { [INFO] [stdout] 118 | super::cleanup_alias(repo, alias, token).await.retry()?; [INFO] [stdout] 119 ~ } _ => { [INFO] [stdout] 120 | tracing::warn!("Not cleaning alias!"); [INFO] [stdout] 121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | while let Some(res) = hash_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | while let Some((hash, variant)) = variant_stream.try_next().await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 237 | while let Some(alias) = alias_stream.try_next().await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(token) = repo.delete_token(&alias).await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match repo.delete_token(&alias).await.retry()? { Some(token) => { [INFO] [stdout] 242 | super::cleanup_alias(repo, alias, token).await.retry()?; [INFO] [stdout] 243 | count += 1; [INFO] [stdout] 244 ~ } _ => { [INFO] [stdout] 245 | tracing::warn!("Skipping alias cleanup - no delete token"); [INFO] [stdout] 246 | repo.remove_relation(alias.clone()).await.retry()?; [INFO] [stdout] 247 | repo.remove_alias_access(alias).await.retry()?; [INFO] [stdout] 248 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:304:11 [INFO] [stdout] | [INFO] [stdout] 304 | while let Some(hash) = hash_stream.try_next().await.retry()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/queue/cleanup.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures_core::Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/repo.rs:587:47 [INFO] [stdout] | [INFO] [stdout] 587 | pub(crate) fn hashes(self: &Arc) -> impl Stream> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/repo.rs:587:32 [INFO] [stdout] | [INFO] [stdout] 587 | pub(crate) fn hashes(self: &Arc) -> impl Stream> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 587 | pub(crate) fn hashes(self: &Arc) -> impl Stream> + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo.rs:621:24 [INFO] [stdout] | [INFO] [stdout] 621 | let bound = if let Some(hash) = hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 621 ~ let bound = match hash { Some(hash) => { [INFO] [stdout] 622 | self.bound(hash).await? [INFO] [stdout] 623 ~ } _ => { [INFO] [stdout] 624 | None [INFO] [stdout] 625 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | while let Some(res) = hash_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if let Ok(hash) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 47 ~ match res { Ok(hash) => { [INFO] [stdout] 48 | migrate_hash(old_repo.clone(), new_repo.clone(), hash).await; [INFO] [stdout] 49 ~ } _ => { [INFO] [stdout] 50 | tracing::warn!("Failed to read hash, skipping"); [INFO] [stdout] 51 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | while let Some(res) = hash_stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | if let Ok(hash) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 111 ~ match res { Ok(hash) => { [INFO] [stdout] 112 | set.spawn_local(migrate_hash_04( [INFO] [stdout] ... [INFO] [stdout] 116 | )); [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | tracing::warn!("Failed to read hash, skipping"); [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | while let Err(e) = do_migrate_hash(&old_repo, &new_repo, hash.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 191 | while let Err(e) = timed_migrate_hash_04(&old_repo, &state, old_hash.clone()).await { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | if let Some(details) = old_repo.details(&identifier).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 218 ~ match old_repo.details(&identifier).await? { Some(details) => { [INFO] [stdout] 219 | let _ = new_repo [INFO] [stdout] ... [INFO] [stdout] 223 | new_repo.relate_details(&identifier, &details).await?; [INFO] [stdout] 224 ~ } _ => { [INFO] [stdout] 225 | let _ = new_repo.create_hash(hash.clone(), &identifier).await?; [INFO] [stdout] 226 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(details) = old_repo.details(&identifier).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match old_repo.details(&identifier).await? { Some(details) => { [INFO] [stdout] 234 | new_repo.relate_details(&identifier, &details).await?; [INFO] [stdout] 235 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | if let Some(timestamp) = old_repo.alias_accessed_at(alias.clone()).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 247 ~ match old_repo.alias_accessed_at(alias.clone()).await? { Some(timestamp) => { [INFO] [stdout] 248 | new_repo.set_accessed_alias(alias, timestamp).await?; [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | if let Some(timestamp) = new_repo [INFO] [stdout] | ____________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 258 | || .variant_accessed_at(hash.clone(), variant.clone()) [INFO] [stdout] 259 | || .await? [INFO] [stdout] | ||___________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 257 ~ match new_repo [INFO] [stdout] 258 | .variant_accessed_at(hash.clone(), variant.clone()) [INFO] [stdout] 259 | .await? [INFO] [stdout] 260 ~ { Some(timestamp) => { [INFO] [stdout] 261 | new_repo [INFO] [stdout] 262 | .set_accessed_variant(hash.clone(), variant, timestamp) [INFO] [stdout] 263 | .await?; [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | new_repo.accessed_variant(hash.clone(), variant).await?; [INFO] [stdout] 266 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | if let Some(details) = old_repo.details(&identifier).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 268 ~ match old_repo.details(&identifier).await? { Some(details) => { [INFO] [stdout] 269 | new_repo.relate_details(&identifier, &details).await?; [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | if let Some(details) = state.repo.details(identifier).await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/migrate.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 357 ~ match state.repo.details(identifier).await? { Some(details) => { [INFO] [stdout] 358 | Ok(details) [INFO] [stdout] 359 ~ } _ => { [INFO] [stdout] 360 | let details = fetch_or_generate_details(old_repo, state, identifier).await?; [INFO] [stdout] 361 | state.repo.relate_details(identifier, &details).await?; [INFO] [stdout] 362 | Ok(details) [INFO] [stdout] 363 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/notification_map.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(inner) = occupied.get().upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/notification_map.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match occupied.get().upgrade() { Some(inner) => { [INFO] [stdout] 39 | NotificationEntry { inner } [INFO] [stdout] 40 ~ } _ => { [INFO] [stdout] 41 | let inner = Arc::new(NotificationEntryInner { [INFO] [stdout] ... [INFO] [stdout] 49 | NotificationEntry { inner } [INFO] [stdout] 50 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/notification_map.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(notifier) = self.map.get(key).and_then(|v| v.upgrade()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/notification_map.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ match self.map.get(key).and_then(|v| v.upgrade()) { Some(notifier) => { [INFO] [stdout] 68 | notifier.notify.notify_waiters(); [INFO] [stdout] 69 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | let tup = if let Some(connector) = tls_connector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 255 ~ let tup = match tls_connector { Some(connector) => { [INFO] [stdout] 256 | let (client, conn) = tokio_postgres::connect(postgres_url.as_str(), connector) [INFO] [stdout] ... [INFO] [stdout] 263 | ) [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | let (client, conn) = tokio_postgres::connect(postgres_url.as_str(), NoTls) [INFO] [stdout] ... [INFO] [stdout] 272 | ) [INFO] [stdout] 273 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:589:12 [INFO] [stdout] | [INFO] [stdout] 589 | if let Some(interest) = self.interest.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:593:9 [INFO] [stdout] | [INFO] [stdout] 593 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 589 ~ match self.interest.take() { Some(interest) => { [INFO] [stdout] 590 | if Arc::into_inner(interest).is_some() { [INFO] [stdout] 591 | self.inner.upload_notifications.remove(&self.upload_id); [INFO] [stdout] 592 | } [INFO] [stdout] 593 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:639:12 [INFO] [stdout] | [INFO] [stdout] 639 | if let Some(notifier) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 640 | || .inner [INFO] [stdout] 641 | || .upload_notifications [INFO] [stdout] 642 | || .get(&upload_id) [INFO] [stdout] 643 | || .and_then(|weak| weak.upgrade()) [INFO] [stdout] | ||____________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |____________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 639 ~ match self [INFO] [stdout] 640 | .inner [INFO] [stdout] ... [INFO] [stdout] 643 | .and_then(|weak| weak.upgrade()) [INFO] [stdout] 644 ~ { Some(notifier) => { [INFO] [stdout] 645 | notifier.notify_waiters(); [INFO] [stdout] 646 | metrics::counter!(crate::init_metrics::POSTGRES_UPLOAD_NOTIFIER_NOTIFIED).increment(1); [INFO] [stdout] 647 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:677:11 [INFO] [stdout] | [INFO] [stdout] 677 | while let Some(notification) = receiver.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:701:5 [INFO] [stdout] | [INFO] [stdout] 701 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:719:37 [INFO] [stdout] | [INFO] [stdout] 719 | let client = if let Some(connector) = connector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:728:21 [INFO] [stdout] | [INFO] [stdout] 728 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 719 ~ let client = match connector { Some(connector) => { [INFO] [stdout] 720 | let (client, conn) = tokio_postgres::connect(config, connector) [INFO] [stdout] ... [INFO] [stdout] 727 | client [INFO] [stdout] 728 ~ } _ => { [INFO] [stdout] 729 | let (client, conn) = [INFO] [stdout] ... [INFO] [stdout] 737 | client [INFO] [stdout] 738 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:755:15 [INFO] [stdout] | [INFO] [stdout] 755 | while let Some(res) = std::future::poll_fn(|cx| conn.poll_message(cx)) [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 756 | || .with_poll_timer("poll-message") [INFO] [stdout] 757 | || .await [INFO] [stdout] | ||__________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |__________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:874:35 [INFO] [stdout] | [INFO] [stdout] 874 | let (mut page, prev) = if let Some(OrderedHash { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 875 | | timestamp, [INFO] [stdout] 876 | | hash: bound_hash, [INFO] [stdout] 877 | | }) = bound [INFO] [stdout] | |______________----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:911:9 [INFO] [stdout] | [INFO] [stdout] 911 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 874 ~ let (mut page, prev) = match bound [INFO] [stdout] 875 ~ { Some(OrderedHash { [INFO] [stdout] 876 + timestamp, [INFO] [stdout] 877 + hash: bound_hash, [INFO] [stdout] 878 ~ }) => { [INFO] [stdout] 879 | let timestamp = to_primitive(timestamp); [INFO] [stdout] ... [INFO] [stdout] 910 | (page, prev) [INFO] [stdout] 911 ~ } _ => { [INFO] [stdout] 912 | let page = hashes [INFO] [stdout] ... [INFO] [stdout] 924 | (page, None) [INFO] [stdout] 925 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:2325:16 [INFO] [stdout] | [INFO] [stdout] 2325 | if let Some((last_time, last_item)) = page.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/postgres.rs:2333:13 [INFO] [stdout] | [INFO] [stdout] 2333 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2325 ~ match page.pop() { Some((last_time, last_item)) => { [INFO] [stdout] 2326 | for (_, item) in page { [INFO] [stdout] ... [INFO] [stdout] 2332 | older_than = last_time; [INFO] [stdout] 2333 ~ } _ => { [INFO] [stdout] 2334 | break; [INFO] [stdout] 2335 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | if let Some(bytes) = opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 541 ~ match opt { Some(bytes) => { [INFO] [stdout] 542 | if bytes != b"1" { [INFO] [stdout] ... [INFO] [stdout] 547 | } [INFO] [stdout] 548 ~ } _ => { [INFO] [stdout] 549 | return Err(RepoError::AlreadyClaimed); [INFO] [stdout] 550 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:552:15 [INFO] [stdout] | [INFO] [stdout] 552 | while let Some(event) = (&mut subscriber).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:824:29 [INFO] [stdout] | [INFO] [stdout] 824 | let notify = if let Some(notify) = opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:826:13 [INFO] [stdout] | [INFO] [stdout] 826 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 824 ~ let notify = match opt { Some(notify) => { [INFO] [stdout] 825 | notify [INFO] [stdout] 826 ~ } _ => { [INFO] [stdout] 827 | let mut guard = self.queue_notifier.write().unwrap(); [INFO] [stdout] 828 | let entry = guard.entry(queue_name).or_insert_with(crate::sync::notify); [INFO] [stdout] 829 | Arc::clone(entry) [INFO] [stdout] 830 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:856:16 [INFO] [stdout] | [INFO] [stdout] 856 | if let Some(state) = job_state.get(&key)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repo/sled.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 856 ~ match job_state.get(&key)? { Some(state) => { [INFO] [stdout] 857 | let new_state = JobState::running(worker_id); [INFO] [stdout] ... [INFO] [stdout] 862 | } [INFO] [stdout] 863 ~ } _ => { [INFO] [stdout] 864 | Ok(()) [INFO] [stdout] 865 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/store/file_store.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | if let Err(e) = tokio::fs::metadata(&to).await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/store/file_store.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ match tokio::fs::metadata(&to).await { Err(e) => { [INFO] [stdout] 180 | if e.kind() != std::io::ErrorKind::NotFound { [INFO] [stdout] 181 | return Err(e.into()); [INFO] [stdout] 182 | } [INFO] [stdout] 183 ~ } _ => { [INFO] [stdout] 184 | return Err(FileError::FileExists); [INFO] [stdout] 185 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/store/object_store.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | if let Some(bytes) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/store/object_store.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 70 ~ match stream.try_next().await? { Some(bytes) => { [INFO] [stdout] 71 | buf.add_bytes(bytes) [INFO] [stdout] 72 ~ } _ => { [INFO] [stdout] 73 | break; [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/store/object_store.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let buf = if let Some(chunk) = first_chunk.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/store/object_store.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 179 ~ let buf = match first_chunk.take() { Some(chunk) => { [INFO] [stdout] 180 | chunk [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | read_chunk(&mut stream).await? [INFO] [stdout] 183 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | while let Some(item) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | while let Some(item) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | while let Some(res) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | while let Some(res) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | while let Some(res) = rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | while let Some(res) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | while let Some(res) = streamer.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | while let Some(bytes) = streamer.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stream.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmp_file.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | if let Err(e) = std::fs::remove_dir_all(path) { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmp_file.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 120 ~ match std::fs::remove_dir_all(path) { Err(e) => { [INFO] [stdout] 121 | tracing::error!("Failed removing directory {e}"); [INFO] [stdout] 122 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmp_file.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | if let Err(e) = std::fs::remove_file(path) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmp_file.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ match std::fs::remove_file(path) { Err(e) => { [INFO] [stdout] 164 | tracing::error!("Failed removing file {e}"); [INFO] [stdout] 165 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 99 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking pict-rs v0.5.17-pre.5 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/repo.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) fn gen() -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) fn r#gen() -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/repo.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) fn gen() -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) fn r#gen() -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/repo/sled.rs:670:25 [INFO] [stdout] | [INFO] [stdout] 670 | let id = JobId::gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 670 | let id = JobId::r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/repo/sled.rs:670:25 [INFO] [stdout] | [INFO] [stdout] 670 | let id = JobId::gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 670 | let id = JobId::r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(tokio_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> src/sync.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg(not(tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `range_header` does not live long enough [INFO] [stdout] --> src/lib.rs:1232:56 [INFO] [stdout] | [INFO] [stdout] 1230 | let (builder, stream) = if let Some(web::Header(range_header)) = range { [INFO] [stdout] | ------------ binding `range_header` declared here [INFO] [stdout] 1231 | //Range header exists - return as ranged [INFO] [stdout] 1232 | if let Some(range) = range::single_bytes_range(&range_header) { [INFO] [stdout] | --------------------------^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `range_header` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1253 | } else { [INFO] [stdout] | - `range_header` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `identifier` does not live long enough [INFO] [stdout] --> src/lib.rs:1241:57 [INFO] [stdout] | [INFO] [stdout] 1225 | identifier: Arc, [INFO] [stdout] | ---------- binding `identifier` declared here [INFO] [stdout] ... [INFO] [stdout] 1241 | range::chop_store(range, store, &identifier, len).await?, [INFO] [stdout] | --------------------------------^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `identifier` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1271 | } [INFO] [stdout] | - `identifier` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/lib.rs:1241:25 [INFO] [stdout] | [INFO] [stdout] 1224 | store: &S, [INFO] [stdout] | ----- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `store` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 1241 | range::chop_store(range, store, &identifier, len).await?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `store` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `range_header` does not live long enough [INFO] [stdout] --> src/lib.rs:1232:56 [INFO] [stdout] | [INFO] [stdout] 1230 | let (builder, stream) = if let Some(web::Header(range_header)) = range { [INFO] [stdout] | ------------ binding `range_header` declared here [INFO] [stdout] 1231 | //Range header exists - return as ranged [INFO] [stdout] 1232 | if let Some(range) = range::single_bytes_range(&range_header) { [INFO] [stdout] | --------------------------^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `range_header` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1253 | } else { [INFO] [stdout] | - `range_header` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `identifier` does not live long enough [INFO] [stdout] --> src/lib.rs:1241:57 [INFO] [stdout] | [INFO] [stdout] 1225 | identifier: Arc, [INFO] [stdout] | ---------- binding `identifier` declared here [INFO] [stdout] ... [INFO] [stdout] 1241 | range::chop_store(range, store, &identifier, len).await?, [INFO] [stdout] | --------------------------------^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `identifier` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1271 | } [INFO] [stdout] | - `identifier` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/lib.rs:1241:25 [INFO] [stdout] | [INFO] [stdout] 1224 | store: &S, [INFO] [stdout] | ----- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `store` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 1241 | range::chop_store(range, store, &identifier, len).await?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `store` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pict-rs` (lib) due to 6 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pict-rs` (lib test) due to 6 previous errors; 9 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fd3a48074001fce8d8c8b75b66c5b61754240812fdd301876cae62ce7d8caa0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3a48074001fce8d8c8b75b66c5b61754240812fdd301876cae62ce7d8caa0f", kill_on_drop: false }` [INFO] [stdout] fd3a48074001fce8d8c8b75b66c5b61754240812fdd301876cae62ce7d8caa0f