Build Information
Successful build of Supabase, reference main (e4d8c3
), with Swift 6.2 (beta) for Linux on 19 Aug 2025 15:42:26 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
27 |
28 | /// The event, for example `phx_join`
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:65:14: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
63 | /// - parameter timeout: Optional. The push timeout. Default is 10.0s
64 | init(
65 | channel: RealtimeChannel,
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
66 | event: String,
67 | payload: Payload = [:],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/host/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
/host/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()`
/host/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 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/PhoenixTransport.swift:313:13: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
311 | // the reconnect logic.
312 | delegate?.onClose(
313 | code: RealtimeClient.CloseCode.abnormal.rawValue, reason: error.localizedDescription
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
314 | )
315 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Presence.swift:116:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
109 | /// let options = Options(events: [.state: "my_state", .diff: "my_diff"])
110 | /// let presence = Presence(channel, opts: options)
111 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
112 | let events: [Events: String]
113 |
114 | /// Default set of Options used when creating Presence. Uses the
115 | /// phoenix events "presence_state" and "presence_diff"
116 | public static let defaults = Options(events: [
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | .state: "presence_state",
118 | .diff: "presence_diff",
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:26:28: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
24 | public class Push {
25 | /// The channel sending the Push
26 | public weak var channel: RealtimeChannel?
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
27 |
28 | /// The event, for example `phx_join`
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Push.swift:65:14: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
63 | /// - parameter timeout: Optional. The push timeout. Default is 10.0s
64 | init(
65 | channel: RealtimeChannel,
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
66 | event: String,
67 | payload: Payload = [:],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[433/713] Compiling x509_vpm.cc
[434/713] Compiling x509_vfy.cc
[435/713] Compiling x509_txt.cc
[436/713] Compiling x509_v3.cc
[438/713] Compiling Realtime Types.swift
[439/713] Compiling Realtime URLSessionWebSocket.swift
[440/713] Compiling Realtime WebSocket.swift
[441/713] Compiling Realtime PushV2.swift
[442/713] Compiling Realtime RealtimeChannel+AsyncAwait.swift
[443/713] Compiling Realtime RealtimeChannelV2.swift
[443/713] Compiling x509_trs.cc
[445/713] Compiling Realtime RealtimeClientV2.swift
[446/713] Compiling Realtime RealtimeError.swift
[447/713] Compiling Realtime RealtimeJoinConfig.swift
[447/713] Compiling x509_set.cc
[448/713] Compiling x509_ext.cc
[449/713] Compiling x509_obj.cc
[450/713] Compiling x509_lu.cc
[451/713] Compiling x509_req.cc
[452/713] Compiling x509_def.cc
[453/713] Compiling x509_att.cc
[455/713] Compiling Realtime RealtimeChannel.swift
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:1006:11: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:380:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
378 | var accessTokenPayload: Payload = [:]
379 | var config: Payload = [
380 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
381 | ]
382 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:407:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
405 | }
406 |
407 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
408 | let bindingsCount = clientPostgresBindings.count
409 | var newPostgresBindings: [Binding] = []
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:445:36: warning: capture of 'newPostgresBindings' with non-Sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-Sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
446 | }
447 | callback?(.subscribed, nil)
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:50: warning: capture of 'filter' with non-Sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-Sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:81: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:918:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
916 |
917 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
918 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
919 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
920 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:922:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
920 | }
921 | } else {
922 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
923 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
924 | let bindEvent = bind.filter["event"]?.lowercased()
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1008:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1023:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:368:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
366 | // Since the connection's delegate was nil'd out, inform all state
367 | // callbacks that the connection has closed
368 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
369 | callback?()
370 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:24: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[456/713] Compiling Realtime RealtimeClient.swift
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:1006:11: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:380:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
378 | var accessTokenPayload: Payload = [:]
379 | var config: Payload = [
380 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
381 | ]
382 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:407:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
405 | }
406 |
407 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
408 | let bindingsCount = clientPostgresBindings.count
409 | var newPostgresBindings: [Binding] = []
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:445:36: warning: capture of 'newPostgresBindings' with non-Sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-Sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
446 | }
447 | callback?(.subscribed, nil)
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:50: warning: capture of 'filter' with non-Sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-Sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:81: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:918:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
916 |
917 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
918 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
919 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
920 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:922:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
920 | }
921 | } else {
922 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
923 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
924 | let bindEvent = bind.filter["event"]?.lowercased()
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1008:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1023:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:368:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
366 | // Since the connection's delegate was nil'd out, inform all state
367 | // callbacks that the connection has closed
368 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
369 | callback?()
370 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:24: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[457/713] Compiling Realtime RealtimeMessage.swift
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:1006:11: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:380:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
378 | var accessTokenPayload: Payload = [:]
379 | var config: Payload = [
380 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
381 | ]
382 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:407:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
405 | }
406 |
407 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
408 | let bindingsCount = clientPostgresBindings.count
409 | var newPostgresBindings: [Binding] = []
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:445:36: warning: capture of 'newPostgresBindings' with non-Sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-Sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
446 | }
447 | callback?(.subscribed, nil)
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:50: warning: capture of 'filter' with non-Sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-Sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:81: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:918:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
916 |
917 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
918 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
919 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
920 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:922:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
920 | }
921 | } else {
922 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
923 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
924 | let bindEvent = bind.filter["event"]?.lowercased()
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1008:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1023:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:368:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
366 | // Since the connection's delegate was nil'd out, inform all state
367 | // callbacks that the connection has closed
368 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
369 | callback?()
370 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:24: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[458/713] Compiling Realtime TimeoutTimer.swift
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:1006:11: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:380:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
378 | var accessTokenPayload: Payload = [:]
379 | var config: Payload = [
380 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
381 | ]
382 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:407:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
405 | }
406 |
407 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
408 | let bindingsCount = clientPostgresBindings.count
409 | var newPostgresBindings: [Binding] = []
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:445:36: warning: capture of 'newPostgresBindings' with non-Sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-Sendable type '[Binding]' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
446 | }
447 | callback?(.subscribed, nil)
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:50: warning: capture of 'filter' with non-Sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-Sendable type 'ChannelFilter' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:646:81: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
647 | )
648 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:918:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
916 |
917 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
918 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
919 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
920 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:922:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
920 | }
921 | } else {
922 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
923 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
924 | let bindEvent = bind.filter["event"]?.lowercased()
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1008:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1023:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:368:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
366 | // Since the connection's delegate was nil'd out, inform all state
367 | // callbacks that the connection has closed
368 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
369 | callback?()
370 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:409:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
410 | }
411 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:452:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<URLResponse?, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
453 | }
454 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:487:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
488 | }
489 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:530:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(Int, String?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
531 | }
532 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:550:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
551 | }
552 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:574:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<(any Error, URLResponse?), Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
575 | }
576 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:595:24: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
596 | }
597 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:7: warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-Sendable type 'RealtimeClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:619:29: warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-Sendable type 'Delegated<RealtimeMessage, Void>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
620 | }
621 | }
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/host/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 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[459/714] Compiling x509_d2.cc
[460/714] Compiling x509_cmp.cc
[461/714] Compiling x509.cc
[462/714] Compiling v3_utl.cc
[463/714] Compiling v3_prn.cc
[464/714] Compiling v3_skey.cc
[465/714] Compiling v3_purp.cc
[466/714] Compiling v3_pmaps.cc
[467/714] Compiling v3_pcons.cc
[468/714] Compiling v3_ncons.cc
[469/714] Compiling v3_ocsp.cc
[470/714] Compiling v3_int.cc
[470/714] Compiling v3_lib.cc
[472/714] Compiling v3_genn.cc
[473/714] Compiling v3_info.cc
[474/714] Compiling v3_extku.cc
[475/714] Compiling v3_ia5.cc
[476/714] Compiling v3_enum.cc
[477/714] Compiling v3_cpols.cc
[478/714] Compiling v3_crld.cc
[479/714] Compiling v3_bitst.cc
[480/714] Compiling v3_conf.cc
[481/714] Compiling v3_bcons.cc
[482/714] Compiling v3_alt.cc
[483/714] Compiling v3_akeya.cc
[484/714] Compiling t_x509a.cc
[485/714] Compiling v3_akey.cc
[486/714] Compiling t_x509.cc
[487/714] Compiling t_crl.cc
[489/714] Emitting module SwiftSyntax
[489/714] Compiling rsa_pss.cc
[490/714] Compiling i2d_pr.cc
[491/714] Compiling t_req.cc
[492/714] Compiling policy.cc
[493/714] Compiling name_print.cc
[494/714] Compiling by_file.cc
[495/714] Compiling asn1_gen.cc
[496/714] Compiling a_verify.cc
[497/714] Compiling by_dir.cc
[498/714] Compiling algorithm.cc
[499/714] Compiling a_digest.cc
[500/714] Compiling thread_win.cc
[501/714] Compiling a_sign.cc
[502/714] Compiling trust_token.cc
[503/714] Compiling thread_none.cc
[504/714] Compiling thread.cc
[505/714] Compiling stack.cc
[506/714] Compiling voprf.cc
[507/714] Compiling thread_pthread.cc
[508/714] Compiling pmbtoken.cc
[509/714] Compiling slhdsa.cc
[510/714] Compiling sha256.cc
[511/714] Compiling sha512.cc
[512/714] Compiling siphash.cc
[513/714] Compiling sha1.cc
[514/714] Compiling spake2plus.cc
[515/714] Compiling rsa_extra.cc
[516/714] Compiling rsa_print.cc
[517/714] Compiling rc4.cc
[518/714] Compiling rsa_crypt.cc
[519/714] Compiling refcount.cc
[520/714] Compiling trusty.cc
[521/714] Compiling windows.cc
[522/714] Compiling urandom.cc
[523/714] Compiling rsa_asn1.cc
[524/714] Compiling rand.cc
[525/714] Compiling passive.cc
[526/714] Compiling ios.cc
[527/714] Compiling getentropy.cc
[528/714] Compiling poly1305_arm_asm.S
[529/714] Compiling deterministic.cc
[530/714] Compiling fork_detect.cc
[531/714] Compiling forkunsafe.cc
[532/714] Compiling poly1305_arm.cc
[533/714] Compiling poly1305_vec.cc
[534/714] Compiling pool.cc
[535/714] Compiling poly1305.cc
[536/714] Compiling pkcs7.cc
[537/714] Compiling pkcs8.cc
[538/714] Compiling pkcs8_x509.cc
[539/714] Compiling pkcs7_x509.cc
[540/714] Compiling p5_pbev2.cc
[541/714] Compiling pem_x509.cc
[542/714] Compiling pem_xaux.cc
[543/714] Compiling pem_oth.cc
[544/714] Compiling pem_pkey.cc
[545/714] Compiling obj_xref.cc
[546/714] Compiling pem_pk8.cc
[547/714] Compiling pem_info.cc
[548/714] Compiling mlkem.cc
[549/714] Compiling mldsa.cc
[550/714] Compiling pem_lib.cc
[551/714] Compiling pem_all.cc
[552/714] Compiling mem.cc
[553/714] Compiling lhash.cc
[554/714] Compiling md5.cc
[555/714] Compiling poly_rq_mul.S
[556/714] Compiling fips_shared_support.cc
[557/714] Compiling obj.cc
[558/714] Compiling md4.cc
[559/714] Compiling kyber.cc
[560/714] Compiling fuzzer_mode.cc
[561/714] Compiling hrss.cc
[562/714] Compiling hpke.cc
[563/714] Compiling ex_data.cc
[564/714] Compiling sign.cc
[565/714] Compiling scrypt.cc
[566/714] Compiling pbkdf.cc
[567/714] Compiling print.cc
[568/714] Compiling p_x25519.cc
[569/714] Compiling p_x25519_asn1.cc
[578/714] Compiling SwiftSyntax TriviaPieces.swift
[579/714] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[579/714] Compiling p_ed25519.cc
[580/714] Compiling p_rsa_asn1.cc
[581/714] Compiling p_rsa.cc
[582/714] Compiling p_ed25519_asn1.cc
[583/714] Compiling p_hkdf.cc
[584/714] Compiling p_ec_asn1.cc
[585/714] Compiling p_dh.cc
[586/714] Compiling p_ec.cc
[587/714] Compiling p_dh_asn1.cc
[588/714] Compiling evp_ctx.cc
[589/714] Compiling p_dsa_asn1.cc
[590/714] Compiling err.cc
[591/714] Compiling evp_asn1.cc
[592/714] Compiling evp.cc
[593/714] Compiling engine.cc
[594/714] Compiling ecdsa_p1363.cc
[595/714] Compiling ecdh.cc
[596/714] Compiling hash_to_curve.cc
[597/714] Compiling ecdsa_asn1.cc
[598/714] Compiling ec_derive.cc
[599/714] Compiling ec_asn1.cc
[599/714] Compiling dsa_asn1.cc
[601/714] Compiling params.cc
[602/714] Compiling digest_extra.cc
[603/714] Compiling des.cc
[604/714] Compiling dh_asn1.cc
[605/714] Compiling x25519-asm-arm.S
[606/714] Compiling spake25519.cc
[607/714] Compiling crypto.cc
[608/714] Compiling cpu_intel.cc
[609/714] Compiling curve25519.cc
[610/714] Compiling cpu_arm_linux.cc
[611/714] Compiling curve25519_64_adx.cc
[612/714] Compiling cpu_arm_freebsd.cc
[613/714] Compiling cpu_aarch64_win.cc
[614/714] Compiling cpu_aarch64_sysreg.cc
[615/714] Compiling cpu_aarch64_openbsd.cc
[616/714] Compiling cpu_aarch64_linux.cc
[617/714] Compiling bcm.cc
[618/714] Compiling cpu_aarch64_fuchsia.cc
[619/714] Compiling cpu_aarch64_apple.cc
[620/714] Compiling tls_cbc.cc
[621/714] Compiling get_cipher.cc
[622/714] Compiling conf.cc
[623/714] Compiling e_aesctrhmac.cc
[624/714] Compiling chacha.cc
[625/714] Compiling derive_key.cc
[626/714] Compiling e_aeseax.cc
[627/714] Compiling e_aesgcmsiv.cc
[628/714] Compiling cms.cc
[630/714] Compiling SwiftSyntax RawSyntaxNodesC.swift
[631/714] Compiling SwiftSyntax RawSyntaxNodesD.swift
[632/714] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[633/714] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[634/714] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[635/714] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[636/714] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[637/714] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[638/714] Compiling SwiftSyntax RawSyntaxValidation.swift
[638/714] Compiling unicode.cc
[639/714] Compiling buf.cc
[640/714] Compiling sqrt.cc
[641/714] Compiling ber.cc
[642/714] Compiling asn1_compat.cc
[643/714] Compiling cbb.cc
[644/714] Compiling cbs.cc
[645/714] Compiling exponentiation.cc
[646/714] Compiling div.cc
[647/714] Compiling blake2.cc
[648/714] Compiling printf.cc
[649/714] Compiling bn_asn1.cc
[650/714] Compiling convert.cc
[651/714] Compiling hexdump.cc
[652/714] Compiling pair.cc
[653/714] Compiling file.cc
[654/714] Compiling fd.cc
[655/714] Compiling errno.cc
[656/714] Compiling base64.cc
[657/714] Compiling bio.cc
[658/714] Compiling bio_mem.cc
[659/714] Compiling tasn_typ.cc
[660/714] Compiling tasn_utl.cc
[661/714] Compiling tasn_fre.cc
[662/714] Compiling f_string.cc
[663/714] Compiling tasn_enc.cc
[664/714] Compiling posix_time.cc
[665/714] Compiling tasn_new.cc
[666/714] Compiling f_int.cc
[667/714] Compiling asn_pack.cc
[668/714] Compiling asn1_par.cc
[669/714] Compiling tasn_dec.cc
[670/714] Compiling asn1_lib.cc
[671/714] Compiling a_utctm.cc
[672/714] Compiling a_type.cc
[673/714] Compiling a_time.cc
[674/714] Compiling a_octet.cc
[675/714] Compiling a_strnid.cc
[676/714] Compiling a_strex.cc
[677/714] Compiling a_object.cc
[678/714] Compiling a_mbstr.cc
[679/714] Compiling a_dup.cc
[680/714] Compiling a_i2d_fp.cc
[681/714] Compiling a_d2i_fp.cc
[682/714] Compiling a_int.cc
[683/714] Compiling a_gentm.cc
[684/714] Compiling aes.cc
[685/714] Compiling a_bool.cc
[686/714] Compiling a_bitstr.cc
[688/722] Compiling CryptoBoringWrapper RandomBytes.swift
[689/722] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[690/722] Compiling CryptoBoringWrapper EllipticCurve.swift
[691/722] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[692/722] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[693/722] Emitting module CryptoBoringWrapper
[694/722] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[695/722] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[697/794] Emitting module Crypto
[698/804] Compiling Crypto X25519Keys.swift
[699/804] Compiling Crypto SymmetricKeys.swift
[700/804] Compiling Crypto HMAC.swift
[701/804] Compiling Crypto MACFunctions.swift
[702/804] Compiling Crypto MessageAuthenticationCode.swift
[703/804] Compiling Crypto AES.swift
[704/804] Compiling Crypto ECDSASignature_boring.swift
[705/804] Compiling Crypto ECDSA_boring.swift
[706/804] Compiling Crypto EdDSA_boring.swift
[707/804] Compiling Crypto ECDSA.swift
[708/804] Compiling Crypto HPKE-Errors.swift
[709/804] Compiling Crypto HPKE.swift
[710/804] Compiling Crypto HPKE-Context.swift
[711/804] Compiling Crypto HPKE-KeySchedule.swift
[712/804] Compiling Crypto HPKE-Modes.swift
[713/804] Compiling Crypto Insecure.swift
[714/804] Compiling Crypto Insecure_HashFunctions.swift
[715/804] Compiling Crypto KEM.swift
[716/804] Compiling Crypto ECDH_boring.swift
[717/804] Compiling Crypto DH.swift
[718/804] Compiling Crypto PKCS8PrivateKey.swift
[719/804] Compiling Crypto SEC1PrivateKey.swift
[720/804] Compiling Crypto SubjectPublicKeyInfo.swift
[721/804] Compiling Crypto CryptoError_boring.swift
[722/804] Compiling Crypto CryptoKitErrors.swift
[723/804] Compiling Crypto Digest_boring.swift
[724/804] Compiling Crypto Digest.swift
[725/804] Compiling Crypto Digests.swift
[726/804] Compiling Crypto HashFunctions.swift
[727/804] Compiling Crypto HashFunctions_SHA2.swift
[728/804] Compiling Crypto AES-GCM.swift
[729/804] Compiling Crypto AES-GCM_boring.swift
[730/804] Compiling Crypto ChaChaPoly_boring.swift
[731/804] Compiling Crypto ChaChaPoly.swift
[732/804] Compiling Crypto Cipher.swift
[733/804] Compiling Crypto Nonces.swift
[734/804] Compiling Crypto ASN1.swift
[735/804] Compiling Crypto ASN1Any.swift
[736/804] Compiling Crypto ASN1BitString.swift
[737/804] Compiling Crypto ASN1Boolean.swift
[738/804] Compiling Crypto HPKE-AEAD.swift
[739/804] Compiling Crypto HPKE-Ciphersuite.swift
[740/804] Compiling Crypto HPKE-KDF.swift
[741/804] Compiling Crypto HPKE-KexKeyDerivation.swift
[742/804] Compiling Crypto HPKE-LabeledExtract.swift
[743/804] Compiling Crypto HPKE-Utils.swift
[744/804] Compiling Crypto DHKEM.swift
[745/804] Compiling Crypto HPKE-KEM-Curve25519.swift
[746/804] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[747/804] Compiling Crypto HPKE-KEM.swift
[748/804] Compiling Crypto ECDH.swift
[749/804] Compiling Crypto HKDF.swift
[750/804] Compiling Crypto AESWrap.swift
[751/804] Compiling Crypto AESWrap_boring.swift
[752/804] Compiling Crypto Ed25519_boring.swift
[753/804] Compiling Crypto NISTCurvesKeys_boring.swift
[754/804] Compiling Crypto X25519Keys_boring.swift
[755/804] Compiling Crypto Curve25519.swift
[756/804] Compiling Crypto Ed25519Keys.swift
[757/804] Compiling Crypto NISTCurvesKeys.swift
[758/804] Compiling Crypto ASN1Identifier.swift
[759/804] Compiling Crypto ASN1Integer.swift
[760/804] Compiling Crypto ASN1Null.swift
[761/804] Compiling Crypto ASN1OctetString.swift
[762/804] Compiling Crypto ASN1Strings.swift
[763/804] Compiling Crypto ArraySliceBigint.swift
[764/804] Compiling Crypto GeneralizedTime.swift
[765/804] Compiling Crypto ObjectIdentifier.swift
[766/804] Compiling Crypto ECDSASignature.swift
[767/804] Compiling Crypto PEMDocument.swift
[768/804] Compiling Crypto Ed25519.swift
[769/804] Compiling Crypto Signature.swift
[770/804] Compiling Crypto CryptoKitErrors_boring.swift
[771/804] Compiling Crypto RNG_boring.swift
[772/804] Compiling Crypto SafeCompare_boring.swift
[773/804] Compiling Crypto Zeroization_boring.swift
[774/804] Compiling Crypto PrettyBytes.swift
[775/804] Compiling Crypto SafeCompare.swift
[776/804] Compiling Crypto SecureBytes.swift
[777/804] Compiling Crypto Zeroization.swift
[779/828] Compiling Auth SessionStorage.swift
[780/828] Compiling Auth URLOpener.swift
[781/828] Compiling Auth AuthLocalStorage.swift
[782/831] Compiling Auth EventEmitter.swift
[783/831] Compiling Auth FixedWidthInteger+Random.swift
[784/831] Compiling Auth Helpers.swift
[785/831] Compiling Auth CodeVerifierStorage.swift
[786/831] Compiling Auth Constants.swift
[787/831] Compiling Auth Dependencies.swift
[788/831] Compiling Auth AuthMFA.swift
[789/831] Compiling Auth AuthStateChangeListener.swift
[790/831] Compiling Auth Defaults.swift
[791/831] Compiling Auth Deprecated.swift
[792/831] Compiling Auth Exports.swift
[793/831] Compiling Auth APIClient.swift
[794/831] Compiling Auth Keychain.swift
/host/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:88:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
86 | ],
87 | body: configuration.encoder.encode(
88 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
89 | )
90 | )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[795/831] Compiling Auth PKCE.swift
/host/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:88:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
86 | ],
87 | body: configuration.encoder.encode(
88 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
89 | )
90 | )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[796/831] Compiling Auth SessionManager.swift
/host/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:88:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
86 | ],
87 | body: configuration.encoder.encode(
88 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
89 | )
90 | )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[797/831] Emitting module Auth
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:34:14: warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
32 |
33 | public actor AuthClient {
34 | static var globalClientID = 0
| |- warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'globalClientID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalClientID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | nonisolated let clientID: AuthClientID
36 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[798/831] Compiling Auth AuthAdmin.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:34:14: warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
32 |
33 | public actor AuthClient {
34 | static var globalClientID = 0
| |- warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'globalClientID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalClientID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | nonisolated let clientID: AuthClientID
36 |
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:342:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
340 | query: [URLQueryItem(name: "grant_type", value: "password")],
341 | body: configuration.encoder.encode(
342 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
343 | email: email,
344 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:369:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
367 | query: [URLQueryItem(name: "grant_type", value: "password")],
368 | body: configuration.encoder.encode(
369 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
370 | password: password,
371 | phone: phone,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:1224:15: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1222 | queryParams: [(name: String, value: String?)] = []
1223 | ) async throws {
1224 | try await linkIdentity(
| `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1225 | provider: provider,
1226 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[799/831] Compiling Auth AuthClient.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:34:14: warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
32 |
33 | public actor AuthClient {
34 | static var globalClientID = 0
| |- warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'globalClientID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalClientID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | nonisolated let clientID: AuthClientID
36 |
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:342:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
340 | query: [URLQueryItem(name: "grant_type", value: "password")],
341 | body: configuration.encoder.encode(
342 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
343 | email: email,
344 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:369:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
367 | query: [URLQueryItem(name: "grant_type", value: "password")],
368 | body: configuration.encoder.encode(
369 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
370 | password: password,
371 | phone: phone,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:1224:15: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1222 | queryParams: [(name: String, value: String?)] = []
1223 | ) async throws {
1224 | try await linkIdentity(
| `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1225 | provider: provider,
1226 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[800/831] Compiling Auth AuthClientConfiguration.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:34:14: warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
32 |
33 | public actor AuthClient {
34 | static var globalClientID = 0
| |- warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'globalClientID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalClientID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | nonisolated let clientID: AuthClientID
36 |
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:342:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
340 | query: [URLQueryItem(name: "grant_type", value: "password")],
341 | body: configuration.encoder.encode(
342 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
343 | email: email,
344 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:369:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
367 | query: [URLQueryItem(name: "grant_type", value: "password")],
368 | body: configuration.encoder.encode(
369 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
370 | password: password,
371 | phone: phone,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:1224:15: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1222 | queryParams: [(name: String, value: String?)] = []
1223 | ) async throws {
1224 | try await linkIdentity(
| `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1225 | provider: provider,
1226 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[801/831] Compiling Auth AuthError.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:34:14: warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
32 |
33 | public actor AuthClient {
34 | static var globalClientID = 0
| |- warning: static property 'globalClientID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'globalClientID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalClientID' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | nonisolated let clientID: AuthClientID
36 |
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:342:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
340 | query: [URLQueryItem(name: "grant_type", value: "password")],
341 | body: configuration.encoder.encode(
342 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
343 | email: email,
344 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:369:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
367 | query: [URLQueryItem(name: "grant_type", value: "password")],
368 | body: configuration.encoder.encode(
369 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
370 | password: password,
371 | phone: phone,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:1224:15: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1222 | queryParams: [(name: String, value: String?)] = []
1223 | ) async throws {
1224 | try await linkIdentity(
| `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
1225 | provider: provider,
1226 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[802/831] Compiling Auth KeychainLocalStorage.swift
/host/spi-builder-workspace/Sources/Auth/Types.swift:503:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
501 | self.password = password
502 | self.nonce = nonce
503 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
504 | self.data = data
505 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[803/831] Compiling Auth WinCredLocalStorage.swift
/host/spi-builder-workspace/Sources/Auth/Types.swift:503:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
501 | self.password = password
502 | self.nonce = nonce
503 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
504 | self.data = data
505 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[804/831] Compiling Auth Types.swift
/host/spi-builder-workspace/Sources/Auth/Types.swift:503:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
501 | self.password = password
502 | self.nonce = nonce
503 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
504 | self.data = data
505 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[806/838] Compiling Supabase Types.swift
[807/838] Compiling Supabase Deprecated.swift
[808/838] Compiling Supabase Exports.swift
[809/838] Compiling Supabase Constants.swift
[810/838] Emitting module Supabase
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:71:36: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
69 | }
70 |
71 | let _realtime: UncheckedSendable<RealtimeClient>
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
72 |
73 | /// Realtime client for Supabase
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[811/838] Compiling Supabase SupabaseClient.swift
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:71:36: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
69 | }
70 |
71 | let _realtime: UncheckedSendable<RealtimeClient>
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
72 |
73 | /// Realtime client for Supabase
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:188:7: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
186 |
187 | _realtime = UncheckedSendable(
188 | RealtimeClient(
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md [#DeprecatedDeclaration]
189 | supabaseURL.appendingPathComponent("/realtime/v1").absoluteString,
190 | headers: _headers.dictionary,
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:247:22: warning: 'subscriptions' is deprecated: renamed to 'channels' [#DeprecatedDeclaration]
245 | /// Returns all Realtime channels.
246 | public var channels: [RealtimeChannelV2] {
247 | Array(realtimeV2.subscriptions.values)
| |- warning: 'subscriptions' is deprecated: renamed to 'channels' [#DeprecatedDeclaration]
| `- note: use 'channels' instead
248 | }
249 |
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:390:5: warning: 'realtime' is deprecated: Use realtimeV2 [#DeprecatedDeclaration]
388 | }
389 |
390 | realtime.setAuth(accessToken)
| `- warning: 'realtime' is deprecated: Use realtimeV2 [#DeprecatedDeclaration]
391 | await realtimeV2.setAuth(accessToken)
392 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[841/898] Compiling SwiftDiagnostics Message.swift
[842/899] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[843/899] Compiling SwiftDiagnostics Note.swift
[844/899] Compiling SwiftDiagnostics FixIt.swift
[845/899] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[846/899] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[847/899] Compiling SwiftParser CharacterInfo.swift
[848/899] Compiling SwiftParser CollectionNodes+Parsable.swift
[849/899] Emitting module SwiftDiagnostics
[850/899] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[851/899] Compiling SwiftParser Attributes.swift
[852/899] Compiling SwiftParser Availability.swift
[854/900] Compiling SwiftBasicFormat Indenter.swift
[855/900] Compiling SwiftBasicFormat Syntax+Extensions.swift
[856/900] Compiling SwiftBasicFormat InferIndentation.swift
[857/900] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[858/900] Emitting module SwiftBasicFormat
[859/900] Compiling SwiftBasicFormat BasicFormat.swift
[861/901] Compiling SwiftParser Patterns.swift
[862/901] Compiling SwiftParser Recovery.swift
[863/901] Compiling SwiftParser Specifiers.swift
[864/901] Compiling SwiftParser Statements.swift
[865/901] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[866/901] Compiling SwiftParser StringLiterals.swift
[867/906] Compiling SwiftParser LexemeSequence.swift
[868/906] Compiling SwiftParser Lexer.swift
[869/906] Compiling SwiftParser RegexLiteralLexer.swift
[870/906] Compiling SwiftParser UnicodeScalarExtensions.swift
[871/906] Compiling SwiftParser Lookahead.swift
[872/906] Compiling SwiftParser LoopProgressCondition.swift
[873/906] Compiling SwiftParser Modifiers.swift
[874/906] Compiling SwiftParser Names.swift
[875/906] Compiling SwiftParser Nominals.swift
[876/906] Compiling SwiftParser Parameters.swift
[877/906] Compiling SwiftParser ParseSourceFile.swift
[878/906] Compiling SwiftParser Parser.swift
[879/906] Compiling SwiftParser SwiftParserCompatibility.swift
[880/906] Compiling SwiftParser SwiftVersion.swift
[881/906] Compiling SwiftParser SyntaxUtils.swift
[882/906] Compiling SwiftParser TokenConsumer.swift
[883/906] Compiling SwiftParser TokenPrecedence.swift
[884/906] Compiling SwiftParser TokenSpec.swift
[885/906] Compiling SwiftParser TokenSpecSet.swift
[886/906] Compiling SwiftParser TopLevel.swift
[887/906] Compiling SwiftParser TriviaParser.swift
[888/906] Compiling SwiftParser Types.swift
[893/906] Compiling SwiftParser Declarations.swift
[894/906] Compiling SwiftParser Directives.swift
[895/906] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[896/906] Compiling SwiftParser Expressions.swift
[897/906] Compiling SwiftParser IncrementalParseTransition.swift
[898/906] Compiling SwiftParser IsValidIdentifier.swift
[899/906] Compiling SwiftParser Cursor.swift
[900/906] Compiling SwiftParser Lexeme.swift
[901/906] Emitting module SwiftParser
[902/906] Compiling SwiftParser ExperimentalFeatures.swift
[903/906] Compiling SwiftParser IsLexerClassified.swift
[904/906] Compiling SwiftParser LayoutNodes+Parsable.swift
[905/906] Compiling SwiftParser Parser+TokenSpecSet.swift
[906/906] Compiling SwiftParser TokenSpecStaticMembers.swift
[908/920] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[909/921] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[910/921] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[911/921] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[912/921] Compiling SwiftParserDiagnostics Utils.swift
[913/921] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[914/921] Compiling SwiftParserDiagnostics PresenceUtils.swift
[915/921] Emitting module SwiftParserDiagnostics
[916/921] Compiling SwiftParserDiagnostics MissingNodesError.swift
[917/921] Compiling SwiftParserDiagnostics MissingTokenError.swift
[918/921] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[919/921] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[920/921] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[921/921] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[923/937] Emitting module SwiftSyntaxBuilder
[924/937] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[925/937] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[926/938] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[927/938] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[928/938] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[929/938] Compiling SwiftSyntaxBuilder Indenter.swift
[930/938] Compiling SwiftSyntaxBuilder ListBuilder.swift
[931/938] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[932/938] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[933/938] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[934/938] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[935/938] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[936/938] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[937/938] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[938/938] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[940/942] Compiling InlineSnapshotTesting Exports.swift
[941/942] Compiling InlineSnapshotTesting AssertInlineSnapshot.swift
[942/942] Emitting module InlineSnapshotTesting
[944/951] Compiling TestHelpers WithMainSerialExecutor+Windows.swift
[945/951] Compiling TestHelpers InMemoryLocalStorage.swift
[946/951] Compiling TestHelpers AsyncSequence.swift
[947/951] Emitting module TestHelpers
[948/951] Compiling TestHelpers Exports.swift
[949/951] Compiling TestHelpers HTTPClientMock.swift
[950/951] Compiling TestHelpers MockExtensions.swift
/host/spi-builder-workspace/Sources/TestHelpers/MockExtensions.swift:29:5: warning: code after 'return' will never be executed
27 | return self
28 | #endif
29 | var copy = self
| `- warning: code after 'return' will never be executed
30 | copy.onRequestHandler = OnRequestHandler {
31 | assertInlineSnapshot(
[951/951] Compiling TestHelpers URLRequestSnapshot.swift
Build complete! (204.21s)
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" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Auth",
"targets" : [
"Auth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Functions",
"targets" : [
"Functions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PostgREST",
"targets" : [
"PostgREST"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Realtime",
"targets" : [
"Realtime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Storage",
"targets" : [
"Storage"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Supabase",
"targets" : [
"Supabase",
"Functions",
"PostgREST",
"Auth",
"Realtime",
"Storage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestHelpers",
"module_type" : "SwiftTarget",
"name" : "TestHelpers",
"path" : "Sources/TestHelpers",
"product_dependencies" : [
"ConcurrencyExtras",
"InlineSnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"sources" : [
"AsyncSequence.swift",
"Exports.swift",
"HTTPClientMock.swift",
"InMemoryLocalStorage.swift",
"MockExtensions.swift",
"URLRequestSnapshot.swift",
"WithMainSerialExecutor+Windows.swift"
],
"target_dependencies" : [
"Auth"
],
"type" : "library"
},
{
"c99name" : "SupabaseTests",
"module_type" : "SwiftTarget",
"name" : "SupabaseTests",
"path" : "Tests/SupabaseTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting"
],
"sources" : [
"SupabaseClientTests.swift"
],
"target_dependencies" : [
"Supabase"
],
"type" : "test"
},
{
"c99name" : "Supabase",
"module_type" : "SwiftTarget",
"name" : "Supabase",
"path" : "Sources/Supabase",
"product_dependencies" : [
"ConcurrencyExtras",
"IssueReporting"
],
"product_memberships" : [
"Supabase"
],
"sources" : [
"Constants.swift",
"Deprecated.swift",
"Exports.swift",
"SupabaseClient.swift",
"Types.swift"
],
"target_dependencies" : [
"Auth",
"Functions",
"PostgREST",
"Realtime",
"Storage"
],
"type" : "library"
},
{
"c99name" : "StorageTests",
"module_type" : "SwiftTarget",
"name" : "StorageTests",
"path" : "Tests/StorageTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/StorageTests/Fixtures/file.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/StorageTests/sadcat.jpg",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BucketOptionsTests.swift",
"FileOptionsTests.swift",
"MultipartFormDataTests.swift",
"StorageBucketAPITests.swift",
"StorageErrorTests.swift",
"StorageFileAPITests.swift",
"SupabaseStorageClient+Test.swift",
"SupabaseStorageTests.swift",
"TransformOptionsTests.swift"
],
"target_dependencies" : [
"TestHelpers",
"Storage"
],
"type" : "test"
},
{
"c99name" : "Storage",
"module_type" : "SwiftTarget",
"name" : "Storage",
"path" : "Sources/Storage",
"product_memberships" : [
"Storage",
"Supabase"
],
"sources" : [
"BucketOptions.swift",
"Codable.swift",
"Deprecated.swift",
"Exports.swift",
"Helpers.swift",
"MultipartFormData.swift",
"StorageApi.swift",
"StorageBucketApi.swift",
"StorageError.swift",
"StorageFileApi.swift",
"StorageHTTPClient.swift",
"SupabaseStorage.swift",
"TransformOptions.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "RealtimeTests",
"module_type" : "SwiftTarget",
"name" : "RealtimeTests",
"path" : "Tests/RealtimeTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"XCTestDynamicOverlay"
],
"sources" : [
"CallbackManagerTests.swift",
"ExportsTests.swift",
"FakeWebSocket.swift",
"PostgresActionTests.swift",
"PostgresJoinConfigTests.swift",
"PresenceActionTests.swift",
"PushV2Tests.swift",
"RealtimeChannelTests.swift",
"RealtimeErrorTests.swift",
"RealtimeJoinConfigTests.swift",
"RealtimeMessageV2Tests.swift",
"RealtimePostgresFilterTests.swift",
"RealtimePostgresFilterValueTests.swift",
"RealtimeTests.swift",
"WebSocketTests.swift",
"_PushTests.swift"
],
"target_dependencies" : [
"PostgREST",
"Realtime",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "Realtime",
"module_type" : "SwiftTarget",
"name" : "Realtime",
"path" : "Sources/Realtime",
"product_dependencies" : [
"ConcurrencyExtras",
"IssueReporting"
],
"product_memberships" : [
"Realtime",
"Supabase"
],
"sources" : [
"CallbackManager.swift",
"Deprecated/Defaults.swift",
"Deprecated/Delegated.swift",
"Deprecated/Deprecated.swift",
"Deprecated/HeartbeatTimer.swift",
"Deprecated/PhoenixTransport.swift",
"Deprecated/Presence.swift",
"Deprecated/Push.swift",
"Deprecated/RealtimeChannel.swift",
"Deprecated/RealtimeClient.swift",
"Deprecated/RealtimeMessage.swift",
"Deprecated/TimeoutTimer.swift",
"Exports.swift",
"PostgresAction.swift",
"PostgresActionData.swift",
"PresenceAction.swift",
"PushV2.swift",
"RealtimeChannel+AsyncAwait.swift",
"RealtimeChannelV2.swift",
"RealtimeClientV2.swift",
"RealtimeError.swift",
"RealtimeJoinConfig.swift",
"RealtimeMessageV2.swift",
"RealtimePostgresFilter.swift",
"RealtimePostgresFilterValue.swift",
"Types.swift",
"WebSocket/URLSessionWebSocket.swift",
"WebSocket/WebSocket.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "PostgRESTTests",
"module_type" : "SwiftTarget",
"name" : "PostgRESTTests",
"path" : "Tests/PostgRESTTests",
"product_dependencies" : [
"InlineSnapshotTesting",
"SnapshotTesting",
"Mocker"
],
"sources" : [
"BuildURLRequestTests.swift",
"JSONTests.swift",
"PostgresQueryTests.swift",
"PostgrestBuilderTests.swift",
"PostgrestFilterBuilderTests.swift",
"PostgrestFilterValueTests.swift",
"PostgrestQueryBuilderTests.swift",
"PostgrestResponseTests.swift",
"PostgrestRpcBuilderTests.swift",
"PostgrestTransformBuilderTests.swift"
],
"target_dependencies" : [
"Helpers",
"PostgREST",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "PostgREST",
"module_type" : "SwiftTarget",
"name" : "PostgREST",
"path" : "Sources/PostgREST",
"product_dependencies" : [
"ConcurrencyExtras"
],
"product_memberships" : [
"PostgREST",
"Supabase"
],
"sources" : [
"Defaults.swift",
"Deprecated.swift",
"Exports.swift",
"PostgrestBuilder.swift",
"PostgrestClient.swift",
"PostgrestFilterBuilder.swift",
"PostgrestFilterValue.swift",
"PostgrestQueryBuilder.swift",
"PostgrestTransformBuilder.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"XCTestDynamicOverlay"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/IntegrationTests/Fixtures/Upload/file-2.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/IntegrationTests/Fixtures/Upload/sadcat.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/IntegrationTests/supabase/config.toml",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AuthClientIntegrationTests.swift",
"DotEnv.swift",
"Postgrest/PostgresTransformsTests.swift",
"Postgrest/PostgrestBasicTests.swift",
"Postgrest/PostgrestFilterTests.swift",
"Postgrest/PostgrestResourceEmbeddingTests.swift",
"PostgrestIntegrationTests.swift",
"RealtimeIntegrationTests.swift",
"StorageClientIntegrationTests.swift",
"StorageFileIntegrationTests.swift"
],
"target_dependencies" : [
"Helpers",
"Supabase",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "HelpersTests",
"module_type" : "SwiftTarget",
"name" : "HelpersTests",
"path" : "Tests/HelpersTests",
"product_dependencies" : [
"CustomDump"
],
"sources" : [
"AnyJSONTests.swift",
"AsyncValueSubjectTests.swift",
"EventEmitterTests.swift",
"HTTPErrorTests.swift",
"JWTTests.swift",
"ObservationTokenTests.swift",
"PostgrestErrorTests.swift",
"WithTimeoutTests.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "test"
},
{
"c99name" : "Helpers",
"module_type" : "SwiftTarget",
"name" : "Helpers",
"path" : "Sources/Helpers",
"product_dependencies" : [
"ConcurrencyExtras",
"HTTPTypes",
"Clocks",
"XCTestDynamicOverlay"
],
"product_memberships" : [
"Auth",
"Functions",
"PostgREST",
"Realtime",
"Storage",
"Supabase"
],
"sources" : [
"AnyJSON/AnyJSON+Codable.swift",
"AnyJSON/AnyJSON.swift",
"AsyncValueSubject.swift",
"Codable.swift",
"DateFormatter.swift",
"EventEmitter.swift",
"FoundationExtensions.swift",
"HTTP/HTTPClient.swift",
"HTTP/HTTPFields.swift",
"HTTP/HTTPRequest.swift",
"HTTP/HTTPResponse.swift",
"HTTP/LoggerInterceptor.swift",
"HTTP/RetryRequestInterceptor.swift",
"JWT.swift",
"Logger/OSLogSupabaseLogger.swift",
"Logger/SupabaseLogger.swift",
"SharedModels/HTTPError.swift",
"SharedModels/PostgrestError.swift",
"Task+withTimeout.swift",
"TaskLocalHelpers.swift",
"URLSession+AsyncAwait.swift",
"Version.swift",
"_Clock.swift"
],
"type" : "library"
},
{
"c99name" : "FunctionsTests",
"module_type" : "SwiftTarget",
"name" : "FunctionsTests",
"path" : "Tests/FunctionsTests",
"product_dependencies" : [
"ConcurrencyExtras",
"InlineSnapshotTesting",
"SnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"sources" : [
"FunctionInvokeOptionsTests.swift",
"FunctionsClientTests.swift",
"FunctionsErrorTests.swift",
"RequestTests.swift"
],
"target_dependencies" : [
"Functions",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "Functions",
"module_type" : "SwiftTarget",
"name" : "Functions",
"path" : "Sources/Functions",
"product_memberships" : [
"Functions",
"Supabase"
],
"sources" : [
"Exports.swift",
"FunctionsClient.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "AuthTests",
"module_type" : "SwiftTarget",
"name" : "AuthTests",
"path" : "Tests/AuthTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"SnapshotTesting",
"XCTestDynamicOverlay"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/anonymous-sign-in-response.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/list-users-response.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/local-storage.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/session.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/signup-response.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/user.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AuthClientMultipleInstancesTests.swift",
"AuthClientTests.swift",
"AuthErrorTests.swift",
"AuthResponseTests.swift",
"ExtractParamsTests.swift",
"MockHelpers.swift",
"Mocks/Mocks.swift",
"PKCETests.swift",
"RequestsTests.swift",
"SessionManagerTests.swift",
"StoredSessionTests.swift"
],
"target_dependencies" : [
"Auth",
"Helpers",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "Auth",
"module_type" : "SwiftTarget",
"name" : "Auth",
"path" : "Sources/Auth",
"product_dependencies" : [
"ConcurrencyExtras",
"Crypto"
],
"product_memberships" : [
"Auth",
"Supabase"
],
"sources" : [
"AuthAdmin.swift",
"AuthClient.swift",
"AuthClientConfiguration.swift",
"AuthError.swift",
"AuthMFA.swift",
"AuthStateChangeListener.swift",
"Defaults.swift",
"Deprecated.swift",
"Exports.swift",
"Internal/APIClient.swift",
"Internal/CodeVerifierStorage.swift",
"Internal/Constants.swift",
"Internal/Dependencies.swift",
"Internal/EventEmitter.swift",
"Internal/FixedWidthInteger+Random.swift",
"Internal/Helpers.swift",
"Internal/Keychain.swift",
"Internal/PKCE.swift",
"Internal/SessionManager.swift",
"Internal/SessionStorage.swift",
"Internal/URLOpener.swift",
"Storage/AuthLocalStorage.swift",
"Storage/KeychainLocalStorage.swift",
"Storage/WinCredLocalStorage.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.