uniffi-rs icon indicating copy to clipboard operation
uniffi-rs copied to clipboard

[tests]: error: consecutive declarations on a line must be separated by ';'

Open LBeernaertProton opened this issue 1 year ago • 6 comments

I am trying to run cargo test via the docker image and it is failing with the following error on main:

/mounted_workdir/target/tmp/uniffi-example-async-api-client-f44366ee4daea68c/async_api_client.swift:439:74: error: consecutive declarations on a line must be separated by ';'
    func getIssue(owner: String, repository: String, issueNumber: UInt32) async throws  -> Issue
                                                                         ^
                                                                         ;
/mounted_workdir/target/tmp/uniffi-example-async-api-client-f44366ee4daea68c/async_api_client.swift:439:75: error: expected declaration
    func getIssue(owner: String, repository: String, issueNumber: UInt32) async throws  -> Issue
                                                                          ^
/mounted_workdir/target/tmp/uniffi-example-async-api-client-f44366ee4daea68c/async_api_client.swift:437:17: note: in declaration of 'ApiClientProtocol'
public protocol ApiClientProtocol : AnyObject {

LBeernaertProton avatar Mar 28 '24 14:03 LBeernaertProton