Skip to content

replace json with tls_codec serialization #34

replace json with tls_codec serialization

replace json with tls_codec serialization #34

Triggered via pull request June 12, 2024 20:35
Status Failure
Total duration 53s
Artifacts

test-node-bindings.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
test
Process completed with exit code 101.
mismatched types: xmtp_mls/src/storage/sql_key_store.rs#L465
error[E0308]: mismatched types --> xmtp_mls/src/storage/sql_key_store.rs:465:9 | 459 | TreeSync: traits::TreeSync<CURRENT_VERSION>, | -------- expected this type parameter ... 463 | ) -> Result<Option<TreeSync>, Self::Error> { | ------------------------------------- expected `std::result::Result<std::option::Option<TreeSync>, storage::sql_key_store::MemoryStorageError>` because of return type 464 | let key = build_key::<CURRENT_VERSION, &GroupId>(TREE_LABEL, group_id)?; 465 | self.read::<CURRENT_VERSION>(TREE_LABEL, &key) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Option<TreeSync>, ...>`, found `Result<Option<Vec<u8>>, ...>` | = note: expected enum `std::result::Result<std::option::Option<TreeSync>, _>` found enum `std::result::Result<std::option::Option<std::vec::Vec<u8>>, _>`
mismatched types: xmtp_mls/src/hpke.rs#L59
error[E0308]: mismatched types --> xmtp_mls/src/hpke.rs:59:25 | 59 | Ok(hash_ref) => hash_ref, | ^^^^^^^^ expected `Option<HashReference>`, found `Option<Vec<u8>>` | = note: expected enum `std::option::Option<openmls::prelude_test::hash_ref::HashReference>` found enum `std::option::Option<std::vec::Vec<u8>>`
mismatched types: xmtp_mls/src/storage/sql_key_store.rs#L465
error[E0308]: mismatched types --> xmtp_mls/src/storage/sql_key_store.rs:465:9 | 459 | TreeSync: traits::TreeSync<CURRENT_VERSION>, | -------- expected this type parameter ... 463 | ) -> Result<Option<TreeSync>, Self::Error> { | ------------------------------------- expected `std::result::Result<std::option::Option<TreeSync>, storage::sql_key_store::MemoryStorageError>` because of return type 464 | let key = build_key::<CURRENT_VERSION, &GroupId>(TREE_LABEL, group_id)?; 465 | self.read::<CURRENT_VERSION>(TREE_LABEL, &key) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Option<TreeSync>, ...>`, found `Result<Option<Vec<u8>>, ...>` | = note: expected enum `std::result::Result<std::option::Option<TreeSync>, _>` found enum `std::result::Result<std::option::Option<std::vec::Vec<u8>>, _>`
mismatched types: xmtp_mls/src/hpke.rs#L59
error[E0308]: mismatched types --> xmtp_mls/src/hpke.rs:59:25 | 59 | Ok(hash_ref) => hash_ref, | ^^^^^^^^ expected `Option<HashReference>`, found `Option<Vec<u8>>` | = note: expected enum `std::option::Option<openmls::prelude_test::hash_ref::HashReference>` found enum `std::option::Option<std::vec::Vec<u8>>`