[INFO] fetching crate onechatsocial-database 0.6.16... [INFO] checking onechatsocial-database-0.6.16 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate onechatsocial-database 0.6.16 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate onechatsocial-database 0.6.16 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] started tweaking crates.io crate onechatsocial-database 0.6.16 [INFO] finished tweaking crates.io crate onechatsocial-database 0.6.16 [INFO] tweaked toml for crates.io crate onechatsocial-database 0.6.16 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 486 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding async-lock v2.8.0 (available: v3.4.0) [INFO] [stderr] Adding async-std-resolver v0.21.2 (available: v0.24.1) [INFO] [stderr] Adding atomic v0.5.3 (available: v0.6.0) [INFO] [stderr] Adding base32 v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding cached v0.44.0 (available: v0.53.1) [INFO] [stderr] Adding cached_proc_macro v0.17.0 (available: v0.23.0) [INFO] [stderr] Adding castaway v0.1.2 (available: v0.2.3) [INFO] [stderr] Adding config v0.13.4 (available: v0.14.0) [INFO] [stderr] Adding const-oid v0.6.2 (available: v0.9.6) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding darling v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding decancer v1.6.5 (available: v3.2.4) [INFO] [stderr] Adding der v0.4.5 (available: v0.7.9) [INFO] [stderr] Adding der v0.6.1 (available: v0.7.9) [INFO] [stderr] Adding der_derive v0.4.1 (available: v0.7.3) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding dlv-list v0.3.0 (available: v0.5.2) [INFO] [stderr] Adding email-encoding v0.2.1 (available: v0.3.0) [INFO] [stderr] Adding enum-as-inner v0.4.0 (available: v0.6.1) [INFO] [stderr] Adding erased-serde v0.3.31 (available: v0.4.5) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding fastrand v1.9.0 (available: v2.1.1) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding futures-lite v1.13.0 (available: v2.3.0) [INFO] [stderr] Adding generator v0.7.5 (available: v0.8.3) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding handlebars v4.5.0 (available: v6.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hostname v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-tls v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding idna v0.2.3 (available: v1.0.2) [INFO] [stderr] Adding idna v0.3.0 (available: v1.0.2) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding iso8601-timestamp v0.1.11 (available: v0.2.17) [INFO] [stderr] Adding jwt-simple v0.11.9 (available: v0.12.10) [INFO] [stderr] Adding lettre v0.10.4 (available: v0.11.9) [INFO] [stderr] Adding linkify v0.8.1 (available: v0.10.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding loom v0.5.6 (available: v0.7.2) [INFO] [stderr] Adding lru v0.11.1 (available: v0.12.4) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding metrics v0.22.3 (available: v0.23.0) [INFO] [stderr] Adding mongodb v2.6.1 (available: v2.8.2) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding ordered-multimap v0.4.3 (available: v0.7.3) [INFO] [stderr] Adding pbkdf2 v0.11.0 (available: v0.12.2) [INFO] [stderr] Adding pem v0.8.3 (available: v3.0.4) [INFO] [stderr] Adding pem v1.1.1 (available: v3.0.4) [INFO] [stderr] Adding pem-rfc7468 v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding pin-project-lite v0.1.12 (available: v0.2.14) [INFO] [stderr] Adding pkcs1 v0.4.1 (available: v0.7.5) [INFO] [stderr] Adding pkcs8 v0.9.0 (available: v0.10.2) [INFO] [stderr] Adding polling v2.8.0 (available: v3.7.3) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding quote v0.3.15 (available: v1.0.37) [INFO] [stderr] Adding quoted_printable v0.4.8 (available: v0.5.1) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding redis v0.23.3 (available: v0.27.2) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding ron v0.7.1 (available: v0.8.1) [INFO] [stderr] Adding rsa v0.7.2 (available: v0.9.6) [INFO] [stderr] Adding rust-argon2 v1.0.1 (available: v2.1.0) [INFO] [stderr] Adding rust-ini v0.18.0 (available: v0.21.1) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding rustc_version_runtime v0.2.1 (available: v0.3.0) [INFO] [stderr] Adding rustls v0.20.9 (available: v0.23.13) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding serde_with v1.14.0 (available: v3.9.0) [INFO] [stderr] Adding serde_with_macros v1.5.2 (available: v3.9.0) [INFO] [stderr] Adding signature v1.6.4 (available: v2.2.0) [INFO] [stderr] Adding socket2 v0.4.10 (available: v0.5.7) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding spki v0.6.0 (available: v0.7.3) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.77) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding tokio-rustls v0.23.4 (available: v0.26.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding trust-dns-proto v0.21.2 (available: v0.23.2) [INFO] [stderr] Adding trust-dns-resolver v0.21.2 (available: v0.23.2) [INFO] [stderr] Adding typed-builder v0.10.0 (available: v0.20.0) [INFO] [stderr] Adding ulid v0.5.0 (available: v1.1.3) [INFO] [stderr] Adding unicode-xid v0.0.4 (available: v0.2.6) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding validator v0.15.0 (available: v0.18.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki-roots v0.22.6 (available: v0.26.6) [INFO] [stderr] Adding windows v0.48.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [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] 457cfb7c4c16595f8bb7ae03ebd43df644cf84ae5a950de3c2053a01c9a8c12a [INFO] running `Command { std: "docker" "start" "-a" "457cfb7c4c16595f8bb7ae03ebd43df644cf84ae5a950de3c2053a01c9a8c12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "457cfb7c4c16595f8bb7ae03ebd43df644cf84ae5a950de3c2053a01c9a8c12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457cfb7c4c16595f8bb7ae03ebd43df644cf84ae5a950de3c2053a01c9a8c12a", kill_on_drop: false }` [INFO] [stdout] 457cfb7c4c16595f8bb7ae03ebd43df644cf84ae5a950de3c2053a01c9a8c12a [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] 625c449487e00ce6f8a0ff812c4dca5264ec0dbf27f7188b50ff9390f00866e4 [INFO] running `Command { std: "docker" "start" "-a" "625c449487e00ce6f8a0ff812c4dca5264ec0dbf27f7188b50ff9390f00866e4", 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] Fixed Cargo.toml (9 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libnghttp2-sys v0.1.10+1.61.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling curl-sys v0.4.76+curl-8.10.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking pkcs1 v0.4.1 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ct-codecs v1.1.2 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking email-encoding v0.2.1 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling der_derive v0.4.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling cached_proc_macro v0.17.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking pest v2.7.13 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking hmac-sha512 v1.1.5 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking metrics v0.22.3 [INFO] [stderr] Checking hmac-sha256 v1.1.7 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking generic-array v1.1.0 [INFO] [stderr] Checking sluice v0.5.5 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking castaway v0.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking binstring v0.1.1 [INFO] [stderr] Checking auto_ops v0.3.0 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Compiling decancer v1.6.5 [INFO] [stderr] Checking hmac-sha1-compact v1.1.4 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking totp-lite v2.0.1 [INFO] [stderr] Checking sec1_decode v0.1.0 [INFO] [stderr] Compiling revolt_optional_struct v0.2.0 [INFO] [stderr] Checking rust-argon2 v1.0.1 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking lru v0.11.1 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking url-escape v0.1.1 [INFO] [stderr] Checking linkify v0.8.1 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking ulid v0.5.0 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking ulid v1.1.3 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking lettre v0.10.4 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rsa v0.7.2 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking cached v0.44.0 [INFO] [stderr] Checking deadqueue v0.2.4 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking onechatsocial-result v0.6.16 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking iso8601-timestamp v0.1.11 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking ece v2.3.1 [INFO] [stderr] Checking mobc v0.8.4 [INFO] [stderr] Checking bson v2.13.0 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking jwt-simple v0.11.9 [INFO] [stderr] Checking validator v0.15.0 [INFO] [stderr] Checking async-std-resolver v0.21.2 [INFO] [stderr] Checking onechatsocial-config v0.6.16 [INFO] [stderr] Checking iso8601-timestamp v0.2.17 [INFO] [stderr] Checking mongodb v2.6.1 [INFO] [stderr] Checking onechatsocial-permissions v0.6.16 [INFO] [stderr] Checking onechatsocial-models v0.6.16 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking web-push v0.10.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking mobc-redis v0.8.2 [INFO] [stderr] Checking redis-kiss v0.1.4 [INFO] [stderr] Checking onechatsocial-presence v0.6.16 [INFO] [stderr] Checking fcm v0.9.2 [INFO] [stderr] Checking authifier v1.0.8 [INFO] [stderr] Checking onechatsocial-database v0.6.16 (/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 `onechatsocial_database` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/models/admin_migrations/ops/mongodb/scripts.rs [INFO] [stderr] * src/util/permissions.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/lib.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 45 | ( $item:item, $name: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: elided lifetime has a name [INFO] [stderr] --> src/util/permissions.rs:417:42 [INFO] [stderr] | [INFO] [stderr] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 417 | pub fn user(self, user: &'a User) -> DatabasePermissionQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/util/permissions.rs:425:51 [INFO] [stderr] | [INFO] [stderr] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 425 | pub fn channel(self, channel: &'a Channel) -> DatabasePermissionQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/util/permissions.rs:433:48 [INFO] [stderr] | [INFO] [stderr] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 433 | pub fn server(self, server: &'a Server) -> DatabasePermissionQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/util/permissions.rs:441:48 [INFO] [stderr] | [INFO] [stderr] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 441 | pub fn member(self, member: &'a Member) -> DatabasePermissionQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead. [INFO] [stderr] --> src/models/admin_migrations/ops/mongodb/scripts.rs:653:54 [INFO] [stderr] | [INFO] [stderr] 653 | "joined_at": DateTime::now().to_rfc3339_string() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 5 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/util/idempotency.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | gen::OpenApiGenerator, [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/util/reference.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | fn json_schema(_gen: &mut schemars::gen::SchemaGenerator) -> Schema { [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/lib.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | ( $item:item, $name: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] 45 | ( $item:item, $name:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:417:42 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn user(self, user: &'a User) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:425:51 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn channel(self, channel: &'a Channel) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:433:48 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn server(self, server: &'a Server) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:441:48 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn member(self, member: &'a Member) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead. [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:653:54 [INFO] [stdout] | [INFO] [stdout] 653 | "joined_at": DateTime::now().to_rfc3339_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(doc) = data { [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/models/admin_migrations/ops/mongodb/scripts.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [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] 31 ~ match data { Some(doc) => { [INFO] [stdout] 32 | let info: MigrationInfo = [INFO] [stdout] ... [INFO] [stdout] 52 | info!("Migration complete. Currently at revision {}.", revision); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | panic!("Database was configured incorrectly, possibly because initalization failed.") [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(result) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | while let Some(doc) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | if let Ok(account) = doc { [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/models/admin_migrations/ops/mongodb/scripts.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match doc { Ok(account) => { [INFO] [stdout] 243 | let id = account.get_str("_id").unwrap(); [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/models/admin_migrations/ops/mongodb/scripts.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | if let Some(sessions) = account.get("sessions") { [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/models/admin_migrations/ops/mongodb/scripts.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | } 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] 244 ~ match account.get("sessions") { Some(sessions) => { [INFO] [stdout] 245 | #[derive(Deserialize)] [INFO] [stdout] ... [INFO] [stdout] 269 | } [INFO] [stdout] 270 ~ } _ => { [INFO] [stdout] 271 | info!("Account doesn't have any sessions!"); [INFO] [stdout] 272 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | while let Some(doc) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | if let Ok(channel) = doc { [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/models/admin_migrations/ops/mongodb/scripts.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 305 ~ match doc { Ok(channel) => { [INFO] [stdout] 306 | let channel_id = channel.get_str("_id").unwrap(); [INFO] [stdout] ... [INFO] [stdout] 347 | } [INFO] [stdout] 348 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | if let Some(last_message) = channel.get("last_message") { [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/models/admin_migrations/ops/mongodb/scripts.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | } 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] 307 ~ match channel.get("last_message") { Some(last_message) => { [INFO] [stdout] 308 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] ... [INFO] [stdout] 344 | .unwrap(); [INFO] [stdout] 345 ~ } _ => { [INFO] [stdout] 346 | info!("{} has no last_message.", &channel_id); [INFO] [stdout] 347 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:488:15 [INFO] [stdout] | [INFO] [stdout] 488 | while let Some(Ok(mut document)) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:515:24 [INFO] [stdout] | [INFO] [stdout] 515 | if let Some(Bson::Document(role)) = roles.get_mut(role) { [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/models/admin_migrations/ops/mongodb/scripts.rs:523:21 [INFO] [stdout] | [INFO] [stdout] 523 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 515 ~ match roles.get_mut(role) { Some(Bson::Document(role)) => { [INFO] [stdout] 516 | role.insert( [INFO] [stdout] ... [INFO] [stdout] 522 | ); [INFO] [stdout] 523 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:538:15 [INFO] [stdout] | [INFO] [stdout] 538 | while let Some(Ok(document)) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/bots/ops/reference.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some(bot) = bots.get_mut(id) { [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/models/bots/ops/reference.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | } 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] 60 ~ match bots.get_mut(id) { Some(bot) => { [INFO] [stdout] 61 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(()) [INFO] [stdout] 68 ~ } _ => { [INFO] [stdout] 69 | Err(create_error!(NotFound)) [INFO] [stdout] 70 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channel_invites/model.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(invite) = db.fetch_invite(code).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] 85 | return Ok(invite); [INFO] [stdout] 86 | } else if let Ok(server) = db.fetch_server(code).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] = 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/models/channel_invites/model.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | } else if let Ok(server) = db.fetch_server(code).await { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/models/channel_invites/model.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match db.fetch_invite(code).await { Ok(invite) => { [INFO] [stdout] 85 | return Ok(invite); [INFO] [stdout] 86 ~ } _ => { match db.fetch_server(code).await { Ok(server) => { [INFO] [stdout] 87 | if server.discoverable { [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channel_unreads/ops/reference.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(unread) = unreads.get_mut(&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/models/channel_unreads/ops/reference.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | } 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] 23 ~ match unreads.get_mut(&key) { Some(unread) => { [INFO] [stdout] 24 | unread.mentions = None; [INFO] [stdout] 25 | unread.last_id.replace(message_id.to_string()); [INFO] [stdout] 26 ~ } _ => { [INFO] [stdout] 27 | unreads.insert( [INFO] [stdout] ... [INFO] [stdout] 34 | ); [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channel_unreads/ops/reference.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(unread) = unreads.get_mut(&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/models/channel_unreads/ops/reference.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | } 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] 65 ~ match unreads.get_mut(&key) { Some(unread) => { [INFO] [stdout] 66 | unread.mentions.replace(message_ids.to_vec()); [INFO] [stdout] 67 ~ } _ => { [INFO] [stdout] 68 | unreads.insert( [INFO] [stdout] ... [INFO] [stdout] 75 | ); [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channel_webhooks/ops/reference.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(webhook) = webhooks.get_mut(webhook_id) { [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/models/channel_webhooks/ops/reference.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | } 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] 48 ~ match webhooks.get_mut(webhook_id) { Some(webhook) => { [INFO] [stdout] 49 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(()) [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | Err(create_error!(NotFound)) [INFO] [stdout] 58 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channels/ops/reference.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | if let Entry::Vacant(entry) = channels.entry(channel.id()) { [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/models/channels/ops/reference.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | } 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] 14 ~ match channels.entry(channel.id()) { Entry::Vacant(entry) => { [INFO] [stdout] 15 | entry.insert(channel.clone()); [INFO] [stdout] 16 | Ok(()) [INFO] [stdout] 17 ~ } _ => { [INFO] [stdout] 18 | Err(create_database_error!("insert", "channel")) [INFO] [stdout] 19 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channels/ops/reference.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(Channel::Group { recipients, .. }) = channels.get_mut(channel_id) { [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/models/channels/ops/reference.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 77 ~ match channels.get_mut(channel_id) { Some(Channel::Group { recipients, .. }) => { [INFO] [stdout] 78 | recipients.push(String::from(user_id)); [INFO] [stdout] 79 | Ok(()) [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | Err(create_error!(InvalidOperation)) [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channels/ops/reference.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(mut channel) = channels.get_mut(channel_id) { [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/models/channels/ops/reference.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | } 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] 93 ~ match channels.get_mut(channel_id) { Some(mut channel) => { [INFO] [stdout] 94 | match &mut channel { [INFO] [stdout] ... [INFO] [stdout] 111 | } [INFO] [stdout] 112 ~ } _ => { [INFO] [stdout] 113 | Err(create_error!(NotFound)) [INFO] [stdout] 114 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channels/ops/reference.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(channel_data) = channels.get_mut(id) { [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/models/channels/ops/reference.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | } 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] 125 ~ match channels.get_mut(id) { Some(channel_data) => { [INFO] [stdout] 126 | channel_data.apply_options(channel.to_owned()); [INFO] [stdout] 127 | channel_data.remove_fields(remove); [INFO] [stdout] 128 | Ok(()) [INFO] [stdout] 129 ~ } _ => { [INFO] [stdout] 130 | Err(create_error!(NotFound)) [INFO] [stdout] 131 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/emojis/ops/reference.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some(bot) = emojis.get_mut(&emoji.id) { [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/models/emojis/ops/reference.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } 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] 60 ~ match emojis.get_mut(&emoji.id) { Some(bot) => { [INFO] [stdout] 61 | bot.parent = EmojiParent::Detached; [INFO] [stdout] 62 | Ok(()) [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | Err(create_error!(NotFound)) [INFO] [stdout] 65 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/files/ops/reference.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(file) = files.get_mut(id) { [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/models/files/ops/reference.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | } 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] 30 ~ match files.get_mut(id) { Some(file) => { [INFO] [stdout] 31 | if file.tag == tag { [INFO] [stdout] ... [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => { [INFO] [stdout] 45 | Err(create_error!(NotFound)) [INFO] [stdout] 46 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/files/ops/reference.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(file) = files.get_mut(id) { [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/models/files/ops/reference.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | } 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] 52 ~ match files.get_mut(id) { Some(file) => { [INFO] [stdout] 53 | file.reported = Some(true); [INFO] [stdout] 54 | Ok(()) [INFO] [stdout] 55 ~ } _ => { [INFO] [stdout] 56 | Err(create_error!(NotFound)) [INFO] [stdout] 57 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/files/ops/reference.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(file) = files.get_mut(id) { [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/models/files/ops/reference.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } 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] 63 ~ match files.get_mut(id) { Some(file) => { [INFO] [stdout] 64 | file.deleted = Some(true); [INFO] [stdout] 65 | Ok(()) [INFO] [stdout] 66 ~ } _ => { [INFO] [stdout] 67 | Err(create_error!(NotFound)) [INFO] [stdout] 68 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/files/ops/reference.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(file) = files.get_mut(id) { [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/models/files/ops/reference.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match files.get_mut(id) { Some(file) => { [INFO] [stdout] 83 | file.reported = Some(true); [INFO] [stdout] 84 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/model.rs:241:37 [INFO] [stdout] | [INFO] [stdout] 241 | let disallowed = if let Some(list) = &interactions.reactions { [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/models/messages/model.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | } 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 ~ let disallowed = match &interactions.reactions { Some(list) => { [INFO] [stdout] 242 | list.is_empty() [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | true [INFO] [stdout] 245 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/model.rs:277:16 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some(content) = &data.content { [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/models/messages/model.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 277 ~ match &data.content { Some(content) => { [INFO] [stdout] 278 | for capture in RE_MENTION.captures_iter(content) { [INFO] [stdout] ... [INFO] [stdout] 282 | } [INFO] [stdout] 283 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/model.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | if let Some(mention) = capture.get(1) { [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/models/messages/model.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 279 ~ match capture.get(1) { Some(mention) => { [INFO] [stdout] 280 | mentions.insert(mention.as_str().to_string()); [INFO] [stdout] 281 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/model.rs:561:16 [INFO] [stdout] | [INFO] [stdout] 561 | if let Some(reactions) = &self.reactions { [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/models/messages/model.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | } 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] 561 ~ match &self.reactions { Some(reactions) => { [INFO] [stdout] 562 | reactions.contains(emoji) [INFO] [stdout] 563 ~ } _ => { [INFO] [stdout] 564 | false [INFO] [stdout] 565 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(message_data) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } 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] 182 ~ match messages.get_mut(id) { Some(message_data) => { [INFO] [stdout] 183 | message_data.apply_options(message.to_owned()); [INFO] [stdout] 184 | Ok(()) [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | Err(create_error!(NotFound)) [INFO] [stdout] 187 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(message_data) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } 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] 193 ~ match messages.get_mut(id) { Some(message_data) => { [INFO] [stdout] 194 | if let Some(embeds) = &append.embeds { [INFO] [stdout] ... [INFO] [stdout] 204 | Ok(()) [INFO] [stdout] 205 ~ } _ => { [INFO] [stdout] 206 | Err(create_error!(NotFound)) [INFO] [stdout] 207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | if let Some(message) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | } 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] 213 ~ match messages.get_mut(id) { Some(message) => { [INFO] [stdout] 214 | if let Some(users) = message.reactions.get_mut(emoji) { [INFO] [stdout] ... [INFO] [stdout] 222 | Ok(()) [INFO] [stdout] 223 ~ } _ => { [INFO] [stdout] 224 | Err(create_error!(NotFound)) [INFO] [stdout] 225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:214:16 [INFO] [stdout] | [INFO] [stdout] 214 | if let Some(users) = message.reactions.get_mut(emoji) { [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/models/messages/ops/reference.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | } 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] 214 ~ match message.reactions.get_mut(emoji) { Some(users) => { [INFO] [stdout] 215 | users.insert(user.to_string()); [INFO] [stdout] 216 ~ } _ => { [INFO] [stdout] 217 | message [INFO] [stdout] 218 | .reactions [INFO] [stdout] 219 | .insert(emoji.to_string(), IndexSet::from([user.to_string()])); [INFO] [stdout] 220 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(message) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | } 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] 231 ~ match messages.get_mut(id) { Some(message) => { [INFO] [stdout] 232 | if let Some(users) = message.reactions.get_mut(emoji) { [INFO] [stdout] ... [INFO] [stdout] 236 | Ok(()) [INFO] [stdout] 237 ~ } _ => { [INFO] [stdout] 238 | Err(create_error!(NotFound)) [INFO] [stdout] 239 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | if let Some(message) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | } 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] 245 ~ match messages.get_mut(id) { Some(message) => { [INFO] [stdout] 246 | message.reactions.remove(emoji); [INFO] [stdout] 247 | Ok(()) [INFO] [stdout] 248 ~ } _ => { [INFO] [stdout] 249 | Err(create_error!(NotFound)) [INFO] [stdout] 250 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/server_members/ops/reference.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(member) = server_members.get_mut(id) { [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/models/server_members/ops/reference.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | } 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] 95 ~ match server_members.get_mut(id) { Some(member) => { [INFO] [stdout] 96 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(()) [INFO] [stdout] 103 ~ } _ => { [INFO] [stdout] 104 | Err(create_error!(NotFound)) [INFO] [stdout] 105 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/servers/ops/reference.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(server) = servers.get_mut(id) { [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/models/servers/ops/reference.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | } 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] 51 ~ match servers.get_mut(id) { Some(server) => { [INFO] [stdout] 52 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(()) [INFO] [stdout] 59 ~ } _ => { [INFO] [stdout] 60 | Err(create_error!(NotFound)) [INFO] [stdout] 61 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/servers/ops/reference.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(server) = servers.get_mut(server_id) { [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/models/servers/ops/reference.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 77 ~ match servers.get_mut(server_id) { Some(server) => { [INFO] [stdout] 78 | server.roles.insert(role_id.to_string(), role.clone()); [INFO] [stdout] 79 | Ok(()) [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | Err(create_error!(NotFound)) [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/servers/ops/reference.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(server) = servers.get_mut(server_id) { [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/models/servers/ops/reference.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | } 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] 94 ~ match servers.get_mut(server_id) { Some(server) => { [INFO] [stdout] 95 | if let Some(role) = server.roles.get_mut(role_id) { [INFO] [stdout] ... [INFO] [stdout] 105 | } [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | Err(create_error!(NotFound)) [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/servers/ops/reference.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | if let Some(server) = servers.get_mut(server_id) { [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/models/servers/ops/reference.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | } 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] 116 ~ match servers.get_mut(server_id) { Some(server) => { [INFO] [stdout] 117 | if server.roles.remove(role_id).is_some() { [INFO] [stdout] ... [INFO] [stdout] 121 | } [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | Err(create_error!(NotFound)) [INFO] [stdout] 124 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/user_settings/ops/reference.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(settings) = user_settings.get_mut(id) { [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/models/user_settings/ops/reference.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | } 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] 28 ~ match user_settings.get_mut(id) { Some(settings) => { [INFO] [stdout] 29 | settings.extend(settings.clone()); [INFO] [stdout] 30 ~ } _ => { [INFO] [stdout] 31 | user_settings.insert(id.to_string(), settings.clone()); [INFO] [stdout] 32 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/users/ops/reference.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(user) = users.get_mut(id) { [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/models/users/ops/reference.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | } 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] 94 ~ match users.get_mut(id) { Some(user) => { [INFO] [stdout] 95 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(()) [INFO] [stdout] 102 ~ } _ => { [INFO] [stdout] 103 | Err(create_error!(NotFound)) [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/permissions.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | } else if let Ok(member) = self [INFO] [stdout] | _______________________^ [INFO] [stdout] 124 | | .database [INFO] [stdout] 125 | | .fetch_member(&server.id, &self.perspective.id) [INFO] [stdout] 126 | | .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/util/permissions.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | } 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] 123 ~ } else { match self [INFO] [stdout] 124 | .database [INFO] [stdout] 125 | .fetch_member(&server.id, &self.perspective.id) [INFO] [stdout] 126 | .await [INFO] [stdout] 127 ~ { Ok(member) => { [INFO] [stdout] 128 | self.member = Some(Cow::Owned(member)); [INFO] [stdout] 129 | true [INFO] [stdout] 130 ~ } _ => { [INFO] [stdout] 131 | false [INFO] [stdout] 132 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/permissions.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | if let Ok(user) = self.database.fetch_user(recipient_id).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/util/permissions.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match self.database.fetch_user(recipient_id).await { Ok(user) => { [INFO] [stdout] 330 | self.user.replace(Cow::Owned(user)); [INFO] [stdout] 331 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/permissions.rs:364:24 [INFO] [stdout] | [INFO] [stdout] 364 | if let Ok(server) = self.database.fetch_server(server).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/util/permissions.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 364 ~ match self.database.fetch_server(server).await { Ok(server) => { [INFO] [stdout] 365 | self.server.replace(Cow::Owned(server)); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/events/client.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | if let Ok(members) = db.fetch_all_memberships(&id).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/events/client.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match db.fetch_all_memberships(&id).await { Ok(members) => { [INFO] [stdout] 249 | for member in members { [INFO] [stdout] 250 | self.clone().p(member.id.server).await; [INFO] [stdout] 251 | } [INFO] [stdout] 252 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/ack.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | while let Some(Data { [INFO] [stdout] | _______________^ [INFO] [stdout] 93 | | channel, [INFO] [stdout] 94 | | user, [INFO] [stdout] 95 | | mut event, [INFO] [stdout] 96 | | }) = Q.try_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/tasks/ack.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/last_message_id.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | while let Some(Data { channel, id, is_dm }) = Q.try_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/tasks/last_message_id.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/process_embeds.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(err) = Message::append( [INFO] [stdout] | ____________________^ [INFO] [stdout] 66 | | &db, [INFO] [stdout] 67 | | task.id, [INFO] [stdout] 68 | | task.channel, [INFO] [stdout] ... | [INFO] [stdout] 72 | | ) [INFO] [stdout] 73 | | .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/tasks/process_embeds.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match Message::append( [INFO] [stdout] 66 | &db, [INFO] [stdout] ... [INFO] [stdout] 73 | .await [INFO] [stdout] 74 ~ { Err(err) => { [INFO] [stdout] 75 | error!("Encountered an error appending to message: {:?}", err); [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/process_embeds.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | if let Ok(mut response) = isahc::get_async(format!( [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 145 | || "{host}/embed?url={}", [INFO] [stdout] 146 | || url_escape::encode_component(&link) [INFO] [stdout] 147 | || )) [INFO] [stdout] 148 | || .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/tasks/process_embeds.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | } 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] 144 ~ match isahc::get_async(format!( [INFO] [stdout] 145 | "{host}/embed?url={}", [INFO] [stdout] ... [INFO] [stdout] 148 | .await [INFO] [stdout] 149 ~ { Ok(mut response) => { [INFO] [stdout] 150 | drop(guard); [INFO] [stdout] 151 | response.json::().await.ok() [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | None [INFO] [stdout] 154 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/web_push.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if let Ok(sessions) = db.find_sessions_with_subscription(&task.recipients).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/tasks/web_push.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match db.find_sessions_with_subscription(&task.recipients).await { Ok(sessions) => { [INFO] [stdout] 69 | for session in sessions { [INFO] [stdout] ... [INFO] [stdout] 159 | } [INFO] [stdout] 160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/web_push.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(client) = &fcm_client { [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/tasks/web_push.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 73 ~ match &fcm_client { Some(client) => { [INFO] [stdout] 74 | let PushNotification { [INFO] [stdout] ... [INFO] [stdout] 100 | } [INFO] [stdout] 101 ~ } _ => { [INFO] [stdout] 102 | info!("No FCM token was specified!"); [INFO] [stdout] 103 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/web_push.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | ... if let Err(err) = client.send(message_builder.finalize()).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/tasks/web_push.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | ... } 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] 96 ~ match client.send(message_builder.finalize()).await { Err(err) => { [INFO] [stdout] 97 | error!("Failed to send FCM notification! {:?}", err); [INFO] [stdout] 98 ~ } _ => { [INFO] [stdout] 99 | info!("Sent FCM notification to {:?}.", session.id); [INFO] [stdout] 100~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `onechatsocial_database` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/models/admin_migrations/ops/mongodb/scripts.rs [INFO] [stderr] * src/util/permissions.rs [INFO] [stderr] * src/util/test_fixtures.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/lib.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 45 | ( $item:item, $name: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/lib.rs:60:22 [INFO] [stderr] | [INFO] [stderr] 60 | ( | $db: ident | $test: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/util/test_fixtures.rs:90:7 [INFO] [stderr] | [INFO] [stderr] 90 | ( $database:expr_2021, $name:expr_2021, $( $variable:ident $type:ident $id: 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/util/test_fixtures.rs:90:28 [INFO] [stderr] | [INFO] [stderr] 90 | ( $database:expr_2021, $name:expr_2021, $( $variable:ident $type:ident $id: 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/util/test_fixtures.rs:90:76 [INFO] [stderr] | [INFO] [stderr] 90 | ( $database:expr_2021, $name:expr_2021, $( $variable:ident $type:ident $id: 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: elided lifetime has a name [INFO] [stderr] --> src/util/permissions.rs:417:42 [INFO] [stderr] | [INFO] [stderr] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 417 | pub fn user(self, user: &'a User) -> DatabasePermissionQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/util/permissions.rs:425:51 [INFO] [stderr] | [INFO] [stderr] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 425 | pub fn channel(self, channel: &'a Channel) -> DatabasePermissionQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/idempotency.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | gen::OpenApiGenerator, [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] --> src/util/permissions.rs:433:48 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/util/reference.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | fn json_schema(_gen: &mut schemars::gen::SchemaGenerator) -> Schema { [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/lib.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | ( $item:item, $name: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] 45 | ( $item:item, $name:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 433 | pub fn server(self, server: &'a Server) -> DatabasePermissionQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/util/permissions.rs:441:48 [INFO] [stderr] | [INFO] [stderr] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 441 | pub fn member(self, member: &'a Member) -> DatabasePermissionQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead. [INFO] [stderr] --> src/models/admin_migrations/ops/mongodb/scripts.rs:653:54 [INFO] [stderr] | [INFO] [stderr] 653 | "joined_at": DateTime::now().to_rfc3339_string() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 5 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | ( | $db: ident | $test: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] 60 | ( | $db: ident | $test:expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:417:42 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn user(self, user: &'a User) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:425:51 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn channel(self, channel: &'a Channel) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:433:48 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn server(self, server: &'a Server) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:441:48 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn member(self, member: &'a Member) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/test_fixtures.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | ( $database:expr, $name:expr, $( $variable:ident $type:ident $id: 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] 90 | ( $database:expr_2021, $name:expr, $( $variable:ident $type:ident $id: 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/util/test_fixtures.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | ( $database:expr, $name:expr, $( $variable:ident $type:ident $id: 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] 90 | ( $database:expr, $name:expr_2021, $( $variable:ident $type:ident $id: 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/util/test_fixtures.rs:90:71 [INFO] [stdout] | [INFO] [stdout] 90 | ( $database:expr, $name:expr, $( $variable:ident $type:ident $id: 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] 90 | ( $database:expr, $name:expr, $( $variable:ident $type:ident $id: expr_2021 )+ ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead. [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:653:54 [INFO] [stdout] | [INFO] [stdout] 653 | "joined_at": DateTime::now().to_rfc3339_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(doc) = data { [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/models/admin_migrations/ops/mongodb/scripts.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [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] 31 ~ match data { Some(doc) => { [INFO] [stdout] 32 | let info: MigrationInfo = [INFO] [stdout] ... [INFO] [stdout] 52 | info!("Migration complete. Currently at revision {}.", revision); [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | panic!("Database was configured incorrectly, possibly because initalization failed.") [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(result) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | while let Some(doc) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | if let Ok(account) = doc { [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/models/admin_migrations/ops/mongodb/scripts.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match doc { Ok(account) => { [INFO] [stdout] 243 | let id = account.get_str("_id").unwrap(); [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/models/admin_migrations/ops/mongodb/scripts.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | if let Some(sessions) = account.get("sessions") { [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/models/admin_migrations/ops/mongodb/scripts.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | } 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] 244 ~ match account.get("sessions") { Some(sessions) => { [INFO] [stdout] 245 | #[derive(Deserialize)] [INFO] [stdout] ... [INFO] [stdout] 269 | } [INFO] [stdout] 270 ~ } _ => { [INFO] [stdout] 271 | info!("Account doesn't have any sessions!"); [INFO] [stdout] 272 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | while let Some(doc) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | if let Ok(channel) = doc { [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/models/admin_migrations/ops/mongodb/scripts.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 305 ~ match doc { Ok(channel) => { [INFO] [stdout] 306 | let channel_id = channel.get_str("_id").unwrap(); [INFO] [stdout] ... [INFO] [stdout] 347 | } [INFO] [stdout] 348 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:307:20 [INFO] [stdout] | [INFO] [stdout] 307 | if let Some(last_message) = channel.get("last_message") { [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/models/admin_migrations/ops/mongodb/scripts.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | } 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] 307 ~ match channel.get("last_message") { Some(last_message) => { [INFO] [stdout] 308 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] ... [INFO] [stdout] 344 | .unwrap(); [INFO] [stdout] 345 ~ } _ => { [INFO] [stdout] 346 | info!("{} has no last_message.", &channel_id); [INFO] [stdout] 347 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:488:15 [INFO] [stdout] | [INFO] [stdout] 488 | while let Some(Ok(mut document)) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:515:24 [INFO] [stdout] | [INFO] [stdout] 515 | if let Some(Bson::Document(role)) = roles.get_mut(role) { [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/models/admin_migrations/ops/mongodb/scripts.rs:523:21 [INFO] [stdout] | [INFO] [stdout] 523 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 515 ~ match roles.get_mut(role) { Some(Bson::Document(role)) => { [INFO] [stdout] 516 | role.insert( [INFO] [stdout] ... [INFO] [stdout] 522 | ); [INFO] [stdout] 523 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:538:15 [INFO] [stdout] | [INFO] [stdout] 538 | while let Some(Ok(document)) = cursor.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/models/admin_migrations/ops/mongodb/scripts.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/bots/ops/reference.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some(bot) = bots.get_mut(id) { [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/models/bots/ops/reference.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | } 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] 60 ~ match bots.get_mut(id) { Some(bot) => { [INFO] [stdout] 61 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(()) [INFO] [stdout] 68 ~ } _ => { [INFO] [stdout] 69 | Err(create_error!(NotFound)) [INFO] [stdout] 70 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channel_invites/model.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if let Ok(invite) = db.fetch_invite(code).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] 85 | return Ok(invite); [INFO] [stdout] 86 | } else if let Ok(server) = db.fetch_server(code).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] = 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/models/channel_invites/model.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | } else if let Ok(server) = db.fetch_server(code).await { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/models/channel_invites/model.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match db.fetch_invite(code).await { Ok(invite) => { [INFO] [stdout] 85 | return Ok(invite); [INFO] [stdout] 86 ~ } _ => { match db.fetch_server(code).await { Ok(server) => { [INFO] [stdout] 87 | if server.discoverable { [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channel_unreads/ops/reference.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(unread) = unreads.get_mut(&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/models/channel_unreads/ops/reference.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | } 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] 23 ~ match unreads.get_mut(&key) { Some(unread) => { [INFO] [stdout] 24 | unread.mentions = None; [INFO] [stdout] 25 | unread.last_id.replace(message_id.to_string()); [INFO] [stdout] 26 ~ } _ => { [INFO] [stdout] 27 | unreads.insert( [INFO] [stdout] ... [INFO] [stdout] 34 | ); [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channel_unreads/ops/reference.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(unread) = unreads.get_mut(&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/models/channel_unreads/ops/reference.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | } 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] 65 ~ match unreads.get_mut(&key) { Some(unread) => { [INFO] [stdout] 66 | unread.mentions.replace(message_ids.to_vec()); [INFO] [stdout] 67 ~ } _ => { [INFO] [stdout] 68 | unreads.insert( [INFO] [stdout] ... [INFO] [stdout] 75 | ); [INFO] [stdout] 76 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channel_webhooks/ops/reference.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(webhook) = webhooks.get_mut(webhook_id) { [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/models/channel_webhooks/ops/reference.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | } 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] 48 ~ match webhooks.get_mut(webhook_id) { Some(webhook) => { [INFO] [stdout] 49 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(()) [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | Err(create_error!(NotFound)) [INFO] [stdout] 58 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channels/ops/reference.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | if let Entry::Vacant(entry) = channels.entry(channel.id()) { [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/models/channels/ops/reference.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | } 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] 14 ~ match channels.entry(channel.id()) { Entry::Vacant(entry) => { [INFO] [stdout] 15 | entry.insert(channel.clone()); [INFO] [stdout] 16 | Ok(()) [INFO] [stdout] 17 ~ } _ => { [INFO] [stdout] 18 | Err(create_database_error!("insert", "channel")) [INFO] [stdout] 19 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channels/ops/reference.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(Channel::Group { recipients, .. }) = channels.get_mut(channel_id) { [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/models/channels/ops/reference.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 77 ~ match channels.get_mut(channel_id) { Some(Channel::Group { recipients, .. }) => { [INFO] [stdout] 78 | recipients.push(String::from(user_id)); [INFO] [stdout] 79 | Ok(()) [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | Err(create_error!(InvalidOperation)) [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channels/ops/reference.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(mut channel) = channels.get_mut(channel_id) { [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/models/channels/ops/reference.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | } 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] 93 ~ match channels.get_mut(channel_id) { Some(mut channel) => { [INFO] [stdout] 94 | match &mut channel { [INFO] [stdout] ... [INFO] [stdout] 111 | } [INFO] [stdout] 112 ~ } _ => { [INFO] [stdout] 113 | Err(create_error!(NotFound)) [INFO] [stdout] 114 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/channels/ops/reference.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(channel_data) = channels.get_mut(id) { [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/models/channels/ops/reference.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | } 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] 125 ~ match channels.get_mut(id) { Some(channel_data) => { [INFO] [stdout] 126 | channel_data.apply_options(channel.to_owned()); [INFO] [stdout] 127 | channel_data.remove_fields(remove); [INFO] [stdout] 128 | Ok(()) [INFO] [stdout] 129 ~ } _ => { [INFO] [stdout] 130 | Err(create_error!(NotFound)) [INFO] [stdout] 131 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/emojis/ops/reference.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some(bot) = emojis.get_mut(&emoji.id) { [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/models/emojis/ops/reference.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } 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] 60 ~ match emojis.get_mut(&emoji.id) { Some(bot) => { [INFO] [stdout] 61 | bot.parent = EmojiParent::Detached; [INFO] [stdout] 62 | Ok(()) [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | Err(create_error!(NotFound)) [INFO] [stdout] 65 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/files/ops/reference.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(file) = files.get_mut(id) { [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/models/files/ops/reference.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | } 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] 30 ~ match files.get_mut(id) { Some(file) => { [INFO] [stdout] 31 | if file.tag == tag { [INFO] [stdout] ... [INFO] [stdout] 43 | } [INFO] [stdout] 44 ~ } _ => { [INFO] [stdout] 45 | Err(create_error!(NotFound)) [INFO] [stdout] 46 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/files/ops/reference.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(file) = files.get_mut(id) { [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/models/files/ops/reference.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | } 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] 52 ~ match files.get_mut(id) { Some(file) => { [INFO] [stdout] 53 | file.reported = Some(true); [INFO] [stdout] 54 | Ok(()) [INFO] [stdout] 55 ~ } _ => { [INFO] [stdout] 56 | Err(create_error!(NotFound)) [INFO] [stdout] 57 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/files/ops/reference.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(file) = files.get_mut(id) { [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/models/files/ops/reference.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } 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] 63 ~ match files.get_mut(id) { Some(file) => { [INFO] [stdout] 64 | file.deleted = Some(true); [INFO] [stdout] 65 | Ok(()) [INFO] [stdout] 66 ~ } _ => { [INFO] [stdout] 67 | Err(create_error!(NotFound)) [INFO] [stdout] 68 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/files/ops/reference.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(file) = files.get_mut(id) { [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/models/files/ops/reference.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match files.get_mut(id) { Some(file) => { [INFO] [stdout] 83 | file.reported = Some(true); [INFO] [stdout] 84 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/model.rs:241:37 [INFO] [stdout] | [INFO] [stdout] 241 | let disallowed = if let Some(list) = &interactions.reactions { [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/models/messages/model.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | } 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 ~ let disallowed = match &interactions.reactions { Some(list) => { [INFO] [stdout] 242 | list.is_empty() [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | true [INFO] [stdout] 245 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/model.rs:277:16 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some(content) = &data.content { [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/models/messages/model.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 277 ~ match &data.content { Some(content) => { [INFO] [stdout] 278 | for capture in RE_MENTION.captures_iter(content) { [INFO] [stdout] ... [INFO] [stdout] 282 | } [INFO] [stdout] 283 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/model.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | if let Some(mention) = capture.get(1) { [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/models/messages/model.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 279 ~ match capture.get(1) { Some(mention) => { [INFO] [stdout] 280 | mentions.insert(mention.as_str().to_string()); [INFO] [stdout] 281 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/model.rs:561:16 [INFO] [stdout] | [INFO] [stdout] 561 | if let Some(reactions) = &self.reactions { [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/models/messages/model.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | } 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] 561 ~ match &self.reactions { Some(reactions) => { [INFO] [stdout] 562 | reactions.contains(emoji) [INFO] [stdout] 563 ~ } _ => { [INFO] [stdout] 564 | false [INFO] [stdout] 565 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(message_data) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } 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] 182 ~ match messages.get_mut(id) { Some(message_data) => { [INFO] [stdout] 183 | message_data.apply_options(message.to_owned()); [INFO] [stdout] 184 | Ok(()) [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | Err(create_error!(NotFound)) [INFO] [stdout] 187 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if let Some(message_data) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | } 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] 193 ~ match messages.get_mut(id) { Some(message_data) => { [INFO] [stdout] 194 | if let Some(embeds) = &append.embeds { [INFO] [stdout] ... [INFO] [stdout] 204 | Ok(()) [INFO] [stdout] 205 ~ } _ => { [INFO] [stdout] 206 | Err(create_error!(NotFound)) [INFO] [stdout] 207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | if let Some(message) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | } 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] 213 ~ match messages.get_mut(id) { Some(message) => { [INFO] [stdout] 214 | if let Some(users) = message.reactions.get_mut(emoji) { [INFO] [stdout] ... [INFO] [stdout] 222 | Ok(()) [INFO] [stdout] 223 ~ } _ => { [INFO] [stdout] 224 | Err(create_error!(NotFound)) [INFO] [stdout] 225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:214:16 [INFO] [stdout] | [INFO] [stdout] 214 | if let Some(users) = message.reactions.get_mut(emoji) { [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/models/messages/ops/reference.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | } 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] 214 ~ match message.reactions.get_mut(emoji) { Some(users) => { [INFO] [stdout] 215 | users.insert(user.to_string()); [INFO] [stdout] 216 ~ } _ => { [INFO] [stdout] 217 | message [INFO] [stdout] 218 | .reactions [INFO] [stdout] 219 | .insert(emoji.to_string(), IndexSet::from([user.to_string()])); [INFO] [stdout] 220 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | if let Some(message) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | } 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] 231 ~ match messages.get_mut(id) { Some(message) => { [INFO] [stdout] 232 | if let Some(users) = message.reactions.get_mut(emoji) { [INFO] [stdout] ... [INFO] [stdout] 236 | Ok(()) [INFO] [stdout] 237 ~ } _ => { [INFO] [stdout] 238 | Err(create_error!(NotFound)) [INFO] [stdout] 239 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/messages/ops/reference.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | if let Some(message) = messages.get_mut(id) { [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/models/messages/ops/reference.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | } 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] 245 ~ match messages.get_mut(id) { Some(message) => { [INFO] [stdout] 246 | message.reactions.remove(emoji); [INFO] [stdout] 247 | Ok(()) [INFO] [stdout] 248 ~ } _ => { [INFO] [stdout] 249 | Err(create_error!(NotFound)) [INFO] [stdout] 250 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/server_members/ops/reference.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(member) = server_members.get_mut(id) { [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/models/server_members/ops/reference.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | } 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] 95 ~ match server_members.get_mut(id) { Some(member) => { [INFO] [stdout] 96 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(()) [INFO] [stdout] 103 ~ } _ => { [INFO] [stdout] 104 | Err(create_error!(NotFound)) [INFO] [stdout] 105 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/servers/ops/reference.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(server) = servers.get_mut(id) { [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/models/servers/ops/reference.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | } 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] 51 ~ match servers.get_mut(id) { Some(server) => { [INFO] [stdout] 52 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(()) [INFO] [stdout] 59 ~ } _ => { [INFO] [stdout] 60 | Err(create_error!(NotFound)) [INFO] [stdout] 61 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/servers/ops/reference.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(server) = servers.get_mut(server_id) { [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/models/servers/ops/reference.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 77 ~ match servers.get_mut(server_id) { Some(server) => { [INFO] [stdout] 78 | server.roles.insert(role_id.to_string(), role.clone()); [INFO] [stdout] 79 | Ok(()) [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | Err(create_error!(NotFound)) [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/servers/ops/reference.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(server) = servers.get_mut(server_id) { [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/models/servers/ops/reference.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | } 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] 94 ~ match servers.get_mut(server_id) { Some(server) => { [INFO] [stdout] 95 | if let Some(role) = server.roles.get_mut(role_id) { [INFO] [stdout] ... [INFO] [stdout] 105 | } [INFO] [stdout] 106 ~ } _ => { [INFO] [stdout] 107 | Err(create_error!(NotFound)) [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/servers/ops/reference.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | if let Some(server) = servers.get_mut(server_id) { [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/models/servers/ops/reference.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | } 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] 116 ~ match servers.get_mut(server_id) { Some(server) => { [INFO] [stdout] 117 | if server.roles.remove(role_id).is_some() { [INFO] [stdout] ... [INFO] [stdout] 121 | } [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | Err(create_error!(NotFound)) [INFO] [stdout] 124 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/user_settings/ops/reference.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(settings) = user_settings.get_mut(id) { [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/models/user_settings/ops/reference.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | } 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] 28 ~ match user_settings.get_mut(id) { Some(settings) => { [INFO] [stdout] 29 | settings.extend(settings.clone()); [INFO] [stdout] 30 ~ } _ => { [INFO] [stdout] 31 | user_settings.insert(id.to_string(), settings.clone()); [INFO] [stdout] 32 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/models/users/ops/reference.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(user) = users.get_mut(id) { [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/models/users/ops/reference.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | } 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] 94 ~ match users.get_mut(id) { Some(user) => { [INFO] [stdout] 95 | for field in remove { [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(()) [INFO] [stdout] 102 ~ } _ => { [INFO] [stdout] 103 | Err(create_error!(NotFound)) [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/permissions.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | } else if let Ok(member) = self [INFO] [stdout] | _______________________^ [INFO] [stdout] 124 | | .database [INFO] [stdout] 125 | | .fetch_member(&server.id, &self.perspective.id) [INFO] [stdout] 126 | | .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/util/permissions.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | } 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] 123 ~ } else { match self [INFO] [stdout] 124 | .database [INFO] [stdout] 125 | .fetch_member(&server.id, &self.perspective.id) [INFO] [stdout] 126 | .await [INFO] [stdout] 127 ~ { Ok(member) => { [INFO] [stdout] 128 | self.member = Some(Cow::Owned(member)); [INFO] [stdout] 129 | true [INFO] [stdout] 130 ~ } _ => { [INFO] [stdout] 131 | false [INFO] [stdout] 132 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/permissions.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | if let Ok(user) = self.database.fetch_user(recipient_id).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/util/permissions.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match self.database.fetch_user(recipient_id).await { Ok(user) => { [INFO] [stdout] 330 | self.user.replace(Cow::Owned(user)); [INFO] [stdout] 331 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util/permissions.rs:364:24 [INFO] [stdout] | [INFO] [stdout] 364 | if let Ok(server) = self.database.fetch_server(server).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/util/permissions.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 364 ~ match self.database.fetch_server(server).await { Ok(server) => { [INFO] [stdout] 365 | self.server.replace(Cow::Owned(server)); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/events/client.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | if let Ok(members) = db.fetch_all_memberships(&id).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/events/client.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match db.fetch_all_memberships(&id).await { Ok(members) => { [INFO] [stdout] 249 | for member in members { [INFO] [stdout] 250 | self.clone().p(member.id.server).await; [INFO] [stdout] 251 | } [INFO] [stdout] 252 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/ack.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | while let Some(Data { [INFO] [stdout] | _______________^ [INFO] [stdout] 93 | | channel, [INFO] [stdout] 94 | | user, [INFO] [stdout] 95 | | mut event, [INFO] [stdout] 96 | | }) = Q.try_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/tasks/ack.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/last_message_id.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | while let Some(Data { channel, id, is_dm }) = Q.try_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/tasks/last_message_id.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/process_embeds.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(err) = Message::append( [INFO] [stdout] | ____________________^ [INFO] [stdout] 66 | | &db, [INFO] [stdout] 67 | | task.id, [INFO] [stdout] 68 | | task.channel, [INFO] [stdout] ... | [INFO] [stdout] 72 | | ) [INFO] [stdout] 73 | | .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/tasks/process_embeds.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match Message::append( [INFO] [stdout] 66 | &db, [INFO] [stdout] ... [INFO] [stdout] 73 | .await [INFO] [stdout] 74 ~ { Err(err) => { [INFO] [stdout] 75 | error!("Encountered an error appending to message: {:?}", err); [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/process_embeds.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | if let Ok(mut response) = isahc::get_async(format!( [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 145 | || "{host}/embed?url={}", [INFO] [stdout] 146 | || url_escape::encode_component(&link) [INFO] [stdout] 147 | || )) [INFO] [stdout] 148 | || .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/tasks/process_embeds.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | } 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] 144 ~ match isahc::get_async(format!( [INFO] [stdout] 145 | "{host}/embed?url={}", [INFO] [stdout] ... [INFO] [stdout] 148 | .await [INFO] [stdout] 149 ~ { Ok(mut response) => { [INFO] [stdout] 150 | drop(guard); [INFO] [stdout] 151 | response.json::().await.ok() [INFO] [stdout] 152 ~ } _ => { [INFO] [stdout] 153 | None [INFO] [stdout] 154 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/web_push.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if let Ok(sessions) = db.find_sessions_with_subscription(&task.recipients).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/tasks/web_push.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 68 ~ match db.find_sessions_with_subscription(&task.recipients).await { Ok(sessions) => { [INFO] [stdout] 69 | for session in sessions { [INFO] [stdout] ... [INFO] [stdout] 159 | } [INFO] [stdout] 160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/web_push.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(client) = &fcm_client { [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/tasks/web_push.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 73 ~ match &fcm_client { Some(client) => { [INFO] [stdout] 74 | let PushNotification { [INFO] [stdout] ... [INFO] [stdout] 100 | } [INFO] [stdout] 101 ~ } _ => { [INFO] [stdout] 102 | info!("No FCM token was specified!"); [INFO] [stdout] 103 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tasks/web_push.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | ... if let Err(err) = client.send(message_builder.finalize()).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/tasks/web_push.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | ... } 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] 96 ~ match client.send(message_builder.finalize()).await { Err(err) => { [INFO] [stdout] 97 | error!("Failed to send FCM notification! {:?}", err); [INFO] [stdout] 98 ~ } _ => { [INFO] [stdout] 99 | info!("Sent FCM notification to {:?}.", session.id); [INFO] [stdout] 100~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.00s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking onechatsocial-database v0.6.16 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/idempotency.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | gen::OpenApiGenerator, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 44 | r#gen::OpenApiGenerator, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/idempotency.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | gen::OpenApiGenerator, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 44 | r#gen::OpenApiGenerator, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/reference.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | fn json_schema(_gen: &mut schemars::gen::SchemaGenerator) -> Schema { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 76 | fn json_schema(_gen: &mut schemars::r#gen::SchemaGenerator) -> Schema { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/util/reference.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | fn json_schema(_gen: &mut schemars::gen::SchemaGenerator) -> Schema { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 76 | fn json_schema(_gen: &mut schemars::r#gen::SchemaGenerator) -> Schema { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:417:42 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn user(self, user: &'a User) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:425:51 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn channel(self, channel: &'a Channel) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:433:48 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn server(self, server: &'a Server) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:441:48 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn member(self, member: &'a Member) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:417:42 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn user(self, user: &'a User) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:425:51 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn channel(self, channel: &'a Channel) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:433:48 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn server(self, server: &'a Server) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/util/permissions.rs:441:48 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> DatabasePermissionQuery<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn member(self, member: &'a Member) -> DatabasePermissionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead. [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:653:54 [INFO] [stdout] | [INFO] [stdout] 653 | "joined_at": DateTime::now().to_rfc3339_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bson::DateTime::to_rfc3339_string`: Use try_to_rfc3339_string instead. [INFO] [stdout] --> src/models/admin_migrations/ops/mongodb/scripts.rs:653:54 [INFO] [stdout] | [INFO] [stdout] 653 | "joined_at": DateTime::now().to_rfc3339_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `onechatsocial-database` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `onechatsocial-database` (lib test) due to 3 previous errors; 5 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" "625c449487e00ce6f8a0ff812c4dca5264ec0dbf27f7188b50ff9390f00866e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625c449487e00ce6f8a0ff812c4dca5264ec0dbf27f7188b50ff9390f00866e4", kill_on_drop: false }` [INFO] [stdout] 625c449487e00ce6f8a0ff812c4dca5264ec0dbf27f7188b50ff9390f00866e4