Build Information
Successful build of Supabase, reference v2.29.3 (09f047
), with Swift 6.0 for macOS (SPM) on 10 Jun 2025 17:09:32 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
[280/340] Compiling Helpers _Clock.swift
[281/419] Emitting module SnapshotTesting
[282/422] Compiling Auth Dependencies.swift
[283/422] Compiling Auth EventEmitter.swift
[284/422] Compiling Auth FixedWidthInteger+Random.swift
[285/422] Compiling Auth Helpers.swift
[286/422] Compiling Storage SupabaseStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storage/SupabaseStorage.swift:14:29: warning: 'defaultStorageEncoder' is deprecated: Access to storage encoder is going to be removed.
12 | url: URL,
13 | headers: [String: String],
14 | encoder: JSONEncoder = .defaultStorageEncoder,
| `- warning: 'defaultStorageEncoder' is deprecated: Access to storage encoder is going to be removed.
15 | decoder: JSONDecoder = .defaultStorageDecoder,
16 | session: StorageHTTPSession = .init(),
/Users/admin/builder/spi-builder-workspace/Sources/Storage/SupabaseStorage.swift:15:29: warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed.
13 | headers: [String: String],
14 | encoder: JSONEncoder = .defaultStorageEncoder,
15 | decoder: JSONDecoder = .defaultStorageDecoder,
| `- warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed.
16 | session: StorageHTTPSession = .init(),
17 | logger: (any SupabaseLogger)? = nil
[287/423] Compiling Storage TransformOptions.swift
[288/423] Compiling Auth KeychainLocalStorage.swift
[289/423] Compiling Auth Defaults.swift
[290/423] Compiling Auth Deprecated.swift
[291/423] Compiling Auth Keychain.swift
[292/423] Compiling Auth APIClient.swift
[293/423] Compiling Auth CodeVerifierStorage.swift
[294/423] Compiling Auth Constants.swift
[295/423] Compiling Auth SessionStorage.swift
[296/423] Compiling Auth URLOpener.swift
[297/423] Compiling Auth AuthLocalStorage.swift
[298/423] Emitting module Functions
[299/423] Compiling Functions Types.swift
[300/423] Compiling Functions FunctionsClient.swift
[301/423] Compiling Functions Exports.swift
[302/423] Compiling Realtime RealtimePostgresFilterValue.swift
[303/423] Compiling Realtime Types.swift
[308/425] Compiling Auth Exports.swift
[309/427] Compiling PostgREST PostgrestQueryBuilder.swift
[310/427] Compiling PostgREST PostgrestFilterValue.swift
[311/427] Compiling PostgREST PostgrestTransformBuilder.swift
[312/428] Compiling PostgREST PostgrestClient.swift
[313/428] Compiling PostgREST Exports.swift
[314/428] Compiling PostgREST PostgrestBuilder.swift
[315/428] Compiling PostgREST Defaults.swift
[316/428] Compiling PostgREST Deprecated.swift
[317/428] Emitting module PostgREST
[318/428] Compiling PostgREST PostgrestFilterBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgREST/PostgrestFilterBuilder.swift:578:5: warning: 'plfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .plain type.
576 | config: String? = nil
577 | ) -> PostgrestFilterBuilder {
578 | plfts(column, query: query, config: config)
| `- warning: 'plfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .plain type.
579 | }
580 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgREST/PostgrestFilterBuilder.swift:586:5: warning: 'phfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .phrase type.
584 | config: String? = nil
585 | ) -> PostgrestFilterBuilder {
586 | phfts(column, query: query, config: config)
| `- warning: 'phfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .phrase type.
587 | }
588 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgREST/PostgrestFilterBuilder.swift:594:5: warning: 'wfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .websearch type.
592 | config: String? = nil
593 | ) -> PostgrestFilterBuilder {
594 | wfts(column, query: query, config: config)
| `- warning: 'wfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .websearch type.
595 | }
596 | }
[323/428] Compiling Realtime URLSessionWebSocket.swift
[324/428] Compiling Realtime WebSocket.swift
[326/428] Compiling Auth WinCredLocalStorage.swift
[327/428] Compiling Auth Types.swift
[328/428] Compiling Auth AuthError.swift
<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: 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
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
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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 | }
<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: 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
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
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
[329/428] Compiling Auth AuthMFA.swift
<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: 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
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
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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 | }
<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: 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
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
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
[330/428] Compiling Auth AuthStateChangeListener.swift
<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: 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
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
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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 | }
<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: 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
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
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
[331/428] Compiling SnapshotTesting UIView.swift
[332/428] Compiling SnapshotTesting UIViewController.swift
[333/428] Compiling SnapshotTesting URLRequest.swift
[337/428] Emitting module Realtime
<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: 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
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
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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 | }
<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: 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
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
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
| |- note: annotate 'defaults' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
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
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
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
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
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
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
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
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
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
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
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
[341/428] Compiling Auth PKCE.swift
[342/428] Compiling Auth SessionManager.swift
[343/428] Compiling Auth AuthAdmin.swift
[344/428] Compiling Auth AuthClient.swift
[345/428] Compiling Auth AuthClientConfiguration.swift
[356/428] Compiling Storage StorageHTTPClient.swift
[357/428] Compiling Storage StorageError.swift
[360/428] Emitting module Storage
/Users/admin/builder/spi-builder-workspace/Sources/Storage/SupabaseStorage.swift:14:29: warning: 'defaultStorageEncoder' is deprecated: Access to storage encoder is going to be removed.
12 | url: URL,
13 | headers: [String: String],
14 | encoder: JSONEncoder = .defaultStorageEncoder,
| `- warning: 'defaultStorageEncoder' is deprecated: Access to storage encoder is going to be removed.
15 | decoder: JSONDecoder = .defaultStorageDecoder,
16 | session: StorageHTTPSession = .init(),
/Users/admin/builder/spi-builder-workspace/Sources/Storage/SupabaseStorage.swift:15:29: warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed.
13 | headers: [String: String],
14 | encoder: JSONEncoder = .defaultStorageEncoder,
15 | decoder: JSONDecoder = .defaultStorageDecoder,
| `- warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed.
16 | session: StorageHTTPSession = .init(),
17 | logger: (any SupabaseLogger)? = nil
[367/428] Compiling Storage StorageFileApi.swift
[368/428] Compiling PostgREST Types.swift
[369/430] Emitting module Auth
<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: 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
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
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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 | }
<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: 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
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
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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
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
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
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
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
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
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |
<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: 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
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
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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 | }
<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: 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
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
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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
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
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
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
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
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
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |
<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: 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
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
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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
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
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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 | }
<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: 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
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
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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
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
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
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
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
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
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |
[378/430] Compiling Storage Types.swift
/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
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
314 | )
315 | }
/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
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
314 | )
315 | }
/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
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
314 | )
315 | }
/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
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
| |- note: annotate 'defaults' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
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
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
66 | event: String,
67 | payload: Payload = [:],
/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
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
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
/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
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
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
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
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
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
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
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
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()
/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
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
| |- note: annotate 'defaults' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
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
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
66 | event: String,
67 | payload: Payload = [:],
/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
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
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
/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
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
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
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
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
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
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
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
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()
/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
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
| |- note: annotate 'defaults' with '@MainActor' if property should only be accessed from the main actor
| `- 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
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
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
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
66 | event: String,
67 | payload: Payload = [:],
/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
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
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
/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
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
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
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
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
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
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
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
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()
/Users/admin/builder/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:88:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
86 | ],
87 | body: configuration.encoder.encode(
88 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
89 | )
90 | )
/Users/admin/builder/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:88:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
86 | ],
87 | body: configuration.encoder.encode(
88 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
89 | )
90 | )
/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.
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.
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.
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.
370 | password: password,
371 | phone: phone,
/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.
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.
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.
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.
370 | password: password,
371 | phone: phone,
/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.
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.
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.
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.
370 | password: password,
371 | phone: phone,
/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.
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.
504 | self.data = data
505 | }
/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.
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.
504 | self.data = data
505 | }
[422/436] Emitting module SnapshotTestingCustomDump
[423/436] Compiling SnapshotTestingCustomDump CustomDump.swift
[424/436] Emitting module Supabase
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:70: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
68 | }
69 |
70 | 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
71 |
72 | /// Realtime client for Supabase
[425/436] Compiling Supabase Exports.swift
[426/436] Compiling Supabase Constants.swift
[427/436] Compiling Supabase Deprecated.swift
[428/436] Compiling Supabase Types.swift
[429/436] Compiling Supabase SupabaseClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:70: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
68 | }
69 |
70 | 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
71 |
72 | /// Realtime client for Supabase
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:187: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
185 |
186 | _realtime = UncheckedSendable(
187 | 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
188 | supabaseURL.appendingPathComponent("/realtime/v1").absoluteString,
189 | headers: _headers.dictionary,
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:246:22: warning: 'subscriptions' is deprecated: renamed to 'channels'
244 | /// Returns all Realtime channels.
245 | public var channels: [RealtimeChannelV2] {
246 | Array(realtimeV2.subscriptions.values)
| |- warning: 'subscriptions' is deprecated: renamed to 'channels'
| `- note: use 'channels' instead
247 | }
248 |
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:389:5: warning: 'realtime' is deprecated: Use realtimeV2
387 | }
388 |
389 | realtime.setAuth(accessToken)
| `- warning: 'realtime' is deprecated: Use realtimeV2
390 | await realtimeV2.setAuth(accessToken)
391 | }
[437/495] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[438/495] Compiling SwiftDiagnostics Message.swift
[439/496] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[440/496] Compiling SwiftDiagnostics Note.swift
[441/496] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[442/496] Compiling SwiftBasicFormat Syntax+Extensions.swift
[443/496] Compiling SwiftBasicFormat InferIndentation.swift
[444/496] Compiling SwiftDiagnostics FixIt.swift
[445/496] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[446/496] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[447/496] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[448/496] Compiling SwiftDiagnostics Diagnostic.swift
[449/496] Compiling SwiftDiagnostics Convenience.swift
[450/496] Emitting module SwiftDiagnostics
[451/496] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[452/496] Compiling SwiftBasicFormat BasicFormat.swift
[453/496] Emitting module SwiftBasicFormat
[454/496] Compiling SwiftBasicFormat Indenter.swift
[455/496] Compiling SwiftParser StringLiterals.swift
[456/496] Compiling SwiftParser SwiftParserCompatibility.swift
[457/496] Compiling SwiftParser SwiftVersion.swift
[458/496] Compiling SwiftParser SyntaxUtils.swift
[459/500] Compiling SwiftParser TopLevel.swift
[460/500] Compiling SwiftParser TriviaParser.swift
[461/500] Compiling SwiftParser Types.swift
[462/500] Compiling SwiftParser ExperimentalFeatures.swift
[463/500] Compiling SwiftParser TokenConsumer.swift
[464/500] Compiling SwiftParser TokenPrecedence.swift
[465/500] Compiling SwiftParser TokenSpec.swift
[466/500] Compiling SwiftParser TokenSpecSet.swift
[467/500] Compiling SwiftParser UnicodeScalarExtensions.swift
[468/500] Compiling SwiftParser Lookahead.swift
[469/500] Compiling SwiftParser LoopProgressCondition.swift
[470/500] Compiling SwiftParser Modifiers.swift
[471/500] Compiling SwiftParser Names.swift
[472/500] Emitting module SwiftParser
[473/500] Compiling SwiftParser Nominals.swift
[474/500] Compiling SwiftParser Parameters.swift
[475/500] Compiling SwiftParser ParseSourceFile.swift
[476/500] Compiling SwiftParser Parser.swift
[477/500] Compiling SwiftParser Patterns.swift
[478/500] Compiling SwiftParser Recovery.swift
[479/500] Compiling SwiftParser Specifiers.swift
[480/500] Compiling SwiftParser Statements.swift
[481/500] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[482/500] Compiling SwiftParser Attributes.swift
[483/500] Compiling SwiftParser Availability.swift
[484/500] Compiling SwiftParser CharacterInfo.swift
[485/500] Compiling SwiftParser CollectionNodes+Parsable.swift
[486/500] Compiling SwiftParser Declarations.swift
[487/500] Compiling SwiftParser Directives.swift
[488/500] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[489/500] Compiling SwiftParser Expressions.swift
[490/500] Compiling SwiftParser IncrementalParseTransition.swift
[491/500] Compiling SwiftParser IsValidIdentifier.swift
[492/500] Compiling SwiftParser Cursor.swift
[493/500] Compiling SwiftParser Lexeme.swift
[494/500] Compiling SwiftParser LexemeSequence.swift
[495/500] Compiling SwiftParser Lexer.swift
[496/500] Compiling SwiftParser RegexLiteralLexer.swift
[497/500] Compiling SwiftParser IsLexerClassified.swift
[498/500] Compiling SwiftParser LayoutNodes+Parsable.swift
[499/500] Compiling SwiftParser Parser+TokenSpecSet.swift
[500/500] Compiling SwiftParser TokenSpecStaticMembers.swift
[501/513] Compiling SwiftParserDiagnostics Utils.swift
[502/513] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[503/513] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[504/513] Compiling SwiftParserDiagnostics PresenceUtils.swift
[505/514] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[506/514] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[507/514] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[508/514] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[509/514] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[510/514] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[511/514] Compiling SwiftParserDiagnostics MissingNodesError.swift
[512/514] Compiling SwiftParserDiagnostics MissingTokenError.swift
[513/514] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[514/514] Emitting module SwiftParserDiagnostics
[515/529] Emitting module SwiftSyntaxBuilder
[516/530] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[517/530] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[518/530] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[519/530] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[520/530] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[521/530] Compiling SwiftSyntaxBuilder Indenter.swift
[522/530] Compiling SwiftSyntaxBuilder ListBuilder.swift
[523/530] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[524/530] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[525/530] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[526/530] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[527/530] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[528/530] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[529/530] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[530/530] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[531/533] Compiling InlineSnapshotTesting Exports.swift
[532/533] Compiling InlineSnapshotTesting AssertInlineSnapshot.swift
[533/533] Emitting module InlineSnapshotTesting
[534/541] Compiling TestHelpers WithMainSerialExecutor+Windows.swift
[535/541] Compiling TestHelpers MockExtensions.swift
[536/541] Compiling TestHelpers InMemoryLocalStorage.swift
[537/541] Compiling TestHelpers HTTPClientMock.swift
[538/541] Emitting module TestHelpers
[539/541] Compiling TestHelpers URLRequestSnapshot.swift
[540/541] Compiling TestHelpers Exports.swift
[541/541] Compiling TestHelpers AsyncSequence.swift
Build complete! (53.79s)
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/862] Fetching swift-concurrency-extras
[36/2154] Fetching swift-concurrency-extras, swift-clocks
[140/3058] Fetching swift-concurrency-extras, swift-clocks, swift-http-types
[240/7639] Fetching swift-concurrency-extras, swift-clocks, swift-http-types, swift-custom-dump
[764/9528] Fetching swift-concurrency-extras, swift-clocks, swift-http-types, swift-custom-dump, mocker
[1454/14986] Fetching swift-concurrency-extras, swift-clocks, swift-http-types, swift-custom-dump, mocker, xctest-dynamic-overlay
[10254/28204] Fetching swift-concurrency-extras, swift-clocks, swift-http-types, swift-custom-dump, mocker, xctest-dynamic-overlay, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.05s)
[9344/26912] Fetching swift-concurrency-extras, swift-http-types, swift-custom-dump, mocker, xctest-dynamic-overlay, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.05s)
[8537/26050] Fetching swift-http-types, swift-custom-dump, mocker, xctest-dynamic-overlay, swift-snapshot-testing
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/WeTransfer/Mocker from cache (1.15s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.15s)
[8090/23257] Fetching swift-custom-dump, xctest-dynamic-overlay, swift-snapshot-testing
[23258/38108] Fetching swift-custom-dump, xctest-dynamic-overlay, swift-snapshot-testing, swift-crypto
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.60s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (2.60s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.60s)
[298/14851] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.50s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.47s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.2 (0.54s)
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.41s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.44s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.44s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.45s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (0.44s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70776] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.14s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.62s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.06s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.98s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.54s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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
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/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
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/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/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.2
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",
"FakeWebSocket.swift",
"PostgresJoinConfigTests.swift",
"RealtimeChannelTests.swift",
"RealtimeMessageV2Tests.swift",
"RealtimePostgresFilterTests.swift",
"RealtimePostgresFilterValueTests.swift",
"RealtimeTests.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",
"JWTTests.swift",
"ObservationTokenTests.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",
"SharedModels/HTTPError.swift",
"SharedModels/PostgrestError.swift",
"SupabaseLogger.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.9"
}
Done.