Provide integration points for SpeziNotifications, Swift 6 and silence some warnings #737
Annotations
10 errors and 10 warnings
Sources/Spezi/Capabilities/Application.swift#L90
attribute can only be applied to declarations, not types
|
Sources/Spezi/Notifications/Spezi+NotificationSettings.swift#L19
consecutive declarations on a line must be separated by ';'
|
Sources/Spezi/Notifications/Spezi+NotificationSettings.swift#L19
expected declaration
|
Sources/Spezi/Notifications/Spezi+NotificationSettings.swift#L19
cannot find type 'sending' in scope
|
Sources/Spezi/Notifications/UserNotifications.swift#L45
expected ',' separator
|
Sources/Spezi/Notifications/UserNotifications.swift#L45
unnamed parameters must be written with the empty name '_'
|
Sources/Spezi/Notifications/UserNotifications.swift#L44
'isolated' parameter has non-actor type '(any Actor)?'
|
Sources/Spezi/Notifications/UserNotifications.swift#L45
cannot find type 'sending' in scope
|
Sources/Spezi/Notifications/UserNotifications.swift#L44
non-built-in macro cannot be used as default argument
|
Sources/Spezi/Notifications/UserNotifications.swift#L57
'isolated' parameter has non-actor type '(any Actor)?'
|
Sources/Spezi/Capabilities/Application.swift#L92
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
|
Sources/Spezi/Spezi/Spezi.swift#L91
static property 'logger' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
|
var/folders/sf/4hnnr63x0z32klh8575xj64c0000gn/T/swift-generated-sources/@__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L9
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
|
Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNUserNotificationCenter' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
|
Sources/Spezi/Spezi/SpeziNotificationCenterDelegate.swift#L43
non-sendable type 'UNNotification' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'userNotificationCenter(_:willPresent:)' cannot cross actor boundary
|
Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
|
Sources/Spezi/Utilities/DynamicReference.swift#L34
'nonisolated' is redundant on struct's stored properties; this is an error in Swift 6
|
Sources/Spezi/Capabilities/Application.swift#L92
main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement
|
@__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L9
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
|
@__swiftmacro_5SpeziAAC7storage18ObservationTrackedfMp_.swift#L9
stored property '_storage' of 'Sendable'-conforming class 'Spezi' is mutable
|
This job failed
Loading