Skip to content

Initial Android MLS bindings #142

Initial Android MLS bindings

Initial Android MLS bindings #142

Triggered via pull request December 3, 2023 23:47
Status Success
Total duration 5m 50s
Artifacts

ci-image.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

17 errors
cannot move out of `self.group_id` which is behind a shared reference: src/lib.rs#L248
error[E0507]: cannot move out of `self.group_id` which is behind a shared reference --> src/lib.rs:248:13 | 248 | self.group_id, | ^^^^^^^^^^^^^ move occurs because `self.group_id` has type `std::vec::Vec<u8>`, which does not implement the `Copy` trait
cannot move out of `self.group_id` which is behind a shared reference: src/lib.rs#L233
error[E0507]: cannot move out of `self.group_id` which is behind a shared reference --> src/lib.rs:233:13 | 233 | self.group_id, | ^^^^^^^^^^^^^ move occurs because `self.group_id` has type `std::vec::Vec<u8>`, which does not implement the `Copy` trait
the trait bound `FfiMessage: std::convert::From<xmtp_mls::storage::group_message::StoredGroupMessage>` is not satisfied: src/lib.rs#L224
error[E0277]: the trait bound `FfiMessage: std::convert::From<xmtp_mls::storage::group_message::StoredGroupMessage>` is not satisfied --> src/lib.rs:224:28 | 224 | .map(|msg| msg.into()) | ^^^^ the trait `std::convert::From<xmtp_mls::storage::group_message::StoredGroupMessage>` is not implemented for `FfiMessage` | = help: the trait `std::convert::From<{type error}>` is implemented for `FfiMessage` = note: required for `xmtp_mls::storage::group_message::StoredGroupMessage` to implement `std::convert::Into<FfiMessage>`
cannot move out of `self.group_id` which is behind a shared reference: src/lib.rs#L197
error[E0507]: cannot move out of `self.group_id` which is behind a shared reference --> src/lib.rs:197:13 | 197 | self.group_id, | ^^^^^^^^^^^^^ move occurs because `self.group_id` has type `std::vec::Vec<u8>`, which does not implement the `Copy` trait
no method named `peer_address` found for struct `xmtp_mls::groups::MlsGroup` in the current scope: src/lib.rs#L151
error[E0599]: no method named `peer_address` found for struct `xmtp_mls::groups::MlsGroup` in the current scope --> src/lib.rs:151:33 | 151 | peer_address: convo.peer_address(), | ^^^^^^^^^^^^ method not found in `MlsGroup<'_, Client>`
no method named `convo_id` found for struct `xmtp_mls::groups::MlsGroup` in the current scope: src/lib.rs#L150
error[E0599]: no method named `convo_id` found for struct `xmtp_mls::groups::MlsGroup` in the current scope --> src/lib.rs:150:23 | 150 | id: convo.convo_id(), | ^^^^^^^^ method not found in `MlsGroup<'_, Client>`
no method named `wallet_address` found for struct `xmtp_mls::Client` in the current scope: src/lib.rs#L110
error[E0599]: no method named `wallet_address` found for struct `xmtp_mls::Client` in the current scope --> src/lib.rs:110:21 | 110 | xmtp_client.wallet_address() | ^^^^^^^^^^^^^^ method not found in `Client<Client>`
no method named `init` found for struct `xmtp_mls::Client` in the current scope: src/lib.rs#L104
error[E0599]: no method named `init` found for struct `xmtp_mls::Client` in the current scope --> src/lib.rs:104:10 | 103 | / xmtp_client 104 | | .init() | | -^^^^ method not found in `Client<Client>` | |_________| |
cannot find type `StoredMessage` in this scope: src/lib.rs#L278
error[E0412]: cannot find type `StoredMessage` in this scope --> src/lib.rs:278:18 | 278 | fn from(msg: StoredMessage) -> Self { | ^^^^^^^^^^^^^ not found in this scope
cannot find type `StoredMessage` in this scope: src/lib.rs#L277
error[E0412]: cannot find type `StoredMessage` in this scope --> src/lib.rs:277:11 | 277 | impl From<StoredMessage> for FfiMessage { | ^^^^^^^^^^^^^ not found in this scope | help: you might be missing a type parameter | 277 | impl<StoredMessage> From<StoredMessage> for FfiMessage { | +++++++++++++++
cannot find type `FfiConversation` in this scope: src/lib.rs#L262
error[E0412]: cannot find type `FfiConversation` in this scope --> src/lib.rs:262:6 | 136 | pub struct FfiConversations { | --------------------------- similarly named struct `FfiConversations` defined here ... 262 | impl FfiConversation { | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `FfiConversations`
cannot find type `FfiConversation` in this scope: src/lib.rs#L157
error[E0412]: cannot find type `FfiConversation` in this scope --> src/lib.rs:157:48 | 136 | pub struct FfiConversations { | --------------------------- similarly named struct `FfiConversations` defined here ... 157 | pub async fn list(&self) -> Result<Vec<Arc<FfiConversation>>, GenericError> { | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `FfiConversations`
cannot find type `FfiConversation` in this scope: src/lib.rs#L145
error[E0412]: cannot find type `FfiConversation` in this scope --> src/lib.rs:145:21 | 136 | pub struct FfiConversations { | --------------------------- similarly named struct `FfiConversations` defined here ... 145 | ) -> Result<Arc<FfiConversation>, GenericError> { | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `FfiConversations`
cannot find type `FfiConversation` in this scope: src/lib.rs#L161
error[E0412]: cannot find type `FfiConversation` in this scope --> src/lib.rs:161:33 | 136 | pub struct FfiConversations { | --------------------------- similarly named struct `FfiConversations` defined here ... 161 | let convo_list: Vec<Arc<FfiConversation>> = inner | ^^^^^^^^^^^^^^^ | help: a struct with a similar name exists | 161 | let convo_list: Vec<Arc<FfiConversations>> = inner | ~~~~~~~~~~~~~~~~ help: you might be missing a type parameter | 141 | impl<FfiConversation> FfiConversations { | +++++++++++++++++
cannot find type `FfiConversation` in this scope: src/lib.rs#L157
error[E0412]: cannot find type `FfiConversation` in this scope --> src/lib.rs:157:48 | 136 | pub struct FfiConversations { | --------------------------- similarly named struct `FfiConversations` defined here ... 157 | pub async fn list(&self) -> Result<Vec<Arc<FfiConversation>>, GenericError> { | ^^^^^^^^^^^^^^^ | help: a struct with a similar name exists | 157 | pub async fn list(&self) -> Result<Vec<Arc<FfiConversations>>, GenericError> { | ~~~~~~~~~~~~~~~~ help: you might be missing a type parameter | 141 | impl<FfiConversation> FfiConversations { | +++++++++++++++++
cannot find struct, variant or union type `FfiConversation` in this scope: src/lib.rs#L148
error[E0422]: cannot find struct, variant or union type `FfiConversation` in this scope --> src/lib.rs:148:28 | 136 | pub struct FfiConversations { | --------------------------- similarly named struct `FfiConversations` defined here ... 148 | let out = Arc::new(FfiConversation { | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `FfiConversations`
cannot find type `FfiConversation` in this scope: src/lib.rs#L145
error[E0412]: cannot find type `FfiConversation` in this scope --> src/lib.rs:145:21 | 136 | pub struct FfiConversations { | --------------------------- similarly named struct `FfiConversations` defined here ... 145 | ) -> Result<Arc<FfiConversation>, GenericError> { | ^^^^^^^^^^^^^^^ | help: a struct with a similar name exists | 145 | ) -> Result<Arc<FfiConversations>, GenericError> { | ~~~~~~~~~~~~~~~~ help: you might be missing a type parameter | 141 | impl<FfiConversation> FfiConversations { | +++++++++++++++++