Skip to content

Adapt the rust.go code to the changes in FFI bindings #482

Adapt the rust.go code to the changes in FFI bindings

Adapt the rust.go code to the changes in FFI bindings #482

Triggered via pull request September 25, 2024 12:05
Status Failure
Total duration 10m 32s
Artifacts 3

tests.yaml

on: pull_request
check-signoff  /  signoff
4s
check-signoff / signoff
Tests (JS only, latest)  /  tests
10m 22s
Tests (JS only, latest) / tests
Tests (Rust only, latest)  /  tests
5m 59s
Tests (Rust only, latest) / tests
Tests
4m 44s
Tests
Fit to window
Zoom out
Zoom in

Annotations

21 errors, 4 warnings, and 1 notice
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
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
Tests: internal/api/rust/rust.go#L915
invalid operation: cannot indirect item.EventId (value of type func() *string)
Tests: internal/api/rust/rust.go#L919
cannot use item.Sender (value of type func() string) as string value in struct literal
Tests: internal/api/rust/rust.go#L921
item.Content (value of type func() *matrix_sdk_ffi.TimelineItemContent) is not an interface
Tests: internal/api/rust/rust.go#L922
undefined: matrix_sdk_ffi.TimelineItemContentRoomMembership
Tests: internal/api/rust/rust.go#L949
undefined: matrix_sdk_ffi.TimelineItemContentUnableToDecrypt
Tests: internal/api/rust/rust.go#L955
content (variable of type func() *matrix_sdk_ffi.TimelineItemContent) is not an interface
Tests: internal/api/rust/rust.go#L956
undefined: matrix_sdk_ffi.TimelineItemContentMessage
Tests
Process completed with exit code 1.
Tests (Rust only, latest) / 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
Tests (Rust only, latest) / 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
Tests (Rust only, latest) / tests: internal/api/rust/rust.go#L915
invalid operation: cannot indirect item.EventId (value of type func() *string)
Tests (Rust only, latest) / tests: internal/api/rust/rust.go#L919
cannot use item.Sender (value of type func() string) as string value in struct literal
Tests (Rust only, latest) / tests: internal/api/rust/rust.go#L921
item.Content (value of type func() *matrix_sdk_ffi.TimelineItemContent) is not an interface
Tests (Rust only, latest) / tests: internal/api/rust/rust.go#L922
undefined: matrix_sdk_ffi.TimelineItemContentRoomMembership
Tests (Rust only, latest) / tests: internal/api/rust/rust.go#L949
undefined: matrix_sdk_ffi.TimelineItemContentUnableToDecrypt
Tests (Rust only, latest) / tests: internal/api/rust/rust.go#L955
content (variable of type func() *matrix_sdk_ffi.TimelineItemContent) is not an interface
Tests (Rust only, latest) / tests: internal/api/rust/rust.go#L956
undefined: matrix_sdk_ffi.TimelineItemContentMessage
Tests (Rust only, latest) / tests
Process completed with exit code 1.
Tests (JS only, latest) / tests
Process completed with exit code 1.
check-signoff / signoff
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests
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/
Tests (Rust only, latest) / tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@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/
Tests (JS only, latest) / tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-signoff / signoff
Pull request does not require sign-off.

Artifacts

Produced during runtime
Name Size
Logs - failure
281 Bytes
Logs - jssdk
10.2 MB
Logs - rust
269 Bytes