fix: Encoding Firebase push notification keys #713
Annotations
10 errors and 10 warnings
Build-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"}")
|
Build-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"}")
|
Build-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"}")
|
Build-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"}")
|
Build-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"}")
|
Build-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"}")
|
Build-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"}")
|
Build-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"}")
|
Build-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"}")
|
Build-Test
Process completed with exit code 65.
|
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/API/API+Command+async.swift#L26
converting a value of type '(sending Result<URLRequest, ParseError>) -> ()' to type '(Result<URLRequest, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/API/API+Command+async.swift#L51
converting a value of type '(__shared sending Result<U, ParseError>) -> ()' to type '(Result<U, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Build-Test:
Sources/ParseSwift/Types/ParseServer+async.swift#L29
converting a value of type '(__shared sending Result<ParseServer.Status, ParseError>) -> ()' to type '(Result<ParseServer.Status, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
|
Loading