fix: remove usage of nonisolated(unsafe)
from codebase
#784
Annotations
39 errors and 34 warnings
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
expressions are not allowed at the top level
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
consecutive statements on a line must be separated by ';'
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
cannot find 'nonisolated' in scope
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
cannot find 'unsafe' in scope
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
expressions are not allowed at the top level
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
consecutive statements on a line must be separated by ';'
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
expressions are not allowed at the top level
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
consecutive statements on a line must be separated by ';'
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
expressions are not allowed at the top level
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/_Clock.swift#L49
consecutive statements on a line must be separated by ';'
|
xcodebuild (15) (test, WATCHOS, 15.4)
The job was canceled because "IOS_15_2" failed.
|
xcodebuild (15) (test, IOS, 15.4)
The job was canceled because "IOS_15_2" failed.
|
xcodebuild (15) (test, TVOS, 15.4)
The job was canceled because "IOS_15_2" failed.
|
xcodebuild (15) (test, VISIONOS, 15.4)
The job was canceled because "IOS_15_2" failed.
|
xcodebuild (15) (MACOS, 15.2)
The job was canceled because "IOS_15_2" failed.
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
expressions are not allowed at the top level
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
consecutive statements on a line must be separated by ';'
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
cannot find 'nonisolated' in scope
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
cannot find 'unsafe' in scope
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
expressions are not allowed at the top level
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
consecutive statements on a line must be separated by ';'
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
expressions are not allowed at the top level
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
consecutive statements on a line must be separated by ';'
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
expressions are not allowed at the top level
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/_Clock.swift#L49
consecutive statements on a line must be separated by ';'
|
xcodebuild (15) (test, MACOS, 15.4)
The job was canceled because "IOS_15_2" failed.
|
xcodebuild (15) (test, MACOS, 15.4)
The operation was canceled.
|
xcodebuild (15) (test, MAC_CATALYST, 15.4)
The job was canceled because "IOS_15_2" failed.
|
xcodebuild (15) (test, MAC_CATALYST, 15.4)
The operation was canceled.
|
xcodebuild (16) (IOS, 16.0):
Sources/Realtime/V2/PushV2.swift#L43
cannot call value of non-function type 'RealtimeClientOptions'
|
xcodebuild (16) (IOS, 16.0)
Process completed with exit code 2.
|
xcodebuild (16) (MACOS, 16.0):
Sources/Realtime/V2/PushV2.swift#L43
cannot call value of non-function type 'RealtimeClientOptions'
|
xcodebuild (16) (MACOS, 16.0)
Process completed with exit code 2.
|
xcodebuild (16) (test, MACOS, 16.0)
The job was canceled because "MACOS_16_0" failed.
|
xcodebuild (16) (test, MACOS, 16.0)
The operation was canceled.
|
xcodebuild (16) (test, IOS, 16.0)
The job was canceled because "MACOS_16_0" failed.
|
xcodebuild (16) (test, IOS, 16.0)
The operation was canceled.
|
Examples:
Sources/Realtime/V2/PushV2.swift#L43
cannot call value of non-function type 'RealtimeClientOptions'
|
Examples
Process completed with exit code 2.
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy')
|
xcodebuild (15) (IOS, 15.2):
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy')
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy')
|
xcodebuild (15) (MACOS, 15.2):
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy')
|
xcodebuild (16) (IOS, 16.0):
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy'); this is an error in the Swift 6 language mode
|
xcodebuild (16) (IOS, 16.0):
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy'); this is an error in the Swift 6 language mode
|
xcodebuild (16) (IOS, 16.0):
Sources/Realtime/Defaults.swift#L36
static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (IOS, 16.0):
Sources/Realtime/Defaults.swift#L41
static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (IOS, 16.0):
Sources/Realtime/Defaults.swift#L48
static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (IOS, 16.0):
Sources/Realtime/Defaults.swift#L57
static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (IOS, 16.0):
Sources/Realtime/PhoenixTransport.swift#L140
non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
|
xcodebuild (16) (IOS, 16.0):
Sources/Realtime/PhoenixTransport.swift#L148
stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
|
xcodebuild (16) (IOS, 16.0):
Sources/Realtime/Presence.swift#L116
static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (IOS, 16.0):
Sources/Realtime/Push.swift#L26
'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
|
xcodebuild (16) (MACOS, 16.0):
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy'); this is an error in the Swift 6 language mode
|
xcodebuild (16) (MACOS, 16.0):
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy'); this is an error in the Swift 6 language mode
|
xcodebuild (16) (MACOS, 16.0):
Sources/Realtime/Defaults.swift#L36
static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (MACOS, 16.0):
Sources/Realtime/Defaults.swift#L41
static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (MACOS, 16.0):
Sources/Realtime/Defaults.swift#L48
static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (MACOS, 16.0):
Sources/Realtime/Defaults.swift#L57
static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (MACOS, 16.0):
Sources/Realtime/PhoenixTransport.swift#L140
non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
|
xcodebuild (16) (MACOS, 16.0):
Sources/Realtime/PhoenixTransport.swift#L148
stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
|
xcodebuild (16) (MACOS, 16.0):
Sources/Realtime/Presence.swift#L116
static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
|
xcodebuild (16) (MACOS, 16.0):
Sources/Realtime/Push.swift#L26
'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
|
Examples:
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy'); this is an error in the Swift 6 language mode
|
Examples:
Sources/Helpers/AsyncValueSubject.swift#L25
stored property 'bufferingPolicy' of 'Sendable'-conforming generic class 'AsyncValueSubject' has non-sendable type 'AsyncValueSubject<Value>.BufferingPolicy' (aka 'AsyncStream<Value>.Continuation.BufferingPolicy'); this is an error in the Swift 6 language mode
|
Examples:
Sources/Realtime/Defaults.swift#L36
static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
|
Examples:
Sources/Realtime/Defaults.swift#L41
static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
|
Examples:
Sources/Realtime/Defaults.swift#L48
static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
|
Examples:
Sources/Realtime/Defaults.swift#L57
static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
|
Examples:
Sources/Realtime/PhoenixTransport.swift#L140
non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
|
Examples:
Sources/Realtime/PhoenixTransport.swift#L148
stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
|
Examples:
Sources/Realtime/Presence.swift#L116
static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
|
Examples:
Sources/Realtime/Push.swift#L26
'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
|