[INFO] fetching crate ruma-identity-service-api 0.9.0... [INFO] checking ruma-identity-service-api-0.9.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ruma-identity-service-api 0.9.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ruma-identity-service-api 0.9.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ruma-identity-service-api 0.9.0 [INFO] finished tweaking crates.io crate ruma-identity-service-api 0.9.0 [INFO] tweaked toml for crates.io crate ruma-identity-service-api 0.9.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a970646796a15ea609ce88491f256c3ff8c6bee40baa2e63c0bbb8860f1fa85 [INFO] running `Command { std: "docker" "start" "-a" "8a970646796a15ea609ce88491f256c3ff8c6bee40baa2e63c0bbb8860f1fa85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a970646796a15ea609ce88491f256c3ff8c6bee40baa2e63c0bbb8860f1fa85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a970646796a15ea609ce88491f256c3ff8c6bee40baa2e63c0bbb8860f1fa85", kill_on_drop: false }` [INFO] [stdout] 8a970646796a15ea609ce88491f256c3ff8c6bee40baa2e63c0bbb8860f1fa85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 124c739b676096dafb628974f03414d55d6aa5c14cf3b7cb9cc124dccb25de79 [INFO] running `Command { std: "docker" "start" "-a" "124c739b676096dafb628974f03414d55d6aa5c14cf3b7cb9cc124dccb25de79", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling js_int v0.2.2 [INFO] [stderr] Checking const_panic v0.2.9 [INFO] [stderr] Compiling ruma-common v0.13.0 [INFO] [stderr] Checking wildmatch v2.3.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking as_variant v1.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ruma-identifiers-validation v0.9.5 [INFO] [stderr] Checking typewit v1.9.0 [INFO] [stderr] Checking konst_kernel v0.3.9 [INFO] [stderr] Checking konst v0.3.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Checking serde_html_form v0.2.6 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling ruma-macros v0.13.0 [INFO] [stderr] Checking ruma-identity-service-api v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/bind_3pid.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/check_3pid_validity.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/email/create_email_validation_session.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/email/validate_email.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/email/validate_email_by_end_user.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/msisdn/create_msisdn_validation_session.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/msisdn/validate_msisdn.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/msisdn/validate_msisdn_by_phone_number.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/unbind_3pid.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/authentication/get_account_information.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/authentication/logout.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/authentication/register.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/discovery/get_server_status.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/discovery/get_supported_versions.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/invitation/sign_invitation_ed25519.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/invitation/store_invitation.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/keys/check_public_key_validity.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/keys/get_public_key.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/keys/validate_ephemeral_key.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/lookup/get_hash_parameters.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/lookup/lookup_3pid.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/tos/accept_terms_of_service.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/tos/get_terms_of_service.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [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/invitation/store_invitation.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 105 | medium: Medium, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | address: String, [INFO] [stdout] 107 | room_id: OwnedRoomId, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | sender: OwnedUserId, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | room_alias: None, [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/invitation/store_invitation.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 105 | medium: Medium, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | address: String, [INFO] [stdout] 107 | room_id: OwnedRoomId, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | sender: OwnedUserId, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | room_avatar_url: None, [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/invitation/store_invitation.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 105 | medium: Medium, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | address: String, [INFO] [stdout] 107 | room_id: OwnedRoomId, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | sender: OwnedUserId, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | room_type: None, [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/invitation/store_invitation.rs:121:36 [INFO] [stdout] | [INFO] [stdout] 105 | medium: Medium, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | address: String, [INFO] [stdout] 107 | room_id: OwnedRoomId, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | sender: OwnedUserId, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | sender_avatar_url: None, [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/invitation/store_invitation.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn email(address: String, room_id: OwnedRoomId, sender: OwnedUserId) -> Self { [INFO] [stdout] | -------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | Self::new(Medium::Email, address, room_id, sender) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruma-identity-service-api` (lib test) due to 6 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/bind_3pid.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/check_3pid_validity.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/email/create_email_validation_session.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/email/validate_email.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/email/validate_email_by_end_user.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/msisdn/create_msisdn_validation_session.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/msisdn/validate_msisdn.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/msisdn/validate_msisdn_by_phone_number.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/association/unbind_3pid.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/authentication/get_account_information.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/authentication/logout.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/authentication/register.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/discovery/get_server_status.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/discovery/get_supported_versions.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/invitation/sign_invitation_ed25519.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/invitation/store_invitation.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/keys/check_public_key_validity.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/keys/get_public_key.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/keys/validate_ephemeral_key.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/lookup/get_hash_parameters.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/lookup/lookup_3pid.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/tos/accept_terms_of_service.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | const METADATA: Metadata = metadata! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `METADATA` is never used [INFO] [stdout] --> src/tos/get_terms_of_service.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | const METADATA: Metadata = metadata! { [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/invitation/store_invitation.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 105 | medium: Medium, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | address: String, [INFO] [stdout] 107 | room_id: OwnedRoomId, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | sender: OwnedUserId, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | room_alias: None, [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/invitation/store_invitation.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 105 | medium: Medium, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | address: String, [INFO] [stdout] 107 | room_id: OwnedRoomId, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | sender: OwnedUserId, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | room_avatar_url: None, [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/invitation/store_invitation.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 105 | medium: Medium, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | address: String, [INFO] [stdout] 107 | room_id: OwnedRoomId, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | sender: OwnedUserId, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | room_type: None, [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/invitation/store_invitation.rs:121:36 [INFO] [stdout] | [INFO] [stdout] 105 | medium: Medium, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | address: String, [INFO] [stdout] 107 | room_id: OwnedRoomId, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | sender: OwnedUserId, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | sender_avatar_url: None, [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/invitation/store_invitation.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn email(address: String, room_id: OwnedRoomId, sender: OwnedUserId) -> Self { [INFO] [stdout] | -------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | Self::new(Medium::Email, address, room_id, sender) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruma-identity-service-api` (lib) due to 6 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "124c739b676096dafb628974f03414d55d6aa5c14cf3b7cb9cc124dccb25de79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "124c739b676096dafb628974f03414d55d6aa5c14cf3b7cb9cc124dccb25de79", kill_on_drop: false }` [INFO] [stdout] 124c739b676096dafb628974f03414d55d6aa5c14cf3b7cb9cc124dccb25de79