Skip to content

Replace ServiceAddress by libsignal_protocol::ServiceId #1055

Replace ServiceAddress by libsignal_protocol::ServiceId

Replace ServiceAddress by libsignal_protocol::ServiceId #1055

GitHub Actions / clippy failed Oct 31, 2024 in 1s

clippy

3 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 0
Note 0
Help 0

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 20 in src/push_service/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find type `ServiceIdKind` in this scope

error[E0412]: cannot find type `ServiceIdKind` in this scope
  --> src/push_service/error.rs:20:24
   |
20 |     InvalidAddressType(ServiceIdKind),
   |                        ^^^^^^^^^^^^^ not found in this scope
   |
help: consider importing one of these enums
   |
1  + use crate::protocol::ServiceIdKind;
   |
1  + use libsignal_protocol::ServiceIdKind;
   |

Check failure on line 205 in src/account_manager.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `service_id_type` in this scope

error[E0425]: cannot find value `service_id_type` in this scope
   --> src/account_manager.rs:205:32
    |
205 |             .register_pre_keys(service_id_type, pre_key_state)
    |                                ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `service_id_kind`

Check failure on line 103 in src/account_manager.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `service_id_type` in this scope

error[E0425]: cannot find value `service_id_type` in this scope
   --> src/account_manager.rs:103:33
    |
103 |             .get_pre_key_status(service_id_type)
    |                                 ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `service_id_kind`