Skip to content

fix: Build for Swift 6.0.1 on Linux #707

fix: Build for Swift 6.0.1 on Linux

fix: Build for Swift 6.0.1 on Linux #707

Triggered via pull request October 25, 2024 17:58
Status Failure
Total duration 4m 17s
Artifacts

ci.yml

on: pull_request
Matrix: test
xcode-test-5_7
0s
xcode-test-5_7
docs
0s
docs
cocoapods
0s
cocoapods
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 11 warnings
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test)
xcodebuild: error: Unable to find a device matching the provided destination specifier:
test (platform\=tvOS\ Simulator,OS=17.5,name\=Apple\ TV, test)
Process completed with exit code 70.
test (platform=macOS, test)
The job was canceled because "platform__tvOS__Simulator" failed.
test (platform=visionOS\ Simulator,OS=1.2,name=Apple\ Vision\ Pro, build)
The job was canceled because "platform__tvOS__Simulator" failed.
test (platform=watchOS\ Simulator,name=Apple\ Watch\ Series\ 9\ \(41mm\), build)
The job was canceled because "platform__tvOS__Simulator" failed.
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test)
The job was canceled because "platform__tvOS__Simulator" failed.
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test)
xcodebuild: error: Unable to find a device matching the provided destination specifier:
test (platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15\ Pro\ Max, test)
Process completed with exit code 70.
linux
Process completed with exit code 1.
spm-test: Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L117
testCoding, XCTAssertEqual failed: ("{"collapseKey":"nope","data":{"help":"you"},"delayWhileIdle":false,"dryRun":false,"notification":{"android_channel_id":"you","badge":"no","body":"android","body-loc-args":["mother"],"body_loc-key":"cousin","click_action":"to","color":"blue","icon":"world","image":"icon","sound":"yes","subtitle":"trip","tag":"it","title":"hello","title_loc_args":["arg"],"title_loc_key":"it"},"restrictedPackageName":"geez","title":"peace","uri":"https:\/\/parse.org"}") is not equal to ("{"collapseKey":"nope","data":{"help":"you"},"delayWhileIdle":false,"dryRun":false,"notification":{"android_channel_id":"you","badge":"no","body":"android","body_loc-key":"cousin","body-loc-args":["mother"],"click_action":"to","color":"blue","icon":"world","image":"icon","sound":"yes","subtitle":"trip","tag":"it","title":"hello","title_loc_args":["arg"],"title_loc_key":"it"},"restrictedPackageName":"geez","title":"peace","uri":"https:\/\/parse.org"}")
spm-test: Tests/ParseSwiftTests/ParsePushPayloadAnyTests.swift#L232
testConvertToFirebase, XCTAssertEqual failed: ("{"collapseKey":"nope","contentAvailable":true,"data":{"help":"you"},"delayWhileIdle":false,"dryRun":false,"mutableContent":true,"notification":{"android_channel_id":"you","badge":"no","body":"android","body-loc-args":["mother"],"body_loc-key":"cousin","click_action":"to","color":"blue","icon":"world","image":"icon","sound":"yes","subtitle":"trip","tag":"it","title":"hello","title_loc_args":["arg"],"title_loc_key":"it"},"priority":"high","restrictedPackageName":"geez","title":"peace","uri":"https:\/\/parse.org"}") is not equal to ("{"collapseKey":"nope","contentAvailable":true,"data":{"help":"you"},"delayWhileIdle":false,"dryRun":false,"mutableContent":true,"notification":{"android_channel_id":"you","badge":"no","body":"android","body_loc-key":"cousin","body-loc-args":["mother"],"click_action":"to","color":"blue","icon":"world","image":"icon","sound":"yes","subtitle":"trip","tag":"it","title":"hello","title_loc_args":["arg"],"title_loc_key":"it"},"priority":"high","restrictedPackageName":"geez","title":"peace","uri":"https:\/\/parse.org"}")
spm-test: Tests/ParseSwiftTests/ParsePushPayloadFirebaseTests.swift#L75
testCoding, XCTAssertEqual failed: ("{"collapseKey":"nope","contentAvailable":true,"data":{"help":"you"},"delayWhileIdle":false,"dryRun":false,"mutableContent":true,"notification":{"android_channel_id":"you","badge":"no","body":"android","body-loc-args":["mother"],"body_loc-key":"cousin","click_action":"to","color":"blue","icon":"world","image":"icon","sound":"yes","subtitle":"trip","tag":"it","title":"hello","title_loc_args":["arg"],"title_loc_key":"it"},"priority":"high","restrictedPackageName":"geez","title":"peace","uri":"https:\/\/parse.org"}") is not equal to ("{"collapseKey":"nope","contentAvailable":true,"data":{"help":"you"},"delayWhileIdle":false,"dryRun":false,"mutableContent":true,"notification":{"android_channel_id":"you","badge":"no","body":"android","body_loc-key":"cousin","body-loc-args":["mother"],"click_action":"to","color":"blue","icon":"world","image":"icon","sound":"yes","subtitle":"trip","tag":"it","title":"hello","title_loc_args":["arg"],"title_loc_key":"it"},"priority":"high","restrictedPackageName":"geez","title":"peace","uri":"https:\/\/parse.org"}")
spm-test
Process completed with exit code 1.
windows
Codecov: Failed to properly upload report: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
spm-test: Sources/ParseSwift/Coding/ParseEncoder.swift#L246
class '_ParseEncoder' must restate inherited '@unchecked Sendable' conformance
spm-test: Sources/ParseSwift/Coding/ParseEncoder.swift#L1052
class '_ParseReferencingEncoder' must restate inherited '@unchecked Sendable' conformance
spm-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
spm-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
spm-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
spm-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
spm-test: Sources/ParseSwift/Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift#L31
converting a value of type '(__shared sending Result<AuthenticatedUser, ParseError>) -> ()' to type '(Result<AuthenticatedUser, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
spm-test: Sources/ParseSwift/Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift#L46
converting a value of type '(__shared sending Result<AuthenticatedUser, ParseError>) -> ()' to type '(Result<AuthenticatedUser, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
spm-test: Sources/ParseSwift/Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift#L70
converting a value of type '(__shared sending Result<AuthenticatedUser, ParseError>) -> ()' to type '(Result<AuthenticatedUser, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
spm-test: Sources/ParseSwift/Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift#L86
converting a value of type '(__shared sending Result<AuthenticatedUser, ParseError>) -> ()' to type '(Result<AuthenticatedUser, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode