fix: Build for Swift 6.0.1 on Linux #711
Annotations
2 errors and 10 warnings
|
Build-Test
The operation was canceled.
|
Build-Test:
--- xcodebuild#L1
Using the first of multiple matching destinations:
|
Build-Test:
Sources/ParseSwift/Coding/ParseEncoder.swift#L246
class '_ParseEncoder' must restate inherited '@unchecked Sendable' conformance
|
Build-Test:
Sources/ParseSwift/Coding/ParseEncoder.swift#L1052
class '_ParseReferencingEncoder' must restate inherited '@unchecked Sendable' conformance
|
Build-Test:
Sources/ParseSwift/Extensions/InputStream.swift#L11
extension declares a conformance of imported type 'InputStream' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
|
Build-Test:
Sources/ParseSwift/LiveQuery/Subscription.swift#L79
main actor-isolated instance method 'didReceive' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/LiveQuery/Subscription.swift#L89
main actor-isolated instance method 'didSubscribe' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/LiveQuery/Subscription.swift#L94
main actor-isolated instance method 'didUnsubscribe()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/Authentication/Protocols/ParseAuthentication+async.swift#L52
converting a value of type '(__shared sending Result<Self, ParseError>) -> ()' to type '(Result<Self, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/Authentication/Protocols/ParseAuthentication+async.swift#L67
converting a value of type '(__shared sending Result<Self, ParseError>) -> ()' to type '(Result<Self, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/Authentication/Protocols/ParseAuthentication+async.swift#L88
converting a value of type '(__shared sending Result<Self, ParseError>) -> ()' to type '(Result<Self, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Loading