Build Information
Successful build of Supabase, reference v2.27.0 (687705
), with Swift 6.0 for macOS (SPM) on 2 May 2025 13:15:49 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
[266/340] Compiling Helpers HTTPFields.swift
[267/340] Compiling Helpers HTTPRequest.swift
[268/340] Compiling Helpers SupabaseLogger.swift
[269/340] Compiling Helpers Task+withTimeout.swift
[270/340] Emitting module Helpers
[271/340] Compiling Helpers FoundationExtensions.swift
[272/340] Compiling Helpers HTTPClient.swift
[273/340] Compiling Helpers AnyJSON+Codable.swift
[274/340] Compiling Helpers AnyJSON.swift
[275/340] Compiling Helpers AsyncValueSubject.swift
[276/340] Compiling Helpers TaskLocalHelpers.swift
[277/340] Compiling Helpers URLSession+AsyncAwait.swift
[278/340] Compiling Helpers Version.swift
[279/340] Compiling Helpers _Clock.swift
[280/415] Compiling Functions Types.swift
[281/415] Compiling PostgREST Types.swift
[282/415] Compiling Auth AuthLocalStorage.swift
[283/415] Compiling Auth KeychainLocalStorage.swift
[284/417] Compiling Storage TransformOptions.swift
[285/417] 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
[286/418] Compiling PostgREST PostgrestTransformBuilder.swift
[287/418] Compiling Storage StorageBucketApi.swift
[288/418] Compiling Storage StorageHTTPClient.swift
[289/418] Compiling PostgREST PostgrestQueryBuilder.swift
[290/418] Compiling PostgREST PostgrestFilterValue.swift
[291/418] Compiling Auth Types.swift
[292/418] Compiling Realtime Types.swift
[294/420] Compiling Auth WinCredLocalStorage.swift
[295/420] Compiling Auth EventEmitter.swift
[296/420] Compiling Auth FixedWidthInteger+Random.swift
[297/420] Compiling Functions FunctionsClient.swift
[298/420] Emitting module Functions
[299/420] 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 | }
[300/420] Compiling PostgREST PostgrestBuilder.swift
[301/420] Compiling PostgREST Deprecated.swift
[302/420] Compiling PostgREST Defaults.swift
[303/420] Emitting module PostgREST
[304/420] Compiling PostgREST PostgrestClient.swift
[305/420] Compiling Auth CodeVerifierStorage.swift
[306/420] Compiling Auth Constants.swift
[307/420] Compiling Auth Dependencies.swift
[308/420] Compiling Auth SessionStorage.swift
[309/420] Compiling Auth URLOpener.swift
[310/420] 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 =
[311/420] 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 =
[312/420] 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 =
[313/420] Compiling Auth Defaults.swift
[314/420] Compiling Auth Deprecated.swift
[315/420] Compiling Auth APIClient.swift
[316/420] Compiling Auth Helpers.swift
[317/420] Compiling Auth Keychain.swift
[318/420] 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 | )
[319/420] 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 | )
[320/420] 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
[321/420] 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) {
[324/420] Compiling Auth AuthMFA.swift
[325/420] Compiling Auth AuthStateChangeListener.swift
[327/420] Compiling Auth AuthError.swift
[348/423] Compiling Storage StorageFileApi.swift
[349/423] Compiling Storage StorageError.swift
[353/423] Compiling Realtime URLSessionWebSocket.swift
[354/423] Compiling Realtime WebSocket.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 |
[364/423] Compiling Storage Types.swift
[371/423] Emitting module SnapshotTesting
/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()
[386/423] Compiling SnapshotTesting UIView.swift
[387/423] Compiling SnapshotTesting UIViewController.swift
[388/423] Compiling SnapshotTesting URLRequest.swift
[389/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/429] Compiling Supabase Types.swift
[418/429] Emitting module Supabase
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:81: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
79 | }
80 |
81 | 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
82 |
83 | /// Realtime client for Supabase
[419/429] Compiling Supabase SupabaseClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:81: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
79 | }
80 |
81 | 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
82 |
83 | /// Realtime client for Supabase
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:194: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
192 |
193 | _realtime = UncheckedSendable(
194 | 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
195 | supabaseURL.appendingPathComponent("/realtime/v1").absoluteString,
196 | headers: _headers.dictionary,
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:253:22: warning: 'subscriptions' is deprecated: renamed to 'channels'
251 | /// Returns all Realtime channels.
252 | public var channels: [RealtimeChannelV2] {
253 | Array(realtimeV2.subscriptions.values)
| |- warning: 'subscriptions' is deprecated: renamed to 'channels'
| `- note: use 'channels' instead
254 | }
255 |
/Users/admin/builder/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:396:5: warning: 'realtime' is deprecated: Use realtimeV2
394 | }
395 |
396 | realtime.setAuth(accessToken)
| `- warning: 'realtime' is deprecated: Use realtimeV2
397 | await realtimeV2.setAuth(accessToken)
398 | }
[420/429] Compiling Supabase Deprecated.swift
[421/429] Compiling SnapshotTestingCustomDump CustomDump.swift
[422/429] Emitting module SnapshotTestingCustomDump
[430/488] Compiling SwiftDiagnostics Message.swift
[431/489] Compiling SwiftBasicFormat Syntax+Extensions.swift
[432/489] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[433/489] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[434/489] Emitting module SwiftDiagnostics
[435/489] Compiling SwiftDiagnostics Note.swift
[436/489] Compiling SwiftBasicFormat InferIndentation.swift
[437/489] Compiling SwiftBasicFormat Indenter.swift
[438/489] Compiling SwiftDiagnostics FixIt.swift
[439/489] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[440/489] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[441/489] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[442/489] Compiling SwiftDiagnostics Diagnostic.swift
[443/489] Compiling SwiftDiagnostics Convenience.swift
[444/489] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[445/489] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[446/489] Emitting module SwiftBasicFormat
[447/489] Compiling SwiftBasicFormat BasicFormat.swift
[448/489] Compiling SwiftParser TopLevel.swift
[449/489] Compiling SwiftParser TriviaParser.swift
[450/489] Compiling SwiftParser Types.swift
[451/489] Compiling SwiftParser ExperimentalFeatures.swift
[452/493] Compiling SwiftParser StringLiterals.swift
[453/493] Compiling SwiftParser SwiftParserCompatibility.swift
[454/493] Compiling SwiftParser SwiftVersion.swift
[455/493] Compiling SwiftParser SyntaxUtils.swift
[456/493] Compiling SwiftParser TokenConsumer.swift
[457/493] Compiling SwiftParser TokenPrecedence.swift
[458/493] Compiling SwiftParser TokenSpec.swift
[459/493] Compiling SwiftParser TokenSpecSet.swift
[460/493] Compiling SwiftParser UnicodeScalarExtensions.swift
[461/493] Compiling SwiftParser Lookahead.swift
[462/493] Compiling SwiftParser LoopProgressCondition.swift
[463/493] Compiling SwiftParser Modifiers.swift
[464/493] Compiling SwiftParser Names.swift
[465/493] Emitting module SwiftParser
[466/493] Compiling SwiftParser Nominals.swift
[467/493] Compiling SwiftParser Parameters.swift
[468/493] Compiling SwiftParser ParseSourceFile.swift
[469/493] Compiling SwiftParser Parser.swift
[470/493] Compiling SwiftParser Patterns.swift
[471/493] Compiling SwiftParser Recovery.swift
[472/493] Compiling SwiftParser Specifiers.swift
[473/493] Compiling SwiftParser Statements.swift
[474/493] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[475/493] Compiling SwiftParser Attributes.swift
[476/493] Compiling SwiftParser Availability.swift
[477/493] Compiling SwiftParser CharacterInfo.swift
[478/493] Compiling SwiftParser CollectionNodes+Parsable.swift
[479/493] Compiling SwiftParser Declarations.swift
[480/493] Compiling SwiftParser Directives.swift
[481/493] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[482/493] Compiling SwiftParser Expressions.swift
[483/493] Compiling SwiftParser IncrementalParseTransition.swift
[484/493] Compiling SwiftParser IsValidIdentifier.swift
[485/493] Compiling SwiftParser Cursor.swift
[486/493] Compiling SwiftParser Lexeme.swift
[487/493] Compiling SwiftParser LexemeSequence.swift
[488/493] Compiling SwiftParser Lexer.swift
[489/493] Compiling SwiftParser RegexLiteralLexer.swift
[490/493] Compiling SwiftParser IsLexerClassified.swift
[491/493] Compiling SwiftParser LayoutNodes+Parsable.swift
[492/493] Compiling SwiftParser Parser+TokenSpecSet.swift
[493/493] Compiling SwiftParser TokenSpecStaticMembers.swift
[494/506] Compiling SwiftParserDiagnostics Utils.swift
[495/507] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[496/507] Compiling SwiftParserDiagnostics PresenceUtils.swift
[497/507] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[498/507] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[499/507] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[500/507] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[501/507] Compiling SwiftParserDiagnostics MissingNodesError.swift
[502/507] Compiling SwiftParserDiagnostics MissingTokenError.swift
[503/507] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[504/507] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[505/507] Emitting module SwiftParserDiagnostics
[506/507] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[507/507] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[508/522] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[509/522] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[510/523] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[511/523] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[512/523] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[513/523] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[514/523] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[515/523] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[516/523] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[517/523] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[518/523] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[519/523] Compiling SwiftSyntaxBuilder Indenter.swift
[520/523] Compiling SwiftSyntaxBuilder ListBuilder.swift
[521/523] Emitting module SwiftSyntaxBuilder
[522/523] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[523/523] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[524/526] Compiling InlineSnapshotTesting Exports.swift
[525/526] Compiling InlineSnapshotTesting AssertInlineSnapshot.swift
[526/526] Emitting module InlineSnapshotTesting
[527/533] Compiling TestHelpers WithMainSerialExecutor+Windows.swift
[528/533] Compiling TestHelpers MockExtensions.swift
[529/533] Compiling TestHelpers HTTPClientMock.swift
[530/533] Compiling TestHelpers AsyncSequence.swift
[531/533] Compiling TestHelpers InMemoryLocalStorage.swift
[532/533] Emitting module TestHelpers
[533/533] Compiling TestHelpers URLRequestSnapshot.swift
Build complete! (49.02s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/WeTransfer/Mocker
[1/1292] Fetching swift-clocks
[182/5873] Fetching swift-clocks, swift-custom-dump
[595/6725] Fetching swift-clocks, swift-custom-dump, swift-concurrency-extras
[698/8616] Fetching swift-clocks, swift-custom-dump, swift-concurrency-extras, mocker
[1029/14043] Fetching swift-clocks, swift-custom-dump, swift-concurrency-extras, mocker, xctest-dynamic-overlay
[1030/14947] Fetching swift-clocks, swift-custom-dump, swift-concurrency-extras, mocker, xctest-dynamic-overlay, swift-http-types
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.89s)
[7120/13655] Fetching swift-custom-dump, swift-concurrency-extras, mocker, xctest-dynamic-overlay, swift-http-types
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.93s)
[4668/9074] Fetching swift-concurrency-extras, mocker, xctest-dynamic-overlay, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.99s)
[4914/8170] Fetching swift-concurrency-extras, mocker, xctest-dynamic-overlay
[5784/21329] Fetching swift-concurrency-extras, mocker, xctest-dynamic-overlay, swift-snapshot-testing
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.33s)
[3401/15902] Fetching swift-concurrency-extras, mocker, swift-snapshot-testing
[3666/29806] Fetching swift-concurrency-extras, mocker, swift-snapshot-testing, swift-crypto
Fetched https://github.com/WeTransfer/Mocker from cache (2.72s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (2.72s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.72s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.84s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.45s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.2 (0.55s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.41s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.41s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.42s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.42s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70291] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.38s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.43s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.59s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.17s)
Fetching https://github.com/apple/swift-asn1.git
[1/1584] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.87s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.54s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/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/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Build complete.
{
"dependencies" : [
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types.git"
},
{
"identity" : "swift-clocks",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-clocks"
},
{
"identity" : "swift-concurrency-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-concurrency-extras"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.17.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
},
{
"identity" : "mocker",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/WeTransfer/Mocker"
}
],
"manifest_display_name" : "Supabase",
"name" : "Supabase",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Auth",
"targets" : [
"Auth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Functions",
"targets" : [
"Functions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PostgREST",
"targets" : [
"PostgREST"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Realtime",
"targets" : [
"Realtime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Storage",
"targets" : [
"Storage"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Supabase",
"targets" : [
"Supabase",
"Functions",
"PostgREST",
"Auth",
"Realtime",
"Storage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestHelpers",
"module_type" : "SwiftTarget",
"name" : "TestHelpers",
"path" : "Sources/TestHelpers",
"product_dependencies" : [
"ConcurrencyExtras",
"InlineSnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"sources" : [
"AsyncSequence.swift",
"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"
],
"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" : [
"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.