[INFO] cloning repository https://github.com/thomhuds/matrix_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomhuds/matrix_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomhuds%2Fmatrix_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomhuds%2Fmatrix_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a02f31ef36e6e66bcc10f7d9d39b3db69465b3d4 [INFO] checking thomhuds/matrix_server against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomhuds%2Fmatrix_server" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomhuds/matrix_server on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomhuds/matrix_server [INFO] finished tweaking git repo https://github.com/thomhuds/matrix_server [INFO] tweaked toml for git repo https://github.com/thomhuds/matrix_server written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thomhuds/matrix_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rosehuds/tracing` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-rt v2.1.0 [INFO] [stderr] Downloaded enum_extract v0.1.1 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded actix-macros v0.2.0 [INFO] [stderr] Downloaded sled v0.34.6 [INFO] [stderr] Downloaded serde_canonical v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1da90b159604d28d06d30f4ec886bd44c86edee9451f58ad654af9576c9ca45 [INFO] running `Command { std: "docker" "start" "-a" "f1da90b159604d28d06d30f4ec886bd44c86edee9451f58ad654af9576c9ca45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1da90b159604d28d06d30f4ec886bd44c86edee9451f58ad654af9576c9ca45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1da90b159604d28d06d30f4ec886bd44c86edee9451f58ad654af9576c9ca45", kill_on_drop: false }` [INFO] [stdout] f1da90b159604d28d06d30f4ec886bd44c86edee9451f58ad654af9576c9ca45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68d73f2f0581e00260180bcffd5ddf0150ffac511ff0a09c96d10e8fd8a41c6a [INFO] running `Command { std: "docker" "start" "-a" "68d73f2f0581e00260180bcffd5ddf0150ffac511ff0a09c96d10e8fd8a41c6a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.61 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.4.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling async-trait v0.1.45 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tracing-core v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tracing-log v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rust-argon2 v0.5.1 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking enum_extract v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling tracing-attributes v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking actix-rt v2.1.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tracing v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking tracing-serde v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking serde_canonical v0.1.0 [INFO] [stderr] Checking tracing-error v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking actix-cors v0.5.4 [INFO] [stderr] Checking kerux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MxidError` [INFO] [stdout] --> src/util/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mxid::{MatrixId, MxidError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MxidError` [INFO] [stdout] --> src/util/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mxid::{MatrixId, MxidError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `login_type`, `token`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LoginRequest { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | #[serde(rename = "type")] [INFO] [stdout] 83 | login_type: LoginType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | device_id: Option, [INFO] [stdout] 88 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `medium` and `address` are never read [INFO] [stdout] --> src/client_api/auth.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | ThirdParty { medium: String, address: String }, [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `country` and `phone` are never read [INFO] [stdout] --> src/client_api/auth.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | Phone { country: String, phone: String }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth`, `bind_email`, `bind_msisdn`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct RegisterRequest { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 176 | auth: serde_json::Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | bind_email: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 178 | bind_msisdn: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `room_alias_name` and `invite_3pid` are never read [INFO] [stdout] --> src/client_api/room.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CreateRoomRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 21 | visibility: RoomVisibility, [INFO] [stdout] 22 | room_alias_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | invite_3pid: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_server`, `medium`, and `address` are never read [INFO] [stdout] --> src/client_api/room.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Invite3pid { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 44 | id_server: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | medium: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `set_presence` are never read [INFO] [stdout] --> src/client_api/room_events.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SyncRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | #[serde(default)] [INFO] [stdout] 25 | filter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | set_presence: SetPresence, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyncRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/client_api/room_events.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 425 | pub struct MembersRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 426 | at: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/client_api/user.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct UserDirSearchRequest { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Email` and `Msisdn` are never constructed [INFO] [stdout] --> src/client_api/user.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Medium { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 217 | Email, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 218 | // Phone number, including calling code [INFO] [stdout] 219 | Msisdn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/room.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct InvalidMembership(String); [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidMembership` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `replace_value` is never used [INFO] [stdout] --> src/storage/sled.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 29 | trait TreeExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn replace_value, V: DeserializeOwned + Serialize>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `login_type`, `token`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LoginRequest { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | #[serde(rename = "type")] [INFO] [stdout] 83 | login_type: LoginType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | device_id: Option, [INFO] [stdout] 88 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `medium` and `address` are never read [INFO] [stdout] --> src/client_api/auth.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | ThirdParty { medium: String, address: String }, [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `country` and `phone` are never read [INFO] [stdout] --> src/client_api/auth.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | Phone { country: String, phone: String }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth`, `bind_email`, `bind_msisdn`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct RegisterRequest { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 176 | auth: serde_json::Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | bind_email: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 178 | bind_msisdn: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `room_alias_name` and `invite_3pid` are never read [INFO] [stdout] --> src/client_api/room.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CreateRoomRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 21 | visibility: RoomVisibility, [INFO] [stdout] 22 | room_alias_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | invite_3pid: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_server`, `medium`, and `address` are never read [INFO] [stdout] --> src/client_api/room.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Invite3pid { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 44 | id_server: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | medium: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `set_presence` are never read [INFO] [stdout] --> src/client_api/room_events.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SyncRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | #[serde(default)] [INFO] [stdout] 25 | filter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | set_presence: SetPresence, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyncRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/client_api/room_events.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 425 | pub struct MembersRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 426 | at: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/client_api/user.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct UserDirSearchRequest { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Email` and `Msisdn` are never constructed [INFO] [stdout] --> src/client_api/user.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Medium { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 217 | Email, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 218 | // Phone number, including calling code [INFO] [stdout] 219 | Msisdn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/room.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct InvalidMembership(String); [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidMembership` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_cursed_room` is never used [INFO] [stdout] --> src/state/mod.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 665 | async fn construct_cursed_room( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `replace_value` is never used [INFO] [stdout] --> src/storage/sled.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 29 | trait TreeExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn replace_value, V: DeserializeOwned + Serialize>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.79s [INFO] running `Command { std: "docker" "inspect" "68d73f2f0581e00260180bcffd5ddf0150ffac511ff0a09c96d10e8fd8a41c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d73f2f0581e00260180bcffd5ddf0150ffac511ff0a09c96d10e8fd8a41c6a", kill_on_drop: false }` [INFO] [stdout] 68d73f2f0581e00260180bcffd5ddf0150ffac511ff0a09c96d10e8fd8a41c6a [INFO] checking thomhuds/matrix_server against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomhuds%2Fmatrix_server" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomhuds/matrix_server on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomhuds/matrix_server [INFO] finished tweaking git repo https://github.com/thomhuds/matrix_server [INFO] tweaked toml for git repo https://github.com/thomhuds/matrix_server written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thomhuds/matrix_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa0afaad53fe40bfe7876767601790e367839c42363dddd84fa6163cfd204edd [INFO] running `Command { std: "docker" "start" "-a" "aa0afaad53fe40bfe7876767601790e367839c42363dddd84fa6163cfd204edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa0afaad53fe40bfe7876767601790e367839c42363dddd84fa6163cfd204edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa0afaad53fe40bfe7876767601790e367839c42363dddd84fa6163cfd204edd", kill_on_drop: false }` [INFO] [stdout] aa0afaad53fe40bfe7876767601790e367839c42363dddd84fa6163cfd204edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33867652129de8cb23d9bda9e7625082adb5a26bf2c5d1c6cbc252e1801c486d [INFO] running `Command { std: "docker" "start" "-a" "33867652129de8cb23d9bda9e7625082adb5a26bf2c5d1c6cbc252e1801c486d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.61 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking miniz_oxide v0.4.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling async-trait v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tracing-core v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tracing-log v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking rust-argon2 v0.5.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking enum_extract v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling tracing-attributes v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking actix-rt v2.1.0 [INFO] [stderr] Checking tracing v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking tracing-serde v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking serde_canonical v0.1.0 [INFO] [stderr] Checking tracing-error v0.2.0 (https://github.com/rosehuds/tracing#6b5f4521) [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking actix-cors v0.5.4 [INFO] [stderr] Checking kerux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MxidError` [INFO] [stdout] --> src/util/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mxid::{MatrixId, MxidError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MxidError` [INFO] [stdout] --> src/util/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mxid::{MatrixId, MxidError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `login_type`, `token`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LoginRequest { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | #[serde(rename = "type")] [INFO] [stdout] 83 | login_type: LoginType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | device_id: Option, [INFO] [stdout] 88 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `medium` and `address` are never read [INFO] [stdout] --> src/client_api/auth.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | ThirdParty { medium: String, address: String }, [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `country` and `phone` are never read [INFO] [stdout] --> src/client_api/auth.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | Phone { country: String, phone: String }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth`, `bind_email`, `bind_msisdn`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct RegisterRequest { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 176 | auth: serde_json::Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | bind_email: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 178 | bind_msisdn: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `room_alias_name` and `invite_3pid` are never read [INFO] [stdout] --> src/client_api/room.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CreateRoomRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 21 | visibility: RoomVisibility, [INFO] [stdout] 22 | room_alias_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | invite_3pid: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_server`, `medium`, and `address` are never read [INFO] [stdout] --> src/client_api/room.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Invite3pid { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 44 | id_server: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | medium: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `set_presence` are never read [INFO] [stdout] --> src/client_api/room_events.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SyncRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | #[serde(default)] [INFO] [stdout] 25 | filter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | set_presence: SetPresence, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyncRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/client_api/room_events.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 425 | pub struct MembersRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 426 | at: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/client_api/user.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct UserDirSearchRequest { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Email` and `Msisdn` are never constructed [INFO] [stdout] --> src/client_api/user.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Medium { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 217 | Email, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 218 | // Phone number, including calling code [INFO] [stdout] 219 | Msisdn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/room.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct InvalidMembership(String); [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidMembership` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `replace_value` is never used [INFO] [stdout] --> src/storage/sled.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 29 | trait TreeExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn replace_value, V: DeserializeOwned + Serialize>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 68 | let server_state = Arc::new(ServerState { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | / App::new() [INFO] [stdout] 77 | | .data(Arc::clone(&server_state)) [INFO] [stdout] 78 | | .data(JsonConfig::default().error_handler(|e, _req| Error::from(e).into())) [INFO] [stdout] 79 | | .service(web::scope("/_matrix/client").configure(client_api::configure_endpoints)) [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:78:65 [INFO] [stdout] | [INFO] [stdout] 78 | .data(JsonConfig::default().error_handler(|e, _req| Error::from(e).into())) [INFO] [stdout] | - ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 115 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | req: Json, [INFO] [stdout] 117 | ) -> Result, Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 118 | | let req = req.into_inner(); [INFO] [stdout] 119 | | [INFO] [stdout] 120 | | let username = match req.identifier { [INFO] [stdout] ... | [INFO] [stdout] 152 | | })) [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:157:99 [INFO] [stdout] | [INFO] [stdout] 157 | pub async fn logout(state: Data>, token: AccessToken) -> Result, Error> { [INFO] [stdout] | _____________________-----_________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 159 | | db.delete_access_token(token.0).await?; [INFO] [stdout] 160 | | Ok(Json(())) [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 166 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | token: AccessToken, [INFO] [stdout] 168 | ) -> Result, Error> { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 169 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 170 | | db.delete_all_access_tokens(token.0).await?; [INFO] [stdout] 171 | | Ok(Json(())) [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 189 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | req: Json, [INFO] [stdout] 191 | http_req: HttpRequest, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 193 | | let req = req.into_inner(); [INFO] [stdout] 194 | | let query_string = http_req.query_string(); [INFO] [stdout] 195 | | match query_string.split('&').find(|s| s.starts_with("kind=")) { [INFO] [stdout] ... | [INFO] [stdout] 227 | | }))) [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/ephemeral.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 27 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | ) -> Result, Error> { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 32 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 33 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::Forbidden)?; [INFO] [stdout] 34 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(Json(json!({}))) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 69 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 73 | | let req = req.into_inner(); [INFO] [stdout] 74 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 75 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] ... | [INFO] [stdout] 267 | | Ok(Json(json!({ "room_id": room_id }))) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 278 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 283 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 284 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 285 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 309 | | Ok(Json(json!({}))) [INFO] [stdout] 310 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:318:37 [INFO] [stdout] | [INFO] [stdout] 315 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 318 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 319 | | //TODO: implement server_name and third_party_signed args, and room aliases [INFO] [stdout] 320 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 321 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] ... | [INFO] [stdout] 342 | | Ok(Json(serde_json::json!({ "room_id": room_id_or_alias }))) [INFO] [stdout] 343 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 146 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | ) -> Result, Error> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 150 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 151 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 152 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 333 | | }; [INFO] [stdout] 334 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:342:33 [INFO] [stdout] | [INFO] [stdout] 339 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 342 | ) -> Result, Error> { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 343 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 344 | | [INFO] [stdout] 345 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] ... | [INFO] [stdout] 356 | | } [INFO] [stdout] 357 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:383:33 [INFO] [stdout] | [INFO] [stdout] 380 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | ) -> Result, Error> { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 384 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 385 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 386 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 399 | | } [INFO] [stdout] 400 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:408:38 [INFO] [stdout] | [INFO] [stdout] 405 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | ) -> Result>, Error> { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 409 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 410 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 411 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 421 | | Ok(Json(state)) [INFO] [stdout] 422 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:445:43 [INFO] [stdout] | [INFO] [stdout] 441 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | ) -> Result, Error> { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 446 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 447 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 448 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 475 | | Ok(Json(MembersResponse { chunk: state })) [INFO] [stdout] 476 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:490:45 [INFO] [stdout] | [INFO] [stdout] 486 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 490 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 491 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 492 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 493 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 508 | | Ok(Json(SendEventResponse { event_id })) [INFO] [stdout] 509 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:518:45 [INFO] [stdout] | [INFO] [stdout] 514 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 518 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 519 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 520 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 521 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 541 | | Ok(Json(SendEventResponse { event_id })) [INFO] [stdout] 542 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 21 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Path(user_id): Path, [INFO] [stdout] 23 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 24 | | if user_id.domain() != state.config.domain { [INFO] [stdout] 25 | | return Err(ErrorKind::Unimplemented.into()); [INFO] [stdout] 26 | | } [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(Json(json!({ "avatar_url": avatar_url }))) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 45 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | ) -> Result, Error> { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 50 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 51 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 52 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 69 | | Ok(Json(())) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 75 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Path(user_id): Path, [INFO] [stdout] 77 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 78 | | if user_id.domain() != state.config.domain { [INFO] [stdout] 79 | | return Err(ErrorKind::Unknown("User does not live on this homeserver".to_string()).into()); [INFO] [stdout] 80 | | } [INFO] [stdout] ... | [INFO] [stdout] 93 | | Ok(Json(json!({ "displayname": displayname }))) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 99 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | ) -> Result, Error> { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 104 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 105 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 106 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 123 | | Ok(Json(())) [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 129 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Path(user_id): Path, [INFO] [stdout] 131 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 132 | | if user_id.domain() != state.config.domain { [INFO] [stdout] 133 | | return Err(ErrorKind::Unknown("User does not live on this homeserver".to_string()).into()); [INFO] [stdout] 134 | | } [INFO] [stdout] ... | [INFO] [stdout] 149 | | Ok(Json(response.into())) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 178 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | req: Json, [INFO] [stdout] 180 | ) -> Result, Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 181 | | let req = req.into_inner(); [INFO] [stdout] 182 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 183 | | let searched_user = MatrixId::new(&req.search_term, &state.config.domain) [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn from(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let spantrace = tracing_error::SpanTrace::capture(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Error { [INFO] [stdout] 24 | inner: inner.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events/room.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events/room.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events/room.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events/room.rs:282:24 [INFO] [stdout] | [INFO] [stdout] 282 | #[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state/mod.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(db: Box) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Self { [INFO] [stdout] 89 | cache: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state/mod.rs:100:94 [INFO] [stdout] | [INFO] [stdout] 98 | #[tracing::instrument(level = tracing::Level::DEBUG, skip(self))] [INFO] [stdout] | ----------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | #[async_recursion::async_recursion] [INFO] [stdout] 100 | pub async fn resolve_v2(&self, room_id: &str, events: &[String]) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 101 | | if events.len() == 0 { [INFO] [stdout] 102 | | return Ok(State { [INFO] [stdout] 103 | | room_id: room_id.to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 322 | | Ok(partially_resolved_state) // not partially anymore lmao [INFO] [stdout] 323 | | } [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/mem.rs:411:76 [INFO] [stdout] | [INFO] [stdout] 411 | async fn set_batch(&self, id: &str, batch: Batch) -> Result<(), Error> { [INFO] [stdout] | _________________________________________------------_______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 412 | | let mut db = self.inner.write().await; [INFO] [stdout] 413 | | let _ = db.batches.insert(String::from(id), batch); [INFO] [stdout] 414 | | Ok(()) [INFO] [stdout] 415 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_value, V: DeserializeOwned>(&self, key: K) -> Result, Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | / self.get(key)? [INFO] [stdout] 58 | | .map(|bytes| DefaultOptions::new().deserialize(&bytes)) [INFO] [stdout] 59 | | .transpose() [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 65 | key: K, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | value: V, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | / self.insert(key, &*bytes)? [INFO] [stdout] 70 | | .map(|bytes| DefaultOptions::new().deserialize(&bytes)) [INFO] [stdout] 71 | | .transpose() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 103 | key: K, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ) -> Result, Self::Error> { [INFO] [stdout] 105 | / self.get(key)? [INFO] [stdout] 106 | | .map(|bytes| DefaultOptions::new().deserialize(&bytes)) [INFO] [stdout] 107 | | .transpose() [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 113 | key: K, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | value: V, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | / self.insert(IVec::from(key.as_ref()), &*bytes)? [INFO] [stdout] 120 | | .map(|bytes| DefaultOptions::new().deserialize(&bytes)) [INFO] [stdout] 121 | | .transpose() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 187 | let db = sled::open(path)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | Ok(Self(SledStorageHandle { [INFO] [stdout] | ____________^ [INFO] [stdout] 189 | | all: db.clone(), [INFO] [stdout] 190 | | events: db.open_tree("events")?, [INFO] [stdout] 191 | | rooms: db.open_tree("rooms")?, [INFO] [stdout] ... | [INFO] [stdout] 198 | | ephemeral: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] 199 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:562:76 [INFO] [stdout] | [INFO] [stdout] 562 | async fn set_batch(&self, id: &str, batch: Batch) -> Result<(), Error> { [INFO] [stdout] | _________________________________________------------_______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 563 | | self.batches.overwrite_value(id, batch).map(drop) [INFO] [stdout] 564 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/validate/auth.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `login_type`, `token`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct LoginRequest { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | #[serde(rename = "type")] [INFO] [stdout] 83 | login_type: LoginType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | device_id: Option, [INFO] [stdout] 88 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `medium` and `address` are never read [INFO] [stdout] --> src/client_api/auth.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | ThirdParty { medium: String, address: String }, [INFO] [stdout] | ---------- ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `country` and `phone` are never read [INFO] [stdout] --> src/client_api/auth.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | Phone { country: String, phone: String }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth`, `bind_email`, `bind_msisdn`, and `initial_device_display_name` are never read [INFO] [stdout] --> src/client_api/auth.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct RegisterRequest { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 176 | auth: serde_json::Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 177 | bind_email: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 178 | bind_msisdn: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | initial_device_display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `room_alias_name` and `invite_3pid` are never read [INFO] [stdout] --> src/client_api/room.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CreateRoomRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 21 | visibility: RoomVisibility, [INFO] [stdout] 22 | room_alias_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | invite_3pid: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_server`, `medium`, and `address` are never read [INFO] [stdout] --> src/client_api/room.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Invite3pid { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 44 | id_server: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | medium: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter` and `set_presence` are never read [INFO] [stdout] --> src/client_api/room_events.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SyncRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 24 | #[serde(default)] [INFO] [stdout] 25 | filter: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | set_presence: SetPresence, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyncRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `at` is never read [INFO] [stdout] --> src/client_api/room_events.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 425 | pub struct MembersRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 426 | at: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/client_api/user.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct UserDirSearchRequest { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Email` and `Msisdn` are never constructed [INFO] [stdout] --> src/client_api/user.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Medium { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 217 | Email, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 218 | // Phone number, including calling code [INFO] [stdout] 219 | Msisdn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events/room.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct InvalidMembership(String); [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidMembership` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_cursed_room` is never used [INFO] [stdout] --> src/state/mod.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 665 | async fn construct_cursed_room( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `replace_value` is never used [INFO] [stdout] --> src/storage/sled.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 29 | trait TreeExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn replace_value, V: DeserializeOwned + Serialize>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 68 | let server_state = Arc::new(ServerState { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | / App::new() [INFO] [stdout] 77 | | .data(Arc::clone(&server_state)) [INFO] [stdout] 78 | | .data(JsonConfig::default().error_handler(|e, _req| Error::from(e).into())) [INFO] [stdout] 79 | | .service(web::scope("/_matrix/client").configure(client_api::configure_endpoints)) [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:78:65 [INFO] [stdout] | [INFO] [stdout] 78 | .data(JsonConfig::default().error_handler(|e, _req| Error::from(e).into())) [INFO] [stdout] | - ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 115 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | req: Json, [INFO] [stdout] 117 | ) -> Result, Error> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 118 | | let req = req.into_inner(); [INFO] [stdout] 119 | | [INFO] [stdout] 120 | | let username = match req.identifier { [INFO] [stdout] ... | [INFO] [stdout] 152 | | })) [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:157:99 [INFO] [stdout] | [INFO] [stdout] 157 | pub async fn logout(state: Data>, token: AccessToken) -> Result, Error> { [INFO] [stdout] | _____________________-----_________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 159 | | db.delete_access_token(token.0).await?; [INFO] [stdout] 160 | | Ok(Json(())) [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 166 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | token: AccessToken, [INFO] [stdout] 168 | ) -> Result, Error> { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 169 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 170 | | db.delete_all_access_tokens(token.0).await?; [INFO] [stdout] 171 | | Ok(Json(())) [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/auth.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 189 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | req: Json, [INFO] [stdout] 191 | http_req: HttpRequest, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 193 | | let req = req.into_inner(); [INFO] [stdout] 194 | | let query_string = http_req.query_string(); [INFO] [stdout] 195 | | match query_string.split('&').find(|s| s.starts_with("kind=")) { [INFO] [stdout] ... | [INFO] [stdout] 227 | | }))) [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/ephemeral.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 27 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | ) -> Result, Error> { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 32 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 33 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::Forbidden)?; [INFO] [stdout] 34 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(Json(json!({}))) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kerux` (bin "kerux") due to 43 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 69 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 73 | | let req = req.into_inner(); [INFO] [stdout] 74 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 75 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] ... | [INFO] [stdout] 267 | | Ok(Json(json!({ "room_id": room_id }))) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 278 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 283 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 284 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 285 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 309 | | Ok(Json(json!({}))) [INFO] [stdout] 310 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room.rs:318:37 [INFO] [stdout] | [INFO] [stdout] 315 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 318 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 319 | | //TODO: implement server_name and third_party_signed args, and room aliases [INFO] [stdout] 320 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 321 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] ... | [INFO] [stdout] 342 | | Ok(Json(serde_json::json!({ "room_id": room_id_or_alias }))) [INFO] [stdout] 343 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 146 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | ) -> Result, Error> { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 150 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 151 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 152 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 333 | | }; [INFO] [stdout] 334 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:342:33 [INFO] [stdout] | [INFO] [stdout] 339 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 342 | ) -> Result, Error> { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 343 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 344 | | [INFO] [stdout] 345 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] ... | [INFO] [stdout] 356 | | } [INFO] [stdout] 357 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:383:33 [INFO] [stdout] | [INFO] [stdout] 380 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | ) -> Result, Error> { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 384 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 385 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 386 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 399 | | } [INFO] [stdout] 400 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:408:38 [INFO] [stdout] | [INFO] [stdout] 405 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | ) -> Result>, Error> { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 409 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 410 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 411 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 421 | | Ok(Json(state)) [INFO] [stdout] 422 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:445:43 [INFO] [stdout] | [INFO] [stdout] 441 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | ) -> Result, Error> { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 446 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 447 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 448 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 475 | | Ok(Json(MembersResponse { chunk: state })) [INFO] [stdout] 476 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:490:45 [INFO] [stdout] | [INFO] [stdout] 486 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 490 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 491 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 492 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 493 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 508 | | Ok(Json(SendEventResponse { event_id })) [INFO] [stdout] 509 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/room_events.rs:518:45 [INFO] [stdout] | [INFO] [stdout] 514 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 518 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 519 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 520 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 521 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 541 | | Ok(Json(SendEventResponse { event_id })) [INFO] [stdout] 542 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 21 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Path(user_id): Path, [INFO] [stdout] 23 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 24 | | if user_id.domain() != state.config.domain { [INFO] [stdout] 25 | | return Err(ErrorKind::Unimplemented.into()); [INFO] [stdout] 26 | | } [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(Json(json!({ "avatar_url": avatar_url }))) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 45 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | ) -> Result, Error> { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 50 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 51 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 52 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 69 | | Ok(Json(())) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 75 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Path(user_id): Path, [INFO] [stdout] 77 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 78 | | if user_id.domain() != state.config.domain { [INFO] [stdout] 79 | | return Err(ErrorKind::Unknown("User does not live on this homeserver".to_string()).into()); [INFO] [stdout] 80 | | } [INFO] [stdout] ... | [INFO] [stdout] 93 | | Ok(Json(json!({ "displayname": displayname }))) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 99 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | ) -> Result, Error> { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 104 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 105 | | let username = db.try_auth(token.0).await?.ok_or(ErrorKind::UnknownToken)?; [INFO] [stdout] 106 | | Span::current().record("username", &username.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 123 | | Ok(Json(())) [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 129 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Path(user_id): Path, [INFO] [stdout] 131 | ) -> Result, Error> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 132 | | if user_id.domain() != state.config.domain { [INFO] [stdout] 133 | | return Err(ErrorKind::Unknown("User does not live on this homeserver".to_string()).into()); [INFO] [stdout] 134 | | } [INFO] [stdout] ... | [INFO] [stdout] 149 | | Ok(Json(response.into())) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_api/user.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 178 | state: Data>, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | req: Json, [INFO] [stdout] 180 | ) -> Result, Error> { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 181 | | let req = req.into_inner(); [INFO] [stdout] 182 | | let db = state.db_pool.get_handle().await?; [INFO] [stdout] 183 | | let searched_user = MatrixId::new(&req.search_term, &state.config.domain) [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn from(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let spantrace = tracing_error::SpanTrace::capture(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Error { [INFO] [stdout] 24 | inner: inner.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events/room.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events/room.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events/room.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events/room.rs:282:24 [INFO] [stdout] | [INFO] [stdout] 282 | #[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state/mod.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(db: Box) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Self { [INFO] [stdout] 89 | cache: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state/mod.rs:100:94 [INFO] [stdout] | [INFO] [stdout] 98 | #[tracing::instrument(level = tracing::Level::DEBUG, skip(self))] [INFO] [stdout] | ----------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | #[async_recursion::async_recursion] [INFO] [stdout] 100 | pub async fn resolve_v2(&self, room_id: &str, events: &[String]) -> Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 101 | | if events.len() == 0 { [INFO] [stdout] 102 | | return Ok(State { [INFO] [stdout] 103 | | room_id: room_id.to_owned(), [INFO] [stdout] ... | [INFO] [stdout] 322 | | Ok(partially_resolved_state) // not partially anymore lmao [INFO] [stdout] 323 | | } [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/mem.rs:411:76 [INFO] [stdout] | [INFO] [stdout] 411 | async fn set_batch(&self, id: &str, batch: Batch) -> Result<(), Error> { [INFO] [stdout] | _________________________________________------------_______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 412 | | let mut db = self.inner.write().await; [INFO] [stdout] 413 | | let _ = db.batches.insert(String::from(id), batch); [INFO] [stdout] 414 | | Ok(()) [INFO] [stdout] 415 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_value, V: DeserializeOwned>(&self, key: K) -> Result, Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | / self.get(key)? [INFO] [stdout] 58 | | .map(|bytes| DefaultOptions::new().deserialize(&bytes)) [INFO] [stdout] 59 | | .transpose() [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 65 | key: K, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | value: V, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | / self.insert(key, &*bytes)? [INFO] [stdout] 70 | | .map(|bytes| DefaultOptions::new().deserialize(&bytes)) [INFO] [stdout] 71 | | .transpose() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 103 | key: K, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ) -> Result, Self::Error> { [INFO] [stdout] 105 | / self.get(key)? [INFO] [stdout] 106 | | .map(|bytes| DefaultOptions::new().deserialize(&bytes)) [INFO] [stdout] 107 | | .transpose() [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 113 | key: K, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | value: V, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | / self.insert(IVec::from(key.as_ref()), &*bytes)? [INFO] [stdout] 120 | | .map(|bytes| DefaultOptions::new().deserialize(&bytes)) [INFO] [stdout] 121 | | .transpose() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 187 | let db = sled::open(path)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | Ok(Self(SledStorageHandle { [INFO] [stdout] | ____________^ [INFO] [stdout] 189 | | all: db.clone(), [INFO] [stdout] 190 | | events: db.open_tree("events")?, [INFO] [stdout] 191 | | rooms: db.open_tree("rooms")?, [INFO] [stdout] ... | [INFO] [stdout] 198 | | ephemeral: Arc::new(Mutex::new(HashMap::new())), [INFO] [stdout] 199 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage/sled.rs:562:76 [INFO] [stdout] | [INFO] [stdout] 562 | async fn set_batch(&self, id: &str, batch: Batch) -> Result<(), Error> { [INFO] [stdout] | _________________________________________------------_______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 563 | | self.batches.overwrite_value(id, batch).map(drop) [INFO] [stdout] 564 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/validate/auth.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kerux` (bin "kerux" test) due to 43 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "33867652129de8cb23d9bda9e7625082adb5a26bf2c5d1c6cbc252e1801c486d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33867652129de8cb23d9bda9e7625082adb5a26bf2c5d1c6cbc252e1801c486d", kill_on_drop: false }` [INFO] [stdout] 33867652129de8cb23d9bda9e7625082adb5a26bf2c5d1c6cbc252e1801c486d