Adapt the rust.go code to the changes in FFI bindings (v2) #485
Annotations
10 errors and 1 warning
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
|
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
|
internal/api/rust/rust.go#L915
invalid operation: cannot indirect item.EventId (value of type func() *string)
|
internal/api/rust/rust.go#L919
cannot use item.Sender (value of type func() string) as string value in struct literal
|
internal/api/rust/rust.go#L921
item.Content (value of type func() *matrix_sdk_ffi.TimelineItemContent) is not an interface
|
internal/api/rust/rust.go#L922
undefined: matrix_sdk_ffi.TimelineItemContentRoomMembership
|
internal/api/rust/rust.go#L949
undefined: matrix_sdk_ffi.TimelineItemContentUnableToDecrypt
|
internal/api/rust/rust.go#L955
content (variable of type func() *matrix_sdk_ffi.TimelineItemContent) is not an interface
|
internal/api/rust/rust.go#L956
undefined: matrix_sdk_ffi.TimelineItemContentMessage
|
|
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/
|
This job failed
Loading