Build Information
Successful build of Supabase, reference main (ad031c
), with Swift 6.0 for macOS (SPM) on 3 May 2025 10:29:19 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
[279/340] Compiling Helpers TaskLocalHelpers.swift
[280/340] Compiling Helpers URLSession+AsyncAwait.swift
[281/340] Compiling Helpers Codable.swift
[282/340] Compiling Helpers DateFormatter.swift
[283/340] Compiling Helpers EventEmitter.swift
[284/340] Compiling Helpers HTTPError.swift
[285/340] Compiling Helpers PostgrestError.swift
[286/340] Compiling Helpers SupabaseLogger.swift
[287/340] Compiling Helpers Task+withTimeout.swift
[288/340] Compiling Helpers RetryRequestInterceptor.swift
[289/340] Compiling Helpers JWT.swift
[290/340] Compiling Helpers AnyJSON+Codable.swift
[291/340] Compiling Helpers AnyJSON.swift
[292/340] Compiling Helpers AsyncValueSubject.swift
[293/340] Compiling Helpers Version.swift
[294/340] Compiling Helpers _Clock.swift
[295/415] Compiling Auth Dependencies.swift
[296/415] Compiling Auth EventEmitter.swift
[297/415] Compiling Auth FixedWidthInteger+Random.swift
[298/415] Compiling Auth AuthError.swift
[299/418] Compiling PostgREST Types.swift
[300/418] Compiling Functions Types.swift
[301/418] Compiling Storage StorageHTTPClient.swift
[302/419] Compiling Auth AuthLocalStorage.swift
[303/419] Compiling Auth KeychainLocalStorage.swift
[304/421] Compiling Storage SupabaseStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storage/SupabaseStorage.swift:18:29: warning: 'defaultStorageEncoder' is deprecated: Access to storage encoder is going to be removed.
16 | url: URL,
17 | headers: [String: String],
18 | encoder: JSONEncoder = .defaultStorageEncoder,
| `- warning: 'defaultStorageEncoder' is deprecated: Access to storage encoder is going to be removed.
19 | decoder: JSONDecoder = .defaultStorageDecoder,
20 | session: StorageHTTPSession = .init(),
/Users/admin/builder/spi-builder-workspace/Sources/Storage/SupabaseStorage.swift:19:29: warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed.
17 | headers: [String: String],
18 | encoder: JSONEncoder = .defaultStorageEncoder,
19 | decoder: JSONDecoder = .defaultStorageDecoder,
| `- warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed.
20 | session: StorageHTTPSession = .init(),
21 | logger: (any SupabaseLogger)? = nil
[305/421] Compiling Storage TransformOptions.swift
[306/421] Emitting module PostgREST
[307/421] Compiling Storage StorageBucketApi.swift
[308/421] Compiling PostgREST PostgrestTransformBuilder.swift
[309/421] Compiling Auth Types.swift
[310/421] Compiling Realtime Types.swift
[311/423] Compiling PostgREST PostgrestQueryBuilder.swift
[312/423] Compiling PostgREST PostgrestFilterValue.swift
[313/423] Compiling PostgREST Deprecated.swift
[314/423] Compiling PostgREST Defaults.swift
[316/423] Compiling Auth WinCredLocalStorage.swift
[317/423] Compiling PostgREST PostgrestBuilder.swift
[318/423] Compiling PostgREST PostgrestFilterBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgREST/PostgrestFilterBuilder.swift:579:5: warning: 'plfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .plain type.
577 | config: String? = nil
578 | ) -> PostgrestFilterBuilder {
579 | plfts(column, query: query, config: config)
| `- warning: 'plfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .plain type.
580 | }
581 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgREST/PostgrestFilterBuilder.swift:587:5: warning: 'phfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .phrase type.
585 | config: String? = nil
586 | ) -> PostgrestFilterBuilder {
587 | phfts(column, query: query, config: config)
| `- warning: 'phfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .phrase type.
588 | }
589 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgREST/PostgrestFilterBuilder.swift:595:5: warning: 'wfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .websearch type.
593 | config: String? = nil
594 | ) -> PostgrestFilterBuilder {
595 | wfts(column, query: query, config: config)
| `- warning: 'wfts(_:query:config:)' is deprecated: Use textSearch(_:query:config:type) with .websearch type.
596 | }
597 | }
[319/423] Compiling PostgREST PostgrestClient.swift
[320/423] Emitting module Functions
[321/423] Compiling Functions FunctionsClient.swift
[322/423] Compiling Auth AuthAdmin.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 =
[323/423] Compiling Auth AuthClient.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 =
[324/423] Compiling Auth AuthClientConfiguration.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 =
[325/423] Compiling Auth SessionStorage.swift
[326/423] Compiling Auth URLOpener.swift
[327/423] Compiling Auth PKCE.swift
/Users/admin/builder/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:89:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
87 | ],
88 | body: configuration.encoder.encode(
89 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
90 | )
91 | )
[328/423] Compiling Auth SessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:89:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
87 | ],
88 | body: configuration.encoder.encode(
89 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
90 | )
91 | )
[329/423] 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:1007: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
1005 |
1006 | // ----------------------------------------------------------------------
1007 | 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
1008 | /// - return: True if the RealtimeChannel has been closed
1009 | public var isClosed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1009: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
1007 |
1008 | // ----------------------------------------------------------------------
1009 | 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
1010 | public enum CloseCode: Int {
1011 | case abnormal = 999
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1024: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
1022 |
1023 | // ----------------------------------------------------------------------
1024 | 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
1025 | /// Indicates the different closure states a socket can be in.
1026 | 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) {
[330/423] Compiling Auth Defaults.swift
[331/423] Compiling Auth Deprecated.swift
[332/423] Compiling Auth APIClient.swift
[333/423] Compiling SnapshotTesting UIView.swift
[334/423] Compiling SnapshotTesting UIViewController.swift
[335/423] Compiling SnapshotTesting URLRequest.swift
[336/423] Compiling Auth CodeVerifierStorage.swift
[337/423] Compiling Auth Constants.swift
[342/423] Compiling Auth AuthMFA.swift
[343/423] Compiling Auth AuthStateChangeListener.swift
[344/423] Compiling Auth Helpers.swift
[345/423] Compiling Realtime PushV2.swift
[346/423] Compiling Storage StorageError.swift
[347/423] Compiling Storage StorageFileApi.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: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:1009: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
1007 |
1008 | // ----------------------------------------------------------------------
1009 | 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
1010 | public enum CloseCode: Int {
1011 | case abnormal = 999
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1024: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
1022 |
1023 | // ----------------------------------------------------------------------
1024 | 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
1025 | /// Indicates the different closure states a socket can be in.
1026 | 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:369:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
367 | // Since the connection's delegate was nil'd out, inform all state
368 | // callbacks that the connection has closed
369 | 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
370 | callback?()
371 | }
/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:410:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | 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
411 | }
412 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:410: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
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | 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
411 | }
412 | }
/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:453:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | 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
454 | }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:453: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
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | 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
454 | }
455 | }
/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:488:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | 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
489 | }
490 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:488: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
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | 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
489 | }
490 | }
/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:531:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | 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
532 | }
533 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:531: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
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | 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
532 | }
533 | }
/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:551:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | 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
552 | }
553 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:551: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
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | 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
552 | }
553 | }
/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:575:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | 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
576 | }
577 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:575: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
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | 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
576 | }
577 | }
/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:596:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | 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
597 | }
598 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:596: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
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | 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
597 | }
598 | }
/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:620:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | 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
621 | }
622 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:620: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
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | 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
621 | }
622 | }
/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:789:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
787 |
788 | // Inform all onOpen callbacks that the Socket has opened
789 | 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
790 | }
791 |
/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:807:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
805 | }
806 |
807 | 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
808 | }
809 |
/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:817: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
815 |
816 | // Inform any state callbacks of the error
817 | 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
818 | }
819 |
/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:845:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
843 |
844 | // Inform all onMessage callbacks of the message
845 | 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
846 | }
847 |
/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:1009: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
1007 |
1008 | // ----------------------------------------------------------------------
1009 | 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
1010 | public enum CloseCode: Int {
1011 | case abnormal = 999
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1024: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
1022 |
1023 | // ----------------------------------------------------------------------
1024 | 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
1025 | /// Indicates the different closure states a socket can be in.
1026 | 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:369:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
367 | // Since the connection's delegate was nil'd out, inform all state
368 | // callbacks that the connection has closed
369 | 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
370 | callback?()
371 | }
/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:410:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | 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
411 | }
412 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:410: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
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | 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
411 | }
412 | }
/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:453:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | 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
454 | }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:453: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
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | 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
454 | }
455 | }
/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:488:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | 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
489 | }
490 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:488: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
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | 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
489 | }
490 | }
/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:531:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | 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
532 | }
533 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:531: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
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | 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
532 | }
533 | }
/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:551:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | 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
552 | }
553 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:551: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
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | 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
552 | }
553 | }
/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:575:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | 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
576 | }
577 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:575: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
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | 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
576 | }
577 | }
/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:596:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | 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
597 | }
598 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:596: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
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | 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
597 | }
598 | }
/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:620:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | 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
621 | }
622 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:620: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
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | 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
621 | }
622 | }
/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:789:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
787 |
788 | // Inform all onOpen callbacks that the Socket has opened
789 | 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
790 | }
791 |
/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:807:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
805 | }
806 |
807 | 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
808 | }
809 |
/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:817: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
815 |
816 | // Inform any state callbacks of the error
817 | 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
818 | }
819 |
/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:845:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
843 |
844 | // Inform all onMessage callbacks of the message
845 | 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
846 | }
847 |
/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:1009: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
1007 |
1008 | // ----------------------------------------------------------------------
1009 | 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
1010 | public enum CloseCode: Int {
1011 | case abnormal = 999
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1024: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
1022 |
1023 | // ----------------------------------------------------------------------
1024 | 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
1025 | /// Indicates the different closure states a socket can be in.
1026 | 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:369:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
367 | // Since the connection's delegate was nil'd out, inform all state
368 | // callbacks that the connection has closed
369 | 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
370 | callback?()
371 | }
/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:410:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | 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
411 | }
412 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:410: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
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | 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
411 | }
412 | }
/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:453:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | 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
454 | }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:453: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
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | 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
454 | }
455 | }
/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:488:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | 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
489 | }
490 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:488: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
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | 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
489 | }
490 | }
/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:531:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | 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
532 | }
533 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:531: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
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | 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
532 | }
533 | }
/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:551:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | 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
552 | }
553 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:551: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
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | 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
552 | }
553 | }
/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:575:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | 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
576 | }
577 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:575: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
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | 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
576 | }
577 | }
/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:596:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | 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
597 | }
598 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:596: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
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | 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
597 | }
598 | }
/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:620:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | 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
621 | }
622 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:620: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
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | 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
621 | }
622 | }
/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:789:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
787 |
788 | // Inform all onOpen callbacks that the Socket has opened
789 | 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
790 | }
791 |
/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:807:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
805 | }
806 |
807 | 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
808 | }
809 |
/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:817: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
815 |
816 | // Inform any state callbacks of the error
817 | 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
818 | }
819 |
/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:845:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
843 |
844 | // Inform all onMessage callbacks of the message
845 | 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
846 | }
847 |
/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 |
[354/423] Compiling Realtime URLSessionWebSocket.swift
[355/423] Compiling Realtime WebSocket.swift
[356/423] Emitting module Storage
/Users/admin/builder/spi-builder-workspace/Sources/Storage/SupabaseStorage.swift:18:29: warning: 'defaultStorageEncoder' is deprecated: Access to storage encoder is going to be removed.
16 | url: URL,
17 | headers: [String: String],
18 | encoder: JSONEncoder = .defaultStorageEncoder,
| `- warning: 'defaultStorageEncoder' is deprecated: Access to storage encoder is going to be removed.
19 | decoder: JSONDecoder = .defaultStorageDecoder,
20 | session: StorageHTTPSession = .init(),
/Users/admin/builder/spi-builder-workspace/Sources/Storage/SupabaseStorage.swift:19:29: warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed.
17 | headers: [String: String],
18 | encoder: JSONEncoder = .defaultStorageEncoder,
19 | decoder: JSONDecoder = .defaultStorageDecoder,
| `- warning: 'defaultStorageDecoder' is deprecated: Access to storage decoder is going to be removed.
20 | session: StorageHTTPSession = .init(),
21 | logger: (any SupabaseLogger)? = nil
[363/423] 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:1007: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
1005 |
1006 | // ----------------------------------------------------------------------
1007 | 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
1008 | /// - return: True if the RealtimeChannel has been closed
1009 | public var isClosed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:381:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
379 | var accessTokenPayload: Payload = [:]
380 | var config: Payload = [
381 | "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
382 | ]
383 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:408:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
406 | }
407 |
408 | 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
409 | let bindingsCount = clientPostgresBindings.count
410 | var newPostgresBindings: [Binding] = []
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:446:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
444 |
445 | self.bindings.withValue { [newPostgresBindings] in
446 | $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
447 | }
448 | callback?(.subscribed, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
39 | public var event: String?
40 | public var schema: String?
:
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | 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
648 | )
649 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647: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
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | 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
648 | )
649 | }
/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:919:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
917 |
918 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
919 | 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
920 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
921 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:923:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
921 | }
922 | } else {
923 | 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
924 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
925 | 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:1007: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
1005 |
1006 | // ----------------------------------------------------------------------
1007 | 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
1008 | /// - return: True if the RealtimeChannel has been closed
1009 | public var isClosed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:381:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
379 | var accessTokenPayload: Payload = [:]
380 | var config: Payload = [
381 | "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
382 | ]
383 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:408:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
406 | }
407 |
408 | 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
409 | let bindingsCount = clientPostgresBindings.count
410 | var newPostgresBindings: [Binding] = []
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:446:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
444 |
445 | self.bindings.withValue { [newPostgresBindings] in
446 | $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
447 | }
448 | callback?(.subscribed, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
39 | public var event: String?
40 | public var schema: String?
:
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | 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
648 | )
649 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647: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
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | 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
648 | )
649 | }
/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:919:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
917 |
918 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
919 | 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
920 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
921 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:923:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
921 | }
922 | } else {
923 | 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
924 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
925 | 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:1007: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
1005 |
1006 | // ----------------------------------------------------------------------
1007 | 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
1008 | /// - return: True if the RealtimeChannel has been closed
1009 | public var isClosed: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:381:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
379 | var accessTokenPayload: Payload = [:]
380 | var config: Payload = [
381 | "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
382 | ]
383 |
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:408:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
406 | }
407 |
408 | 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
409 | let bindingsCount = clientPostgresBindings.count
410 | var newPostgresBindings: [Binding] = []
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:446:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
444 |
445 | self.bindings.withValue { [newPostgresBindings] in
446 | $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
447 | }
448 | callback?(.subscribed, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
39 | public var event: String?
40 | public var schema: String?
:
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | 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
648 | )
649 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647: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
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | 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
648 | )
649 | }
/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:919:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
917 |
918 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
919 | 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
920 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
921 | }
/Users/admin/builder/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:923:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
921 | }
922 | } else {
923 | 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
924 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
925 | let bindEvent = bind.filter["event"]?.lowercased()
[395/423] Emitting module SnapshotTesting
[404/425] Emitting module Auth
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:343:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
341 | query: [URLQueryItem(name: "grant_type", value: "password")],
342 | body: configuration.encoder.encode(
343 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
344 | email: email,
345 | password: password,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:370:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
368 | query: [URLQueryItem(name: "grant_type", value: "password")],
369 | body: configuration.encoder.encode(
370 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
371 | password: password,
372 | phone: phone,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:343:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
341 | query: [URLQueryItem(name: "grant_type", value: "password")],
342 | body: configuration.encoder.encode(
343 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
344 | email: email,
345 | password: password,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:370:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
368 | query: [URLQueryItem(name: "grant_type", value: "password")],
369 | body: configuration.encoder.encode(
370 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
371 | password: password,
372 | phone: phone,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:343:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
341 | query: [URLQueryItem(name: "grant_type", value: "password")],
342 | body: configuration.encoder.encode(
343 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
344 | email: email,
345 | password: password,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/AuthClient.swift:370:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
368 | query: [URLQueryItem(name: "grant_type", value: "password")],
369 | body: configuration.encoder.encode(
370 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
371 | password: password,
372 | phone: phone,
/Users/admin/builder/spi-builder-workspace/Sources/Auth/Types.swift:505:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
503 | self.password = password
504 | self.nonce = nonce
505 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
506 | self.data = data
507 | }
/Users/admin/builder/spi-builder-workspace/Sources/Auth/Types.swift:505:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
503 | self.password = password
504 | self.nonce = nonce
505 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
506 | self.data = data
507 | }
[417/430] Compiling Supabase Types.swift
[418/430] Compiling Supabase SupabaseClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:79: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
77 | }
78 |
79 | 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
80 |
81 | /// Realtime client for Supabase
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:196: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
194 |
195 | _realtime = UncheckedSendable(
196 | 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
197 | supabaseURL.appendingPathComponent("/realtime/v1").absoluteString,
198 | headers: _headers.dictionary,
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:255:22: warning: 'subscriptions' is deprecated: renamed to 'channels'
253 | /// Returns all Realtime channels.
254 | public var channels: [RealtimeChannelV2] {
255 | Array(realtimeV2.subscriptions.values)
| |- warning: 'subscriptions' is deprecated: renamed to 'channels'
| `- note: use 'channels' instead
256 | }
257 |
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:398:5: warning: 'realtime' is deprecated: Use realtimeV2
396 | }
397 |
398 | realtime.setAuth(accessToken)
| `- warning: 'realtime' is deprecated: Use realtimeV2
399 | await realtimeV2.setAuth(accessToken)
400 | }
[419/430] Emitting module Supabase
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:79: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
77 | }
78 |
79 | 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
80 |
81 | /// Realtime client for Supabase
[420/430] Compiling Supabase Constants.swift
[421/430] Compiling Supabase Deprecated.swift
[422/430] Emitting module SnapshotTestingCustomDump
[423/430] Compiling SnapshotTestingCustomDump CustomDump.swift
[431/489] Compiling SwiftDiagnostics Message.swift
[432/490] Emitting module SwiftDiagnostics
[433/490] Compiling SwiftDiagnostics Note.swift
[434/490] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[435/490] Compiling SwiftBasicFormat Syntax+Extensions.swift
[436/490] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[437/490] Compiling SwiftBasicFormat Indenter.swift
[438/490] Compiling SwiftBasicFormat InferIndentation.swift
[439/490] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[440/490] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[441/490] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[442/490] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[443/490] Compiling SwiftDiagnostics FixIt.swift
[444/490] Compiling SwiftDiagnostics Diagnostic.swift
[445/490] Compiling SwiftDiagnostics Convenience.swift
[446/490] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[447/490] Compiling SwiftBasicFormat BasicFormat.swift
[448/490] Emitting module SwiftBasicFormat
[449/490] Compiling SwiftParser StringLiterals.swift
[450/490] Compiling SwiftParser SwiftParserCompatibility.swift
[451/490] Compiling SwiftParser SwiftVersion.swift
[452/490] Compiling SwiftParser SyntaxUtils.swift
[453/494] Compiling SwiftParser TopLevel.swift
[454/494] Compiling SwiftParser TriviaParser.swift
[455/494] Compiling SwiftParser Types.swift
[456/494] Compiling SwiftParser ExperimentalFeatures.swift
[457/494] Compiling SwiftParser TokenConsumer.swift
[458/494] Compiling SwiftParser TokenPrecedence.swift
[459/494] Compiling SwiftParser TokenSpec.swift
[460/494] Compiling SwiftParser TokenSpecSet.swift
[461/494] Compiling SwiftParser UnicodeScalarExtensions.swift
[462/494] Compiling SwiftParser Lookahead.swift
[463/494] Compiling SwiftParser LoopProgressCondition.swift
[464/494] Compiling SwiftParser Modifiers.swift
[465/494] Compiling SwiftParser Names.swift
[466/494] Compiling SwiftParser Recovery.swift
[467/494] Compiling SwiftParser Specifiers.swift
[468/494] Compiling SwiftParser Statements.swift
[469/494] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[470/494] Compiling SwiftParser Nominals.swift
[471/494] Compiling SwiftParser Parameters.swift
[472/494] Compiling SwiftParser ParseSourceFile.swift
[473/494] Compiling SwiftParser Parser.swift
[474/494] Compiling SwiftParser Patterns.swift
[475/494] Emitting module SwiftParser
[476/494] Compiling SwiftParser Attributes.swift
[477/494] Compiling SwiftParser Availability.swift
[478/494] Compiling SwiftParser CharacterInfo.swift
[479/494] Compiling SwiftParser CollectionNodes+Parsable.swift
[480/494] Compiling SwiftParser Declarations.swift
[481/494] Compiling SwiftParser Directives.swift
[482/494] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[483/494] Compiling SwiftParser Expressions.swift
[484/494] Compiling SwiftParser IncrementalParseTransition.swift
[485/494] Compiling SwiftParser IsValidIdentifier.swift
[486/494] Compiling SwiftParser Cursor.swift
[487/494] Compiling SwiftParser Lexeme.swift
[488/494] Compiling SwiftParser LexemeSequence.swift
[489/494] Compiling SwiftParser Lexer.swift
[490/494] Compiling SwiftParser RegexLiteralLexer.swift
[491/494] Compiling SwiftParser IsLexerClassified.swift
[492/494] Compiling SwiftParser LayoutNodes+Parsable.swift
[493/494] Compiling SwiftParser Parser+TokenSpecSet.swift
[494/494] Compiling SwiftParser TokenSpecStaticMembers.swift
[495/507] Compiling SwiftParserDiagnostics Utils.swift
[496/508] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[497/508] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[498/508] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[499/508] Compiling SwiftParserDiagnostics PresenceUtils.swift
[500/508] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[501/508] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[502/508] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[503/508] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[504/508] Emitting module SwiftParserDiagnostics
[505/508] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[506/508] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[507/508] Compiling SwiftParserDiagnostics MissingNodesError.swift
[508/508] Compiling SwiftParserDiagnostics MissingTokenError.swift
[509/523] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[510/524] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[511/524] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[512/524] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[513/524] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[514/524] Emitting module SwiftSyntaxBuilder
[515/524] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[516/524] Compiling SwiftSyntaxBuilder Indenter.swift
[517/524] Compiling SwiftSyntaxBuilder ListBuilder.swift
[518/524] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[519/524] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[520/524] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[521/524] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[522/524] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[523/524] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[524/524] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[525/527] Compiling InlineSnapshotTesting Exports.swift
[526/527] Compiling InlineSnapshotTesting AssertInlineSnapshot.swift
[527/527] Emitting module InlineSnapshotTesting
[528/534] Compiling TestHelpers MockExtensions.swift
[529/534] Compiling TestHelpers WithMainSerialExecutor+Windows.swift
[530/534] Compiling TestHelpers InMemoryLocalStorage.swift
[531/534] Compiling TestHelpers HTTPClientMock.swift
[532/534] Compiling TestHelpers AsyncSequence.swift
[533/534] Emitting module TestHelpers
[534/534] Compiling TestHelpers URLRequestSnapshot.swift
Build complete! (50.55s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/4581] Fetching swift-custom-dump
[414/5485] Fetching swift-custom-dump, swift-http-types
[1384/6337] Fetching swift-custom-dump, swift-http-types, swift-concurrency-extras
[1625/8228] Fetching swift-custom-dump, swift-http-types, swift-concurrency-extras, mocker
[1933/9520] Fetching swift-custom-dump, swift-http-types, swift-concurrency-extras, mocker, swift-clocks
[2011/14947] Fetching swift-custom-dump, swift-http-types, swift-concurrency-extras, mocker, swift-clocks, xctest-dynamic-overlay
[12561/28106] Fetching swift-custom-dump, swift-http-types, swift-concurrency-extras, mocker, swift-clocks, xctest-dynamic-overlay, swift-snapshot-testing
Fetched https://github.com/WeTransfer/Mocker from cache (1.12s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.12s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.12s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.12s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.12s)
[3226/18586] Fetching xctest-dynamic-overlay, swift-snapshot-testing
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.30s)
[527/13159] Fetching swift-snapshot-testing
[4212/27063] Fetching swift-snapshot-testing, swift-crypto
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.52s)
[5840/13904] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.71s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.50s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.2 (0.60s)
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.48s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.47s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.47s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.47s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70338] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.23s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.47s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.24s)
Fetching https://github.com/apple/swift-asn1.git
[1/1584] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.86s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.60s)
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.2
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.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/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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.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",
"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",
"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",
"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",
"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",
"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" : [
"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",
"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.