Adapt the rust.go
code to the changes in FFI bindings
#482
Annotations
10 errors and 1 warning
Run Complement-Crypto unit tests:
internal/api/rust/rust.go#L310
cannot use timelineItem (variable of type *matrix_sdk_ffi.EventTimelineItem) as matrix_sdk_ffi.EventTimelineItem value in argument to eventTimelineItemToEvent
|
Run Complement-Crypto unit tests:
internal/api/rust/rust.go#L909
cannot use *ev (variable of type *matrix_sdk_ffi.EventTimelineItem) as matrix_sdk_ffi.EventTimelineItem value in argument to eventTimelineItemToEvent
|
Run Complement-Crypto unit tests:
internal/api/rust/rust.go#L915
invalid operation: cannot indirect item.EventId (value of type func() *string)
|
Run Complement-Crypto unit tests:
internal/api/rust/rust.go#L919
cannot use item.Sender (value of type func() string) as string value in struct literal
|
Run Complement-Crypto unit tests:
internal/api/rust/rust.go#L921
item.Content (value of type func() *matrix_sdk_ffi.TimelineItemContent) is not an interface
|
Run Complement-Crypto unit tests:
internal/api/rust/rust.go#L922
undefined: matrix_sdk_ffi.TimelineItemContentRoomMembership
|
Run Complement-Crypto unit tests:
internal/api/rust/rust.go#L949
undefined: matrix_sdk_ffi.TimelineItemContentUnableToDecrypt
|
Run Complement-Crypto unit tests:
internal/api/rust/rust.go#L955
content (variable of type func() *matrix_sdk_ffi.TimelineItemContent) is not an interface
|
Run Complement-Crypto unit tests:
internal/api/rust/rust.go#L956
undefined: matrix_sdk_ffi.TimelineItemContentMessage
|
Run Complement-Crypto unit tests
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading