Build Information
Successful build of Supabase, reference v2.31.2 (fecbbc
), with Swift 6.2 (beta) for macOS (SPM) on 5 Aug 2025 12:45:15 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
16 | decoder: JSONDecoder = .defaultStorageDecoder,
17 | session: StorageHTTPSession = .init(),
/Users/admin/builder/spi-builder-workspace/Sources/Storage/SupabaseStorage.swift:16:29: warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed. [#DeprecatedDeclaration]
14 | headers: [String: String],
15 | encoder: JSONEncoder = .defaultStorageEncoder,
16 | decoder: JSONDecoder = .defaultStorageDecoder,
| `- warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed. [#DeprecatedDeclaration]
17 | session: StorageHTTPSession = .init(),
18 | logger: (any SupabaseLogger)? = nil,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[361/435] Compiling Storage StorageFileApi.swift
[364/435] Compiling Auth WinCredLocalStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1008:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1023:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:368:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
366 | // Since the connection's delegate was nil'd out, inform all state
367 | // callbacks that the connection has closed
368 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
369 | callback?()
370 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:24: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:29: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[365/435] Compiling Auth Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1008:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1023:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:368:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
366 | // Since the connection's delegate was nil'd out, inform all state
367 | // callbacks that the connection has closed
368 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
369 | callback?()
370 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:24: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:29: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1008:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1023:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:368:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
366 | // Since the connection's delegate was nil'd out, inform all state
367 | // callbacks that the connection has closed
368 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
369 | callback?()
370 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:24: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:29: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[367/435] Compiling Storage Types.swift
[368/435] Compiling Realtime URLSessionWebSocket.swift
[369/435] Compiling Realtime WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Presence.swift:116:23: warning: 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 [#MutableGlobalVariable]
109 | /// let options = Options(events: [.state: "my_state", .diff: "my_diff"])
110 | /// let presence = Presence(channel, opts: options)
111 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
112 | let events: [Events: String]
113 |
114 | /// Default set of Options used when creating Presence. Uses the
115 | /// phoenix events "presence_state" and "presence_diff"
116 | public static let defaults = Options(events: [
| |- warning: 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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | .state: "presence_state",
118 | .diff: "presence_diff",
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:26:28: warning: '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 [#DeprecatedDeclaration]
24 | public class Push {
25 | /// The channel sending the Push
26 | public weak var channel: RealtimeChannel?
| `- warning: '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 [#DeprecatedDeclaration]
27 |
28 | /// The event, for example `phx_join`
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:65:14: warning: '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 [#DeprecatedDeclaration]
63 | /// - parameter timeout: Optional. The push timeout. Default is 10.0s
64 | init(
65 | channel: RealtimeChannel,
| `- warning: '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 [#DeprecatedDeclaration]
66 | event: String,
67 | payload: Payload = [:],
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:1006:11: warning: '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 [#DeprecatedDeclaration]
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: '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 [#DeprecatedDeclaration]
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:380:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
378 | var accessTokenPayload: Payload = [:]
379 | var config: Payload = [
380 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
381 | ]
382 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:407:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
405 | }
406 |
407 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
408 | let bindingsCount = clientPostgresBindings.count
409 | var newPostgresBindings: [Binding] = []
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:445:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
446 | }
447 | callback?(.subscribed, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:81: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:918:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
916 |
917 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
918 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
919 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
920 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:922:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
920 | }
921 | } else {
922 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
923 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
924 | let bindEvent = bind.filter["event"]?.lowercased()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Presence.swift:116:23: warning: 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 [#MutableGlobalVariable]
109 | /// let options = Options(events: [.state: "my_state", .diff: "my_diff"])
110 | /// let presence = Presence(channel, opts: options)
111 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
112 | let events: [Events: String]
113 |
114 | /// Default set of Options used when creating Presence. Uses the
115 | /// phoenix events "presence_state" and "presence_diff"
116 | public static let defaults = Options(events: [
| |- warning: 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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | .state: "presence_state",
118 | .diff: "presence_diff",
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:26:28: warning: '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 [#DeprecatedDeclaration]
24 | public class Push {
25 | /// The channel sending the Push
26 | public weak var channel: RealtimeChannel?
| `- warning: '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 [#DeprecatedDeclaration]
27 |
28 | /// The event, for example `phx_join`
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:65:14: warning: '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 [#DeprecatedDeclaration]
63 | /// - parameter timeout: Optional. The push timeout. Default is 10.0s
64 | init(
65 | channel: RealtimeChannel,
| `- warning: '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 [#DeprecatedDeclaration]
66 | event: String,
67 | payload: Payload = [:],
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:1006:11: warning: '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 [#DeprecatedDeclaration]
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: '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 [#DeprecatedDeclaration]
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:380:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
378 | var accessTokenPayload: Payload = [:]
379 | var config: Payload = [
380 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
381 | ]
382 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:407:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
405 | }
406 |
407 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
408 | let bindingsCount = clientPostgresBindings.count
409 | var newPostgresBindings: [Binding] = []
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:445:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
446 | }
447 | callback?(.subscribed, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:81: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:918:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
916 |
917 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
918 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
919 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
920 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:922:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
920 | }
921 | } else {
922 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
923 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
924 | let bindEvent = bind.filter["event"]?.lowercased()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Presence.swift:116:23: warning: 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 [#MutableGlobalVariable]
109 | /// let options = Options(events: [.state: "my_state", .diff: "my_diff"])
110 | /// let presence = Presence(channel, opts: options)
111 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
112 | let events: [Events: String]
113 |
114 | /// Default set of Options used when creating Presence. Uses the
115 | /// phoenix events "presence_state" and "presence_diff"
116 | public static let defaults = Options(events: [
| |- warning: 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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | .state: "presence_state",
118 | .diff: "presence_diff",
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:26:28: warning: '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 [#DeprecatedDeclaration]
24 | public class Push {
25 | /// The channel sending the Push
26 | public weak var channel: RealtimeChannel?
| `- warning: '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 [#DeprecatedDeclaration]
27 |
28 | /// The event, for example `phx_join`
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:65:14: warning: '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 [#DeprecatedDeclaration]
63 | /// - parameter timeout: Optional. The push timeout. Default is 10.0s
64 | init(
65 | channel: RealtimeChannel,
| `- warning: '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 [#DeprecatedDeclaration]
66 | event: String,
67 | payload: Payload = [:],
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:1006:11: warning: '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 [#DeprecatedDeclaration]
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: '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 [#DeprecatedDeclaration]
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:380:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
378 | var accessTokenPayload: Payload = [:]
379 | var config: Payload = [
380 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
381 | ]
382 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:407:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
405 | }
406 |
407 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
408 | let bindingsCount = clientPostgresBindings.count
409 | var newPostgresBindings: [Binding] = []
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:445:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
446 | }
447 | callback?(.subscribed, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:81: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:918:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
916 |
917 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
918 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
919 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
920 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:922:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
920 | }
921 | } else {
922 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
923 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
924 | let bindEvent = bind.filter["event"]?.lowercased()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[376/435] Emitting module Realtime
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: warning: 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 [#MutableGlobalVariable]
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| `- warning: 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 [#MutableGlobalVariable]
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: note: add '@MainActor' to make static property 'reconnectSteppedBackOff' part of global actor 'MainActor'
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- note: add '@MainActor' to make static property 'reconnectSteppedBackOff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: warning: 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 [#MutableGlobalVariable]
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| `- warning: 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 [#MutableGlobalVariable]
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: note: add '@MainActor' to make static property 'rejoinSteppedBackOff' part of global actor 'MainActor'
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- note: add '@MainActor' to make static property 'rejoinSteppedBackOff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: warning: 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 [#MutableGlobalVariable]
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| `- warning: 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 [#MutableGlobalVariable]
49 | try! JSONSerialization
50 | .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: note: add '@MainActor' to make static property 'encode' part of global actor 'MainActor'
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| |- note: add '@MainActor' to make static property 'encode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | try! JSONSerialization
50 | .data(
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: warning: 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 [#MutableGlobalVariable]
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| `- warning: 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 [#MutableGlobalVariable]
58 | guard
59 | let json =
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: note: add '@MainActor' to make static property 'decode' part of global actor 'MainActor'
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| |- note: add '@MainActor' to make static property 'decode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:140:12: warning: non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
138 | /// your own WebSocket library or implementation.
139 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
140 | open class URLSessionTransport: NSObject, PhoenixTransport, URLSessionWebSocketDelegate {
| `- warning: non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
141 | /// The URL to connect to
142 | let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:148:15: warning: stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
146 |
147 | /// The underling URLSession. Assigned during `connect()`
148 | private var session: URLSession? = nil
| `- warning: stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
149 |
150 | /// The ongoing task. Assigned during `connect()`
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Presence.swift:116:23: warning: 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 [#MutableGlobalVariable]
109 | /// let options = Options(events: [.state: "my_state", .diff: "my_diff"])
110 | /// let presence = Presence(channel, opts: options)
111 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
112 | let events: [Events: String]
113 |
114 | /// Default set of Options used when creating Presence. Uses the
115 | /// phoenix events "presence_state" and "presence_diff"
116 | public static let defaults = Options(events: [
| |- warning: 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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | .state: "presence_state",
118 | .diff: "presence_diff",
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:26:28: warning: '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 [#DeprecatedDeclaration]
24 | public class Push {
25 | /// The channel sending the Push
26 | public weak var channel: RealtimeChannel?
| `- warning: '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 [#DeprecatedDeclaration]
27 |
28 | /// The event, for example `phx_join`
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:65:14: warning: '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 [#DeprecatedDeclaration]
63 | /// - parameter timeout: Optional. The push timeout. Default is 10.0s
64 | init(
65 | channel: RealtimeChannel,
| `- warning: '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 [#DeprecatedDeclaration]
66 | event: String,
67 | payload: Payload = [:],
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:1006:11: warning: '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 [#DeprecatedDeclaration]
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: '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 [#DeprecatedDeclaration]
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1008:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1023:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:140:12: warning: non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
138 | /// your own WebSocket library or implementation.
139 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
140 | open class URLSessionTransport: NSObject, PhoenixTransport, URLSessionWebSocketDelegate {
| `- warning: non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
141 | /// The URL to connect to
142 | let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:148:15: warning: stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
146 |
147 | /// The underling URLSession. Assigned during `connect()`
148 | private var session: URLSession? = nil
| `- warning: stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
149 |
150 | /// The ongoing task. Assigned during `connect()`
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:204:31: warning: conditional cast from 'String' to 'String' always succeeds
202 |
203 | for (key, value) in headers {
204 | guard let value = value as? String else { continue }
| `- warning: conditional cast from 'String' to 'String' always succeeds
205 | request.addValue(value, forHTTPHeaderField: key)
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:313:13: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
311 | // the reconnect logic.
312 | delegate?.onClose(
313 | code: RealtimeClient.CloseCode.abnormal.rawValue, reason: error.localizedDescription
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
314 | )
315 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:140:12: warning: non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
138 | /// your own WebSocket library or implementation.
139 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
140 | open class URLSessionTransport: NSObject, PhoenixTransport, URLSessionWebSocketDelegate {
| `- warning: non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
141 | /// The URL to connect to
142 | let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:148:15: warning: stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
146 |
147 | /// The underling URLSession. Assigned during `connect()`
148 | private var session: URLSession? = nil
| `- warning: stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
149 |
150 | /// The ongoing task. Assigned during `connect()`
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:204:31: warning: conditional cast from 'String' to 'String' always succeeds
202 |
203 | for (key, value) in headers {
204 | guard let value = value as? String else { continue }
| `- warning: conditional cast from 'String' to 'String' always succeeds
205 | request.addValue(value, forHTTPHeaderField: key)
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:313:13: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
311 | // the reconnect logic.
312 | delegate?.onClose(
313 | code: RealtimeClient.CloseCode.abnormal.rawValue, reason: error.localizedDescription
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
314 | )
315 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:140:12: warning: non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
138 | /// your own WebSocket library or implementation.
139 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
140 | open class URLSessionTransport: NSObject, PhoenixTransport, URLSessionWebSocketDelegate {
| `- warning: non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
141 | /// The URL to connect to
142 | let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:148:15: warning: stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
146 |
147 | /// The underling URLSession. Assigned during `connect()`
148 | private var session: URLSession? = nil
| `- warning: stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
149 |
150 | /// The ongoing task. Assigned during `connect()`
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:204:31: warning: conditional cast from 'String' to 'String' always succeeds
202 |
203 | for (key, value) in headers {
204 | guard let value = value as? String else { continue }
| `- warning: conditional cast from 'String' to 'String' always succeeds
205 | request.addValue(value, forHTTPHeaderField: key)
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:313:13: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
311 | // the reconnect logic.
312 | delegate?.onClose(
313 | code: RealtimeClient.CloseCode.abnormal.rawValue, reason: error.localizedDescription
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
314 | )
315 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: warning: 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 [#MutableGlobalVariable]
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| `- warning: 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 [#MutableGlobalVariable]
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: note: add '@MainActor' to make static property 'reconnectSteppedBackOff' part of global actor 'MainActor'
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- note: add '@MainActor' to make static property 'reconnectSteppedBackOff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: warning: 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 [#MutableGlobalVariable]
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| `- warning: 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 [#MutableGlobalVariable]
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: note: add '@MainActor' to make static property 'rejoinSteppedBackOff' part of global actor 'MainActor'
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- note: add '@MainActor' to make static property 'rejoinSteppedBackOff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: warning: 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 [#MutableGlobalVariable]
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| `- warning: 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 [#MutableGlobalVariable]
49 | try! JSONSerialization
50 | .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: note: add '@MainActor' to make static property 'encode' part of global actor 'MainActor'
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| |- note: add '@MainActor' to make static property 'encode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | try! JSONSerialization
50 | .data(
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: warning: 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 [#MutableGlobalVariable]
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| `- warning: 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 [#MutableGlobalVariable]
58 | guard
59 | let json =
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: note: add '@MainActor' to make static property 'decode' part of global actor 'MainActor'
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| |- note: add '@MainActor' to make static property 'decode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: warning: 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 [#MutableGlobalVariable]
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| `- warning: 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 [#MutableGlobalVariable]
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: note: add '@MainActor' to make static property 'reconnectSteppedBackOff' part of global actor 'MainActor'
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- note: add '@MainActor' to make static property 'reconnectSteppedBackOff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: warning: 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 [#MutableGlobalVariable]
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| `- warning: 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 [#MutableGlobalVariable]
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: note: add '@MainActor' to make static property 'rejoinSteppedBackOff' part of global actor 'MainActor'
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- note: add '@MainActor' to make static property 'rejoinSteppedBackOff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: warning: 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 [#MutableGlobalVariable]
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| `- warning: 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 [#MutableGlobalVariable]
49 | try! JSONSerialization
50 | .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: note: add '@MainActor' to make static property 'encode' part of global actor 'MainActor'
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| |- note: add '@MainActor' to make static property 'encode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | try! JSONSerialization
50 | .data(
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: warning: 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 [#MutableGlobalVariable]
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| `- warning: 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 [#MutableGlobalVariable]
58 | guard
59 | let json =
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: note: add '@MainActor' to make static property 'decode' part of global actor 'MainActor'
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| |- note: add '@MainActor' to make static property 'decode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: warning: 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 [#MutableGlobalVariable]
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| `- warning: 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 [#MutableGlobalVariable]
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: note: add '@MainActor' to make static property 'reconnectSteppedBackOff' part of global actor 'MainActor'
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- note: add '@MainActor' to make static property 'reconnectSteppedBackOff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: warning: 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 [#MutableGlobalVariable]
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| `- warning: 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 [#MutableGlobalVariable]
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: note: add '@MainActor' to make static property 'rejoinSteppedBackOff' part of global actor 'MainActor'
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- note: add '@MainActor' to make static property 'rejoinSteppedBackOff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: warning: 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 [#MutableGlobalVariable]
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| `- warning: 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 [#MutableGlobalVariable]
49 | try! JSONSerialization
50 | .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: note: add '@MainActor' to make static property 'encode' part of global actor 'MainActor'
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| |- note: add '@MainActor' to make static property 'encode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | try! JSONSerialization
50 | .data(
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: warning: 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 [#MutableGlobalVariable]
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| `- warning: 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 [#MutableGlobalVariable]
58 | guard
59 | let json =
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: note: add '@MainActor' to make static property 'decode' part of global actor 'MainActor'
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| |- note: add '@MainActor' to make static property 'decode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:34:14: warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
32 |
33 | public actor AuthClient {
34 | static var globalClientID = 0
| |- warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'globalClientID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalClientID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | nonisolated let clientID: AuthClientID
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:342:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
340 | query: [URLQueryItem(name: "grant_type", value: "password")],
341 | body: configuration.encoder.encode(
342 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
343 | email: email,
344 | password: password,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:369:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
367 | query: [URLQueryItem(name: "grant_type", value: "password")],
368 | body: configuration.encoder.encode(
369 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
370 | password: password,
371 | phone: phone,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:1224:15: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1222 | queryParams: [(name: String, value: String?)] = []
1223 | ) async throws {
1224 | try await linkIdentity(
| `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1225 | provider: provider,
1226 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:34:14: warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
32 |
33 | public actor AuthClient {
34 | static var globalClientID = 0
| |- warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'globalClientID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalClientID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | nonisolated let clientID: AuthClientID
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:342:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
340 | query: [URLQueryItem(name: "grant_type", value: "password")],
341 | body: configuration.encoder.encode(
342 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
343 | email: email,
344 | password: password,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:369:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
367 | query: [URLQueryItem(name: "grant_type", value: "password")],
368 | body: configuration.encoder.encode(
369 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
370 | password: password,
371 | phone: phone,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:1224:15: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1222 | queryParams: [(name: String, value: String?)] = []
1223 | ) async throws {
1224 | try await linkIdentity(
| `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1225 | provider: provider,
1226 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:34:14: warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
32 |
33 | public actor AuthClient {
34 | static var globalClientID = 0
| |- warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'globalClientID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalClientID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | nonisolated let clientID: AuthClientID
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:342:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
340 | query: [URLQueryItem(name: "grant_type", value: "password")],
341 | body: configuration.encoder.encode(
342 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
343 | email: email,
344 | password: password,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:369:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
367 | query: [URLQueryItem(name: "grant_type", value: "password")],
368 | body: configuration.encoder.encode(
369 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
370 | password: password,
371 | phone: phone,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:1224:15: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1222 | queryParams: [(name: String, value: String?)] = []
1223 | ) async throws {
1224 | try await linkIdentity(
| `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1225 | provider: provider,
1226 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[392/435] Emitting module Auth
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:34:14: warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
32 |
33 | public actor AuthClient {
34 | static var globalClientID = 0
| |- warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'globalClientID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalClientID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | nonisolated let clientID: AuthClientID
36 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[396/435] Compiling SnapshotTestingCustomDump CustomDump.swift
[397/435] Emitting module SnapshotTestingCustomDump
/Users/admin/builder/spi-builder-workspace/Sources/Auth/Types.swift:503:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
501 | self.password = password
502 | self.nonce = nonce
503 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
504 | self.data = data
505 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Auth/Types.swift:503:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
501 | self.password = password
502 | self.nonce = nonce
503 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
504 | self.data = data
505 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[429/441] Compiling Supabase Exports.swift
[430/441] Compiling Supabase Deprecated.swift
[431/441] Emitting module Supabase
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:71:36: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
69 | }
70 |
71 | let _realtime: UncheckedSendable<RealtimeClient>
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
72 |
73 | /// Realtime client for Supabase
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[432/441] Compiling Supabase Types.swift
[433/441] Compiling Supabase Constants.swift
[434/441] Compiling Supabase SupabaseClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:71:36: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
69 | }
70 |
71 | let _realtime: UncheckedSendable<RealtimeClient>
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
72 |
73 | /// Realtime client for Supabase
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:188:7: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
186 |
187 | _realtime = UncheckedSendable(
188 | RealtimeClient(
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
189 | supabaseURL.appendingPathComponent("/realtime/v1").absoluteString,
190 | headers: _headers.dictionary,
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:247:22: warning: 'subscriptions' is deprecated: renamed to 'channels' [#DeprecatedDeclaration]
245 | /// Returns all Realtime channels.
246 | public var channels: [RealtimeChannelV2] {
247 | Array(realtimeV2.subscriptions.values)
| |- warning: 'subscriptions' is deprecated: renamed to 'channels' [#DeprecatedDeclaration]
| `- note: use 'channels' instead
248 | }
249 |
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:390:5: warning: 'realtime' is deprecated: Use realtimeV2 [#DeprecatedDeclaration]
388 | }
389 |
390 | realtime.setAuth(accessToken)
| `- warning: 'realtime' is deprecated: Use realtimeV2 [#DeprecatedDeclaration]
391 | await realtimeV2.setAuth(accessToken)
392 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[442/500] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[443/500] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[444/501] Compiling SwiftDiagnostics Message.swift
[445/501] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[446/501] Compiling SwiftBasicFormat Syntax+Extensions.swift
[447/501] Compiling SwiftDiagnostics Convenience.swift
[448/501] Emitting module SwiftDiagnostics
[449/501] Compiling SwiftDiagnostics Diagnostic.swift
[450/501] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[451/501] Compiling SwiftDiagnostics Note.swift
[452/501] Compiling SwiftBasicFormat Indenter.swift
[453/501] Compiling SwiftBasicFormat InferIndentation.swift
[454/501] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[455/501] Compiling SwiftDiagnostics FixIt.swift
[456/501] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[457/501] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[458/501] Compiling SwiftBasicFormat BasicFormat.swift
[459/501] Emitting module SwiftBasicFormat
[460/501] Compiling SwiftParser TopLevel.swift
[461/501] Compiling SwiftParser TriviaParser.swift
[462/501] Compiling SwiftParser Types.swift
[463/501] Compiling SwiftParser ExperimentalFeatures.swift
[464/505] Compiling SwiftParser StringLiterals.swift
[465/505] Compiling SwiftParser SwiftParserCompatibility.swift
[466/505] Compiling SwiftParser SwiftVersion.swift
[467/505] Compiling SwiftParser SyntaxUtils.swift
[468/505] Compiling SwiftParser TokenConsumer.swift
[469/505] Compiling SwiftParser TokenPrecedence.swift
[470/505] Compiling SwiftParser TokenSpec.swift
[471/505] Compiling SwiftParser TokenSpecSet.swift
[472/505] Compiling SwiftParser Nominals.swift
[473/505] Compiling SwiftParser Parameters.swift
[474/505] Compiling SwiftParser ParseSourceFile.swift
[475/505] Compiling SwiftParser Parser.swift
[476/505] Compiling SwiftParser Patterns.swift
[477/505] Compiling SwiftParser Recovery.swift
[478/505] Compiling SwiftParser Specifiers.swift
[479/505] Compiling SwiftParser Statements.swift
[480/505] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[481/505] Compiling SwiftParser UnicodeScalarExtensions.swift
[482/505] Compiling SwiftParser Lookahead.swift
[483/505] Compiling SwiftParser LoopProgressCondition.swift
[484/505] Compiling SwiftParser Modifiers.swift
[485/505] Compiling SwiftParser Names.swift
[486/505] Emitting module SwiftParser
[487/505] Compiling SwiftParser Attributes.swift
[488/505] Compiling SwiftParser Availability.swift
[489/505] Compiling SwiftParser CharacterInfo.swift
[490/505] Compiling SwiftParser CollectionNodes+Parsable.swift
[491/505] Compiling SwiftParser Declarations.swift
[492/505] Compiling SwiftParser Cursor.swift
[493/505] Compiling SwiftParser Lexeme.swift
[494/505] Compiling SwiftParser LexemeSequence.swift
[495/505] Compiling SwiftParser Lexer.swift
[496/505] Compiling SwiftParser RegexLiteralLexer.swift
[497/505] Compiling SwiftParser Directives.swift
[498/505] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[499/505] Compiling SwiftParser Expressions.swift
[500/505] Compiling SwiftParser IncrementalParseTransition.swift
[501/505] Compiling SwiftParser IsValidIdentifier.swift
[502/505] Compiling SwiftParser IsLexerClassified.swift
[503/505] Compiling SwiftParser LayoutNodes+Parsable.swift
[504/505] Compiling SwiftParser Parser+TokenSpecSet.swift
[505/505] Compiling SwiftParser TokenSpecStaticMembers.swift
[506/518] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[507/519] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[508/519] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[509/519] Emitting module SwiftParserDiagnostics
[510/519] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[511/519] Compiling SwiftParserDiagnostics PresenceUtils.swift
[512/519] Compiling SwiftParserDiagnostics Utils.swift
[513/519] Compiling SwiftParserDiagnostics MissingNodesError.swift
[514/519] Compiling SwiftParserDiagnostics MissingTokenError.swift
[515/519] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[516/519] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[517/519] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[518/519] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[519/519] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[520/534] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[521/535] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[522/535] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[523/535] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[524/535] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[525/535] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[526/535] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[527/535] Compiling SwiftSyntaxBuilder Indenter.swift
[528/535] Compiling SwiftSyntaxBuilder ListBuilder.swift
[529/535] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[530/535] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[531/535] Emitting module SwiftSyntaxBuilder
[532/535] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[533/535] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[534/535] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[535/535] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[536/538] Compiling InlineSnapshotTesting Exports.swift
[537/538] Emitting module InlineSnapshotTesting
[538/538] Compiling InlineSnapshotTesting AssertInlineSnapshot.swift
[539/546] Compiling TestHelpers WithMainSerialExecutor+Windows.swift
[540/546] Compiling TestHelpers InMemoryLocalStorage.swift
[541/546] Compiling TestHelpers MockExtensions.swift
[542/546] Compiling TestHelpers HTTPClientMock.swift
[543/546] Compiling TestHelpers AsyncSequence.swift
[544/546] Compiling TestHelpers Exports.swift
[545/546] Emitting module TestHelpers
[546/546] Compiling TestHelpers URLRequestSnapshot.swift
Build complete! (53.85s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/917] Fetching swift-http-types
[2/1795] Fetching swift-http-types, swift-concurrency-extras
[20/3087] Fetching swift-http-types, swift-concurrency-extras, swift-clocks
[461/7668] Fetching swift-http-types, swift-concurrency-extras, swift-clocks, swift-custom-dump
[736/9557] Fetching swift-http-types, swift-concurrency-extras, swift-clocks, swift-custom-dump, mocker
[1546/15043] Fetching swift-http-types, swift-concurrency-extras, swift-clocks, swift-custom-dump, mocker, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.02s)
[6425/10462] Fetching swift-http-types, swift-concurrency-extras, swift-clocks, mocker, xctest-dynamic-overlay
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/WeTransfer/Mocker from cache (1.11s)
[6215/8573] Fetching swift-http-types, swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.35s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.35s)
[1/15341] Fetching swift-snapshot-testing
[615/31329] Fetching swift-snapshot-testing, swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.98s)
[7211/15341] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (4.18s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.18s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (4.18s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (4.67s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.2 (0.53s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.42s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.43s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.42s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.0 (0.43s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.6 (0.43s)
Fetching https://github.com/swiftlang/swift-syntax
[1/71427] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (2.81s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (3.46s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.13.3 (0.72s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.87s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.43s)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.13.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.0
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.2
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Build complete.
{
"dependencies" : [
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types.git"
},
{
"identity" : "swift-clocks",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-clocks"
},
{
"identity" : "swift-concurrency-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-concurrency-extras"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.17.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
},
{
"identity" : "mocker",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/WeTransfer/Mocker"
}
],
"manifest_display_name" : "Supabase",
"name" : "Supabase",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Auth",
"targets" : [
"Auth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Functions",
"targets" : [
"Functions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PostgREST",
"targets" : [
"PostgREST"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Realtime",
"targets" : [
"Realtime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Storage",
"targets" : [
"Storage"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Supabase",
"targets" : [
"Supabase",
"Functions",
"PostgREST",
"Auth",
"Realtime",
"Storage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestHelpers",
"module_type" : "SwiftTarget",
"name" : "TestHelpers",
"path" : "Sources/TestHelpers",
"product_dependencies" : [
"ConcurrencyExtras",
"InlineSnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"sources" : [
"AsyncSequence.swift",
"Exports.swift",
"HTTPClientMock.swift",
"InMemoryLocalStorage.swift",
"MockExtensions.swift",
"URLRequestSnapshot.swift",
"WithMainSerialExecutor+Windows.swift"
],
"target_dependencies" : [
"Auth"
],
"type" : "library"
},
{
"c99name" : "SupabaseTests",
"module_type" : "SwiftTarget",
"name" : "SupabaseTests",
"path" : "Tests/SupabaseTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting"
],
"sources" : [
"SupabaseClientTests.swift"
],
"target_dependencies" : [
"Supabase"
],
"type" : "test"
},
{
"c99name" : "Supabase",
"module_type" : "SwiftTarget",
"name" : "Supabase",
"path" : "Sources/Supabase",
"product_dependencies" : [
"ConcurrencyExtras",
"IssueReporting"
],
"product_memberships" : [
"Supabase"
],
"sources" : [
"Constants.swift",
"Deprecated.swift",
"Exports.swift",
"SupabaseClient.swift",
"Types.swift"
],
"target_dependencies" : [
"Auth",
"Functions",
"PostgREST",
"Realtime",
"Storage"
],
"type" : "library"
},
{
"c99name" : "StorageTests",
"module_type" : "SwiftTarget",
"name" : "StorageTests",
"path" : "Tests/StorageTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/StorageTests/Fixtures/file.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/StorageTests/sadcat.jpg",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BucketOptionsTests.swift",
"FileOptionsTests.swift",
"MultipartFormDataTests.swift",
"StorageBucketAPITests.swift",
"StorageErrorTests.swift",
"StorageFileAPITests.swift",
"SupabaseStorageClient+Test.swift",
"SupabaseStorageTests.swift",
"TransformOptionsTests.swift"
],
"target_dependencies" : [
"TestHelpers",
"Storage"
],
"type" : "test"
},
{
"c99name" : "Storage",
"module_type" : "SwiftTarget",
"name" : "Storage",
"path" : "Sources/Storage",
"product_memberships" : [
"Storage",
"Supabase"
],
"sources" : [
"BucketOptions.swift",
"Codable.swift",
"Deprecated.swift",
"Exports.swift",
"Helpers.swift",
"MultipartFormData.swift",
"StorageApi.swift",
"StorageBucketApi.swift",
"StorageError.swift",
"StorageFileApi.swift",
"StorageHTTPClient.swift",
"SupabaseStorage.swift",
"TransformOptions.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "RealtimeTests",
"module_type" : "SwiftTarget",
"name" : "RealtimeTests",
"path" : "Tests/RealtimeTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"XCTestDynamicOverlay"
],
"sources" : [
"CallbackManagerTests.swift",
"ExportsTests.swift",
"FakeWebSocket.swift",
"PostgresActionTests.swift",
"PostgresJoinConfigTests.swift",
"PresenceActionTests.swift",
"PushV2Tests.swift",
"RealtimeChannelTests.swift",
"RealtimeErrorTests.swift",
"RealtimeJoinConfigTests.swift",
"RealtimeMessageV2Tests.swift",
"RealtimePostgresFilterTests.swift",
"RealtimePostgresFilterValueTests.swift",
"RealtimeTests.swift",
"WebSocketTests.swift",
"_PushTests.swift"
],
"target_dependencies" : [
"PostgREST",
"Realtime",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "Realtime",
"module_type" : "SwiftTarget",
"name" : "Realtime",
"path" : "Sources/Realtime",
"product_dependencies" : [
"ConcurrencyExtras",
"IssueReporting"
],
"product_memberships" : [
"Realtime",
"Supabase"
],
"sources" : [
"CallbackManager.swift",
"Deprecated/Defaults.swift",
"Deprecated/Delegated.swift",
"Deprecated/Deprecated.swift",
"Deprecated/HeartbeatTimer.swift",
"Deprecated/PhoenixTransport.swift",
"Deprecated/Presence.swift",
"Deprecated/Push.swift",
"Deprecated/RealtimeChannel.swift",
"Deprecated/RealtimeClient.swift",
"Deprecated/RealtimeMessage.swift",
"Deprecated/TimeoutTimer.swift",
"Exports.swift",
"PostgresAction.swift",
"PostgresActionData.swift",
"PresenceAction.swift",
"PushV2.swift",
"RealtimeChannel+AsyncAwait.swift",
"RealtimeChannelV2.swift",
"RealtimeClientV2.swift",
"RealtimeError.swift",
"RealtimeJoinConfig.swift",
"RealtimeMessageV2.swift",
"RealtimePostgresFilter.swift",
"RealtimePostgresFilterValue.swift",
"Types.swift",
"WebSocket/URLSessionWebSocket.swift",
"WebSocket/WebSocket.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "PostgRESTTests",
"module_type" : "SwiftTarget",
"name" : "PostgRESTTests",
"path" : "Tests/PostgRESTTests",
"product_dependencies" : [
"InlineSnapshotTesting",
"SnapshotTesting",
"Mocker"
],
"sources" : [
"BuildURLRequestTests.swift",
"JSONTests.swift",
"PostgresQueryTests.swift",
"PostgrestBuilderTests.swift",
"PostgrestFilterBuilderTests.swift",
"PostgrestFilterValueTests.swift",
"PostgrestQueryBuilderTests.swift",
"PostgrestResponseTests.swift",
"PostgrestRpcBuilderTests.swift",
"PostgrestTransformBuilderTests.swift"
],
"target_dependencies" : [
"Helpers",
"PostgREST",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "PostgREST",
"module_type" : "SwiftTarget",
"name" : "PostgREST",
"path" : "Sources/PostgREST",
"product_dependencies" : [
"ConcurrencyExtras"
],
"product_memberships" : [
"PostgREST",
"Supabase"
],
"sources" : [
"Defaults.swift",
"Deprecated.swift",
"Exports.swift",
"PostgrestBuilder.swift",
"PostgrestClient.swift",
"PostgrestFilterBuilder.swift",
"PostgrestFilterValue.swift",
"PostgrestQueryBuilder.swift",
"PostgrestTransformBuilder.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"XCTestDynamicOverlay"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/IntegrationTests/Fixtures/Upload/file-2.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/IntegrationTests/Fixtures/Upload/sadcat.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/IntegrationTests/supabase/config.toml",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AuthClientIntegrationTests.swift",
"DotEnv.swift",
"Postgrest/PostgresTransformsTests.swift",
"Postgrest/PostgrestBasicTests.swift",
"Postgrest/PostgrestFilterTests.swift",
"Postgrest/PostgrestResourceEmbeddingTests.swift",
"PostgrestIntegrationTests.swift",
"RealtimeIntegrationTests.swift",
"StorageClientIntegrationTests.swift",
"StorageFileIntegrationTests.swift"
],
"target_dependencies" : [
"Helpers",
"Supabase",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "HelpersTests",
"module_type" : "SwiftTarget",
"name" : "HelpersTests",
"path" : "Tests/HelpersTests",
"product_dependencies" : [
"CustomDump"
],
"sources" : [
"AnyJSONTests.swift",
"AsyncValueSubjectTests.swift",
"EventEmitterTests.swift",
"HTTPErrorTests.swift",
"JWTTests.swift",
"ObservationTokenTests.swift",
"PostgrestErrorTests.swift",
"WithTimeoutTests.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "test"
},
{
"c99name" : "Helpers",
"module_type" : "SwiftTarget",
"name" : "Helpers",
"path" : "Sources/Helpers",
"product_dependencies" : [
"ConcurrencyExtras",
"HTTPTypes",
"Clocks",
"XCTestDynamicOverlay"
],
"product_memberships" : [
"Auth",
"Functions",
"PostgREST",
"Realtime",
"Storage",
"Supabase"
],
"sources" : [
"AnyJSON/AnyJSON+Codable.swift",
"AnyJSON/AnyJSON.swift",
"AsyncValueSubject.swift",
"Codable.swift",
"DateFormatter.swift",
"EventEmitter.swift",
"FoundationExtensions.swift",
"HTTP/HTTPClient.swift",
"HTTP/HTTPFields.swift",
"HTTP/HTTPRequest.swift",
"HTTP/HTTPResponse.swift",
"HTTP/LoggerInterceptor.swift",
"HTTP/RetryRequestInterceptor.swift",
"JWT.swift",
"Logger/OSLogSupabaseLogger.swift",
"Logger/SupabaseLogger.swift",
"SharedModels/HTTPError.swift",
"SharedModels/PostgrestError.swift",
"Task+withTimeout.swift",
"TaskLocalHelpers.swift",
"URLSession+AsyncAwait.swift",
"Version.swift",
"_Clock.swift"
],
"type" : "library"
},
{
"c99name" : "FunctionsTests",
"module_type" : "SwiftTarget",
"name" : "FunctionsTests",
"path" : "Tests/FunctionsTests",
"product_dependencies" : [
"ConcurrencyExtras",
"InlineSnapshotTesting",
"SnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"sources" : [
"FunctionInvokeOptionsTests.swift",
"FunctionsClientTests.swift",
"FunctionsErrorTests.swift",
"RequestTests.swift"
],
"target_dependencies" : [
"Functions",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "Functions",
"module_type" : "SwiftTarget",
"name" : "Functions",
"path" : "Sources/Functions",
"product_memberships" : [
"Functions",
"Supabase"
],
"sources" : [
"Exports.swift",
"FunctionsClient.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "AuthTests",
"module_type" : "SwiftTarget",
"name" : "AuthTests",
"path" : "Tests/AuthTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"SnapshotTesting",
"XCTestDynamicOverlay"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AuthTests/Resources/anonymous-sign-in-response.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AuthTests/Resources/list-users-response.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AuthTests/Resources/local-storage.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AuthTests/Resources/session.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AuthTests/Resources/signup-response.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AuthTests/Resources/user.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AuthClientMultipleInstancesTests.swift",
"AuthClientTests.swift",
"AuthErrorTests.swift",
"AuthResponseTests.swift",
"ExtractParamsTests.swift",
"MockHelpers.swift",
"Mocks/Mocks.swift",
"PKCETests.swift",
"RequestsTests.swift",
"SessionManagerTests.swift",
"StoredSessionTests.swift"
],
"target_dependencies" : [
"Auth",
"Helpers",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "Auth",
"module_type" : "SwiftTarget",
"name" : "Auth",
"path" : "Sources/Auth",
"product_dependencies" : [
"ConcurrencyExtras",
"Crypto"
],
"product_memberships" : [
"Auth",
"Supabase"
],
"sources" : [
"AuthAdmin.swift",
"AuthClient.swift",
"AuthClientConfiguration.swift",
"AuthError.swift",
"AuthMFA.swift",
"AuthStateChangeListener.swift",
"Defaults.swift",
"Deprecated.swift",
"Exports.swift",
"Internal/APIClient.swift",
"Internal/CodeVerifierStorage.swift",
"Internal/Constants.swift",
"Internal/Dependencies.swift",
"Internal/EventEmitter.swift",
"Internal/FixedWidthInteger+Random.swift",
"Internal/Helpers.swift",
"Internal/Keychain.swift",
"Internal/PKCE.swift",
"Internal/SessionManager.swift",
"Internal/SessionStorage.swift",
"Internal/URLOpener.swift",
"Storage/AuthLocalStorage.swift",
"Storage/KeychainLocalStorage.swift",
"Storage/WinCredLocalStorage.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.