Build Information
Successful build of Supabase, reference v2.46.0 (dd29b6), with Swift 6.3 for Linux on 30 Apr 2026 06:03:01 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
256 | }.get()
257 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[443/730] Compiling Storage Helpers.swift
[444/730] Compiling Storage MultipartFormData.swift
[445/730] Compiling Storage StorageError.swift
[446/730] Compiling Storage StorageFileApi.swift
[447/731] Compiling x509_trs.cc
[448/731] Compiling x509_txt.cc
[449/731] Compiling x509_vfy.cc
[450/731] Compiling x509_v3.cc
[451/731] Compiling x509_set.cc
[453/731] Compiling Realtime RealtimeSerializer.swift
/host/spi-builder-workspace/Sources/Realtime/RealtimeSerializer.swift:47:9: warning: variable 'array' was never mutated; consider changing to 'let' constant
45 | /// Encodes a ``RealtimeMessageV2`` as a JSON array string: `[joinRef, ref, topic, event, payload]`.
46 | func encodeText(_ message: RealtimeMessageV2) throws -> String {
47 | var array: [AnyJSON] = [
| `- warning: variable 'array' was never mutated; consider changing to 'let' constant
48 | message.joinRef.map { .string($0) } ?? .null,
49 | message.ref.map { .string($0) } ?? .null,
[454/731] Compiling Realtime Types.swift
/host/spi-builder-workspace/Sources/Realtime/RealtimeSerializer.swift:47:9: warning: variable 'array' was never mutated; consider changing to 'let' constant
45 | /// Encodes a ``RealtimeMessageV2`` as a JSON array string: `[joinRef, ref, topic, event, payload]`.
46 | func encodeText(_ message: RealtimeMessageV2) throws -> String {
47 | var array: [AnyJSON] = [
| `- warning: variable 'array' was never mutated; consider changing to 'let' constant
48 | message.joinRef.map { .string($0) } ?? .null,
49 | message.ref.map { .string($0) } ?? .null,
[455/731] Compiling Realtime URLSessionWebSocket.swift
/host/spi-builder-workspace/Sources/Realtime/RealtimeSerializer.swift:47:9: warning: variable 'array' was never mutated; consider changing to 'let' constant
45 | /// Encodes a ``RealtimeMessageV2`` as a JSON array string: `[joinRef, ref, topic, event, payload]`.
46 | func encodeText(_ message: RealtimeMessageV2) throws -> String {
47 | var array: [AnyJSON] = [
| `- warning: variable 'array' was never mutated; consider changing to 'let' constant
48 | message.joinRef.map { .string($0) } ?? .null,
49 | message.ref.map { .string($0) } ?? .null,
[456/731] Compiling Realtime WebSocket.swift
/host/spi-builder-workspace/Sources/Realtime/RealtimeSerializer.swift:47:9: warning: variable 'array' was never mutated; consider changing to 'let' constant
45 | /// Encodes a ``RealtimeMessageV2`` as a JSON array string: `[joinRef, ref, topic, event, payload]`.
46 | func encodeText(_ message: RealtimeMessageV2) throws -> String {
47 | var array: [AnyJSON] = [
| `- warning: variable 'array' was never mutated; consider changing to 'let' constant
48 | message.joinRef.map { .string($0) } ?? .null,
49 | message.ref.map { .string($0) } ?? .null,
[456/731] Compiling x509_req.cc
[457/731] Compiling x509_obj.cc
/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 = [:],
/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 |
[#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>
/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 = [:],
/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 |
[#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>
/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 = [:],
/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 |
[#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>
/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 = [:],
/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 |
[#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>
[462/731] Compiling x509_lu.cc
[463/731] Compiling x509_def.cc
[464/731] Compiling x509_ext.cc
[466/731] Compiling Realtime RealtimeChannelV2.swift
[467/731] Compiling Realtime RealtimeClientV2.swift
[468/731] Compiling Realtime RealtimeError.swift
[469/731] Compiling Realtime RealtimeJoinConfig.swift
[470/732] Compiling x509_d2.cc
[471/732] Compiling x509_cmp.cc
[472/732] Compiling x509.cc
[473/732] Compiling x509_att.cc
[474/732] Compiling v3_utl.cc
[475/732] Compiling v3_skey.cc
[476/732] Compiling v3_purp.cc
[477/732] Compiling v3_prn.cc
[478/732] Compiling v3_ocsp.cc
[479/732] Compiling v3_pcons.cc
[480/732] Compiling v3_pmaps.cc
[481/732] Compiling v3_ncons.cc
[482/732] Compiling v3_lib.cc
[483/732] Compiling v3_info.cc
[484/732] Compiling v3_int.cc
[485/732] Compiling v3_ia5.cc
[486/732] Compiling v3_extku.cc
[487/732] Compiling v3_genn.cc
[488/732] Compiling v3_enum.cc
[489/732] Compiling v3_crld.cc
[491/732] Emitting module SwiftSyntax
[491/732] Compiling v3_cpols.cc
[492/732] Compiling v3_conf.cc
[493/732] Compiling v3_bitst.cc
[494/732] Compiling v3_alt.cc
[495/732] Compiling v3_bcons.cc
[496/732] Compiling v3_akeya.cc
[497/732] Compiling v3_akey.cc
[498/732] Compiling t_x509.cc
[499/732] Compiling t_x509a.cc
[500/732] Compiling t_crl.cc
[501/732] Compiling t_req.cc
[502/732] Compiling name_print.cc
[503/732] Compiling rsa_pss.cc
[504/732] Compiling i2d_pr.cc
[505/732] Compiling policy.cc
[506/732] Compiling by_file.cc
[507/732] Compiling asn1_gen.cc
[508/732] Compiling a_verify.cc
[509/732] Compiling by_dir.cc
[510/732] Compiling algorithm.cc
[511/732] Compiling a_digest.cc
[512/732] Compiling a_sign.cc
[513/732] Compiling thread_win.cc
[514/732] Compiling thread_pthread.cc
[515/732] Compiling thread_none.cc
[516/732] Compiling voprf.cc
[517/732] Compiling thread.cc
[518/732] Compiling stack.cc
[519/732] Compiling pmbtoken.cc
[520/732] Compiling siphash.cc
[521/732] Compiling trust_token.cc
[522/732] Compiling sha1.cc
[523/732] Compiling sha512.cc
[524/732] Compiling slhdsa.cc
[525/732] Compiling sha256.cc
[526/732] Compiling rsa_print.cc
[527/732] Compiling rsa_extra.cc
[528/732] Compiling spake2plus.cc
[529/732] Compiling refcount.cc
[530/732] Compiling rc4.cc
[531/732] Compiling rsa_crypt.cc
[532/732] Compiling windows.cc
[533/732] Compiling trusty.cc
[534/732] Compiling rand.cc
[535/732] Compiling urandom.cc
[536/732] Compiling passive.cc
[537/732] Compiling ios.cc
[538/732] Compiling getentropy.cc
[539/732] Compiling rsa_asn1.cc
[539/732] Compiling poly1305_arm_asm.S
[541/732] Compiling deterministic.cc
[542/732] Compiling forkunsafe.cc
[543/732] Compiling fork_detect.cc
[544/732] Compiling poly1305_arm.cc
[545/732] Compiling poly1305_vec.cc
[546/732] Compiling poly1305.cc
[547/732] Compiling pool.cc
[548/732] Compiling pkcs7.cc
[549/732] Compiling pkcs8.cc
[550/732] Compiling p5_pbev2.cc
[551/732] Compiling pem_x509.cc
[552/732] Compiling pkcs8_x509.cc
[553/732] Compiling pem_xaux.cc
[554/732] Compiling pkcs7_x509.cc
[555/732] Compiling pem_info.cc
[556/732] Compiling pem_pkey.cc
[557/732] Compiling pem_oth.cc
[558/732] Compiling obj_xref.cc
[559/732] Compiling pem_pk8.cc
[560/732] Compiling mlkem.cc
[561/732] Compiling pem_lib.cc
[562/732] Compiling pem_all.cc
[563/732] Compiling mldsa.cc
[564/732] Compiling mem.cc
[565/732] Compiling obj.cc
[566/732] Compiling kyber.cc
[567/732] Compiling poly_rq_mul.S
[568/732] Compiling md4.cc
[569/732] Compiling fips_shared_support.cc
[570/732] Compiling lhash.cc
[571/732] Compiling ex_data.cc
[571/732] Compiling md5.cc
[573/732] Compiling fuzzer_mode.cc
[574/732] Compiling scrypt.cc
[575/732] Compiling hrss.cc
[576/732] Compiling hpke.cc
[577/732] Compiling print.cc
[578/732] Compiling pbkdf.cc
[579/732] Compiling sign.cc
[580/732] Compiling p_x25519.cc
[581/732] Compiling p_x25519_asn1.cc
[582/732] Compiling p_hkdf.cc
[583/732] Compiling p_rsa_asn1.cc
[584/732] Compiling p_ed25519_asn1.cc
[585/732] Compiling p_rsa.cc
[586/732] Compiling p_ed25519.cc
[587/732] Compiling p_ec_asn1.cc
[588/732] Compiling p_dsa_asn1.cc
[589/732] Compiling p_ec.cc
[590/732] Compiling p_dh_asn1.cc
[591/732] Compiling p_dh.cc
[592/732] Compiling evp_ctx.cc
[593/732] Compiling err.cc
[594/732] Compiling engine.cc
[595/732] Compiling ecdsa_p1363.cc
[596/732] Compiling evp.cc
[597/732] Compiling evp_asn1.cc
[599/732] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[600/732] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[601/732] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[602/732] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[603/732] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[604/732] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[605/732] Compiling SwiftSyntax RawSyntaxValidation.swift
[606/732] Compiling SwiftSyntax SyntaxNodesAB.swift
[606/732] Compiling ecdh.cc
[607/732] Compiling ec_derive.cc
[608/732] Compiling hash_to_curve.cc
[609/732] Compiling ecdsa_asn1.cc
[611/732] Compiling SwiftSyntax SyntaxRewriter.swift
[612/732] Compiling SwiftSyntax SyntaxTraits.swift
[613/732] Compiling SwiftSyntax SyntaxVisitor.swift
[614/732] Compiling SwiftSyntax TokenKind.swift
[615/732] Compiling SwiftSyntax Tokens.swift
[616/732] Compiling SwiftSyntax TriviaPieces.swift
[617/732] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[618/732] Compiling SwiftSyntax RawSyntaxNodesC.swift
[619/732] Compiling SwiftSyntax RawSyntaxNodesD.swift
[619/732] Compiling ec_asn1.cc
[620/732] Compiling dsa_asn1.cc
[621/732] Compiling dsa.cc
[622/732] Compiling params.cc
[623/732] Compiling des.cc
[624/732] Compiling digest_extra.cc
[625/732] Compiling dh_asn1.cc
[626/732] Compiling x25519-asm-arm.S
[627/732] Compiling spake25519.cc
[628/732] Compiling cpu_intel.cc
[629/732] Compiling cpu_arm_linux.cc
[630/732] Compiling crypto.cc
[631/732] Compiling curve25519.cc
[632/732] Compiling cpu_arm_freebsd.cc
[633/732] Compiling cpu_aarch64_openbsd.cc
[634/732] Compiling cpu_aarch64_linux.cc
[635/732] Compiling cpu_aarch64_sysreg.cc
[636/732] Compiling curve25519_64_adx.cc
[637/732] Compiling cpu_aarch64_win.cc
[638/732] Compiling cpu_aarch64_fuchsia.cc
[639/732] Compiling cpu_aarch64_apple.cc
[640/732] Compiling tls_cbc.cc
[641/732] Compiling get_cipher.cc
[642/732] Compiling conf.cc
[643/732] Compiling e_rc2.cc
[644/732] Compiling e_chacha20poly1305.cc
[645/732] Compiling e_rc4.cc
[646/732] Compiling e_tls.cc
[647/732] Compiling e_null.cc
[648/732] Compiling e_aesgcmsiv.cc
[649/732] Compiling e_des.cc
[650/732] Compiling cms.cc
[651/732] Compiling derive_key.cc
[652/732] Compiling e_aesctrhmac.cc
[653/732] Compiling chacha.cc
[654/732] Compiling e_aeseax.cc
[655/732] Compiling unicode.cc
[656/732] Compiling cbb.cc
[657/732] Compiling cbs.cc
[658/732] Compiling buf.cc
[659/732] Compiling sqrt.cc
[660/732] Compiling ber.cc
[661/732] Compiling div.cc
[662/732] Compiling exponentiation.cc
[663/732] Compiling asn1_compat.cc
[664/732] Compiling printf.cc
[665/732] Compiling bn_asn1.cc
[666/732] Compiling hexdump.cc
[667/732] Compiling convert.cc
[668/732] Compiling blake2.cc
[669/732] Compiling pair.cc
[670/732] Compiling errno.cc
[671/732] Compiling fd.cc
[672/732] Compiling base64.cc
[673/732] Compiling file.cc
[674/732] Compiling bio_mem.cc
[675/732] Compiling bio.cc
[676/732] Compiling tasn_fre.cc
[677/732] Compiling tasn_typ.cc
[678/732] Compiling tasn_enc.cc
[679/732] Compiling posix_time.cc
[680/732] Compiling asn_pack.cc
[681/732] Compiling tasn_new.cc
[682/732] Compiling f_int.cc
[683/732] Compiling tasn_utl.cc
[684/732] Compiling f_string.cc
[685/732] Compiling tasn_dec.cc
[686/732] Compiling asn1_par.cc
[687/732] Compiling a_utctm.cc
[688/732] Compiling a_time.cc
[689/732] Compiling asn1_lib.cc
[690/732] Compiling a_type.cc
[691/732] Compiling a_octet.cc
[692/732] Compiling a_strex.cc
[693/732] Compiling a_strnid.cc
[694/732] Compiling a_i2d_fp.cc
[695/732] Compiling a_gentm.cc
[696/732] Compiling a_d2i_fp.cc
[697/732] Compiling a_object.cc
[698/732] Compiling a_mbstr.cc
[699/732] Compiling a_dup.cc
[699/732] Compiling a_int.cc
[699/732] Compiling a_bool.cc
[699/732] Compiling aes.cc
[699/732] Compiling a_bitstr.cc
[699/732] Compiling bcm.cc
[707/732] Compiling SwiftSyntax SyntaxEnum.swift
[708/732] Compiling SwiftSyntax SyntaxKind.swift
[709/732] Compiling SwiftSyntax SyntaxNodeStructure.swift
[710/732] Compiling SwiftSyntax SyntaxProtocol.swift
[711/732] Compiling SwiftSyntax SyntaxText.swift
[712/732] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[713/732] Compiling SwiftSyntax TokenDiagnostic.swift
[714/732] Compiling SwiftSyntax TokenSequence.swift
[715/732] Compiling SwiftSyntax TokenSyntax.swift
[716/732] Compiling SwiftSyntax Trivia.swift
[717/732] Compiling SwiftSyntax Utils.swift
[717/732] Write sources
[725/740] Compiling CryptoBoringWrapper RandomBytes.swift
[726/740] Emitting module CryptoBoringWrapper
[727/740] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[728/740] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[729/740] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[730/740] Compiling CryptoBoringWrapper EllipticCurve.swift
[731/740] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[732/740] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[734/825] Compiling Crypto HPKE-LabeledExtract.swift
[735/825] Compiling Crypto HPKE-Utils.swift
[736/825] Compiling Crypto DHKEM.swift
[737/825] Compiling Crypto HPKE-KEM-Curve25519.swift
[738/825] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[739/825] Compiling Crypto HPKE-KEM.swift
[740/825] Compiling Crypto HPKE-Errors.swift
[741/825] Compiling Crypto HPKE.swift
[742/825] Compiling Crypto HPKE-Context.swift
[743/825] Compiling Crypto HPKE-KeySchedule.swift
[744/825] Compiling Crypto HPKE-Modes.swift
[745/825] Compiling Crypto Insecure.swift
[746/836] Compiling Crypto HKDF.swift
[747/836] Compiling Crypto AESWrap.swift
[748/836] Compiling Crypto AESWrap_boring.swift
[749/836] Compiling Crypto Ed25519_boring.swift
[750/836] Compiling Crypto NISTCurvesKeys_boring.swift
[751/836] Compiling Crypto X25519Keys_boring.swift
[752/836] Compiling Crypto Curve25519.swift
[753/836] Compiling Crypto Ed25519Keys.swift
[754/836] Compiling Crypto NISTCurvesKeys.swift
[755/836] Compiling Crypto X25519Keys.swift
[756/836] Compiling Crypto SymmetricKeys.swift
[757/836] Compiling Crypto HMAC.swift
[758/836] Compiling Crypto ASN1Null.swift
[759/836] Compiling Crypto ASN1OctetString.swift
[760/836] Compiling Crypto ASN1Strings.swift
[761/836] Compiling Crypto ArraySliceBigint.swift
[762/836] Compiling Crypto GeneralizedTime.swift
[763/836] Compiling Crypto ObjectIdentifier.swift
[764/836] Compiling Crypto ECDSASignature.swift
[765/836] Compiling Crypto PEMDocument.swift
[766/836] Compiling Crypto PKCS8PrivateKey.swift
[767/836] Compiling Crypto SEC1PrivateKey.swift
[768/836] Compiling Crypto SubjectPublicKeyInfo.swift
[769/836] Compiling Crypto CryptoError_boring.swift
[770/836] Compiling Crypto CryptoKitErrors.swift
[771/836] Compiling Crypto Digest_boring.swift
[772/836] Compiling Crypto Digest.swift
[773/836] Compiling Crypto Digests.swift
[774/836] Compiling Crypto HashFunctions.swift
[775/836] Compiling Crypto HashFunctions_SHA2.swift
[776/836] Compiling Crypto HashFunctions_SHA3.swift
[777/836] Compiling Crypto Digest_xkcp.swift
[778/836] Compiling Crypto HPKE-AEAD.swift
[779/836] Compiling Crypto HPKE-Ciphersuite.swift
[780/836] Compiling Crypto HPKE-KDF.swift
[781/836] Compiling Crypto HPKE-KexKeyDerivation.swift
[782/836] Emitting module Crypto
[783/836] Compiling Crypto AES-GCM.swift
[784/836] Compiling Crypto AES-GCM_boring.swift
[785/836] Compiling Crypto ChaChaPoly_boring.swift
[786/836] Compiling Crypto ChaChaPoly.swift
[787/836] Compiling Crypto Cipher.swift
[788/836] Compiling Crypto Nonces.swift
[789/836] Compiling Crypto ASN1.swift
[790/836] Compiling Crypto ASN1Any.swift
[791/836] Compiling Crypto ASN1BitString.swift
[792/836] Compiling Crypto ASN1Boolean.swift
[793/836] Compiling Crypto ASN1Identifier.swift
[794/836] Compiling Crypto ASN1Integer.swift
[795/836] Compiling Crypto AES.swift
[796/836] Compiling Crypto ECDSASignature_boring.swift
[797/836] Compiling Crypto ECDSA_boring.swift
[798/836] Compiling Crypto EdDSA_boring.swift
[799/836] Compiling Crypto MLDSA_boring.swift
[800/836] Compiling Crypto MLDSA_wrapper.swift
[801/836] Compiling Crypto ECDSA.swift
[802/836] Compiling Crypto Ed25519.swift
[803/836] Compiling Crypto Signature.swift
[804/836] Compiling Crypto CryptoKitErrors_boring.swift
[805/836] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[806/836] Compiling Crypto RNG_boring.swift
[807/836] Compiling Crypto SafeCompare_boring.swift
[808/836] Compiling Crypto Zeroization_boring.swift
[809/836] Compiling Crypto _CryptoModuleAnchor.swift
[810/836] Compiling Crypto PrettyBytes.swift
[811/836] Compiling Crypto SafeCompare.swift
[812/836] Compiling Crypto SecureBytes.swift
[813/836] Compiling Crypto Zeroization.swift
[815/837] Compiling Crypto MACFunctions.swift
[816/837] Compiling Crypto MessageAuthenticationCode.swift
[825/837] Compiling Crypto MLDSA.swift
[826/896] Compiling Crypto Insecure_HashFunctions.swift
[827/896] Compiling Crypto MLKEM_boring.swift
[828/896] Compiling Crypto MLKEM_wrapper.swift
[829/896] Compiling Crypto XWing_boring.swift
[830/896] Compiling Crypto KEM-Errors.swift
[831/896] Compiling Crypto KEM.swift
[832/896] Compiling Crypto MLKEM.swift
[833/896] Compiling Crypto XWing.swift
[834/896] Compiling Crypto ECDH_boring.swift
[835/896] Compiling Crypto DH.swift
[836/896] Compiling Crypto ECDH.swift
[837/896] Compiling Crypto ANSIx963.swift
[838/896] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[840/898] Compiling SwiftBasicFormat Syntax+Extensions.swift
[841/898] Compiling SwiftDiagnostics Message.swift
[842/898] Compiling SwiftDiagnostics Note.swift
[843/898] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[844/898] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[845/898] Compiling SwiftDiagnostics FixIt.swift
[846/898] Compiling SwiftParser Attributes.swift
[847/898] Compiling SwiftParser Availability.swift
[848/898] Emitting module SwiftDiagnostics
[849/898] Compiling SwiftParser CharacterInfo.swift
[850/898] Compiling SwiftParser CollectionNodes+Parsable.swift
[851/899] Emitting module SwiftBasicFormat
[852/924] Compiling SwiftBasicFormat Indenter.swift
[853/924] Compiling Auth Helpers.swift
[854/924] Compiling Auth JWK+RSA.swift
[855/924] Compiling Auth JWTAlgorithm.swift
[856/924] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[857/927] Compiling SwiftBasicFormat InferIndentation.swift
[858/927] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[860/928] Compiling SwiftParser StringLiterals.swift
[861/928] Compiling SwiftParser SwiftParserCompatibility.swift
[862/928] Compiling SwiftParser SwiftVersion.swift
[863/928] Compiling SwiftParser SyntaxUtils.swift
[864/928] Compiling SwiftParser TokenConsumer.swift
[865/928] Compiling SwiftParser TokenPrecedence.swift
[866/933] Compiling Auth SessionStorage.swift
[867/933] Compiling Auth URLOpener.swift
[868/933] Compiling Auth AuthLocalStorage.swift
[869/933] Compiling SwiftBasicFormat BasicFormat.swift
[871/934] Compiling Auth Constants.swift
[872/934] Compiling Auth Dependencies.swift
[873/934] Compiling Auth EventEmitter.swift
[874/934] Compiling Auth FixedWidthInteger+Random.swift
[875/934] 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>
[876/934] 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>
[877/934] 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>
[878/934] Compiling Auth Deprecated.swift
[879/934] Compiling Auth Exports.swift
[880/934] Compiling Auth APIClient.swift
[881/934] Compiling Auth CodeVerifierStorage.swift
[882/934] Compiling Auth AuthError.swift
[883/934] Compiling Auth AuthMFA.swift
[884/934] Compiling Auth AuthStateChangeListener.swift
[885/934] Compiling Auth Defaults.swift
[892/934] Emitting module Auth
[893/934] Emitting module SwiftParser
[894/934] Compiling SwiftParser TokenSpec.swift
[895/934] Compiling SwiftParser TokenSpecSet.swift
[896/934] Compiling SwiftParser TopLevel.swift
[897/934] Compiling SwiftParser TriviaParser.swift
[898/934] Compiling SwiftParser Types.swift
[900/934] Compiling Auth KeychainLocalStorage.swift
[901/934] Compiling Auth WinCredLocalStorage.swift
[902/934] Compiling Auth Types.swift
[903/934] Compiling SwiftParser Statements.swift
[904/934] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[905/934] Compiling Auth AuthAdmin.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:378:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
376 | query: [URLQueryItem(name: "grant_type", value: "password")],
377 | body: configuration.encoder.encode(
378 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
379 | email: email,
380 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:405:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
403 | query: [URLQueryItem(name: "grant_type", value: "password")],
404 | body: configuration.encoder.encode(
405 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
406 | password: password,
407 | phone: phone,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:1287: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
1285 | queryParams: [(name: String, value: String?)] = []
1286 | ) async throws {
1287 | 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
1288 | provider: provider,
1289 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[906/934] Compiling Auth AuthAdminOAuth.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:378:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
376 | query: [URLQueryItem(name: "grant_type", value: "password")],
377 | body: configuration.encoder.encode(
378 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
379 | email: email,
380 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:405:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
403 | query: [URLQueryItem(name: "grant_type", value: "password")],
404 | body: configuration.encoder.encode(
405 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
406 | password: password,
407 | phone: phone,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:1287: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
1285 | queryParams: [(name: String, value: String?)] = []
1286 | ) async throws {
1287 | 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
1288 | provider: provider,
1289 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[907/934] Compiling Auth AuthClient.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:378:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
376 | query: [URLQueryItem(name: "grant_type", value: "password")],
377 | body: configuration.encoder.encode(
378 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
379 | email: email,
380 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:405:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
403 | query: [URLQueryItem(name: "grant_type", value: "password")],
404 | body: configuration.encoder.encode(
405 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
406 | password: password,
407 | phone: phone,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:1287: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
1285 | queryParams: [(name: String, value: String?)] = []
1286 | ) async throws {
1287 | 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
1288 | provider: provider,
1289 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[908/934] Compiling Auth AuthClientConfiguration.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:378:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
376 | query: [URLQueryItem(name: "grant_type", value: "password")],
377 | body: configuration.encoder.encode(
378 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
379 | email: email,
380 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:405:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
403 | query: [URLQueryItem(name: "grant_type", value: "password")],
404 | body: configuration.encoder.encode(
405 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release. [#DeprecatedDeclaration]
406 | password: password,
407 | phone: phone,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:1287: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
1285 | queryParams: [(name: String, value: String?)] = []
1286 | ) async throws {
1287 | 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
1288 | provider: provider,
1289 | scopes: scopes,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[927/934] Compiling SwiftParser ExperimentalFeatures.swift
[928/934] Compiling SwiftParser IsLexerClassified.swift
[929/934] Compiling SwiftParser LayoutNodes+Parsable.swift
[930/934] Compiling SwiftParser Parser+TokenSpecSet.swift
[931/934] Compiling SwiftParser TokenSpecStaticMembers.swift
[933/948] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[934/949] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[935/949] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[936/949] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[937/949] Compiling SwiftParserDiagnostics Utils.swift
[938/949] Emitting module SwiftParserDiagnostics
/host/spi-builder-workspace/Sources/Auth/Types.swift:508:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
506 | self.password = password
507 | self.nonce = nonce
508 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
509 | self.data = data
510 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/Auth/Types.swift:508:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
506 | self.password = password
507 | self.nonce = nonce
508 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
509 | self.data = data
510 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/Auth/Types.swift:508:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
506 | self.password = password
507 | self.nonce = nonce
508 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it. [#DeprecatedDeclaration]
509 | self.data = data
510 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[943/950] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[944/950] Compiling SwiftParserDiagnostics PresenceUtils.swift
[945/956] Compiling Supabase Deprecated.swift
[946/956] Compiling Supabase Constants.swift
[947/956] 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>
[948/956] Compiling Supabase Types.swift
[949/956] Compiling Supabase Exports.swift
[950/956] 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:199: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]
197 |
198 | _realtime = UncheckedSendable(
199 | 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]
200 | supabaseURL.appendingPathComponent("/realtime/v1").absoluteString,
201 | headers: _headers.dictionary,
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:258:22: warning: 'subscriptions' is deprecated: renamed to 'channels' [#DeprecatedDeclaration]
256 | /// Returns all Realtime channels.
257 | public var channels: [RealtimeChannelV2] {
258 | Array(realtimeV2.subscriptions.values)
| |- warning: 'subscriptions' is deprecated: renamed to 'channels' [#DeprecatedDeclaration]
| `- note: use 'channels' instead
259 | }
260 |
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:403:7: warning: 'realtime' is deprecated: Use realtimeV2 [#DeprecatedDeclaration]
401 | if let accessToken {
402 | functions.setAuth(token: accessToken)
403 | realtime.setAuth(accessToken)
| `- warning: 'realtime' is deprecated: Use realtimeV2 [#DeprecatedDeclaration]
404 | await realtimeV2.setAuth(accessToken)
405 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[952/957] Compiling SwiftParserDiagnostics MissingNodesError.swift
[953/957] Compiling SwiftParserDiagnostics MissingTokenError.swift
[954/957] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[955/957] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[956/957] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[957/957] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[959/973] Compiling SwiftSyntaxBuilder Indenter.swift
[960/973] Compiling SwiftSyntaxBuilder ListBuilder.swift
[961/974] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[962/974] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[963/974] Emitting module SwiftSyntaxBuilder
[964/974] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[965/974] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[966/974] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[967/974] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[968/974] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[969/974] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[970/974] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[971/974] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[972/974] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[973/974] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[974/974] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[976/978] Compiling InlineSnapshotTesting Exports.swift
[977/978] Emitting module InlineSnapshotTesting
[978/978] Compiling InlineSnapshotTesting AssertInlineSnapshot.swift
[980/987] Compiling TestHelpers WithMainSerialExecutor+Windows.swift
[981/987] Compiling TestHelpers InMemoryLocalStorage.swift
[982/987] Compiling TestHelpers Exports.swift
[983/987] Compiling TestHelpers AsyncSequence.swift
[984/987] Compiling TestHelpers HTTPClientMock.swift
[985/987] Emitting module TestHelpers
[986/987] 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(
[987/987] Compiling TestHelpers URLRequestSnapshot.swift
Build complete! (385.13s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "5.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"
],
"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",
"ChannelStateManagerTests.swift",
"ConnectionManagerTests.swift",
"ExportsTests.swift",
"FakeWebSocket.swift",
"PostgresActionTests.swift",
"PostgresJoinConfigTests.swift",
"PresenceActionTests.swift",
"PushV2Tests.swift",
"RealtimeChannelBroadcastTests.swift",
"RealtimeChannelTests.swift",
"RealtimeErrorTests.swift",
"RealtimeJoinConfigTests.swift",
"RealtimeLifecycleTests.swift",
"RealtimeMessageV2Tests.swift",
"RealtimePostgresFilterTests.swift",
"RealtimePostgresFilterValueTests.swift",
"RealtimeSerializerTests.swift",
"RealtimeTests.swift",
"WebSocketTests.swift",
"_PushTests.swift"
],
"target_dependencies" : [
"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",
"ChannelStateManager.swift",
"ConnectionManager.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",
"RealtimeLifecycleManager.swift",
"RealtimeMessageV2.swift",
"RealtimePostgresFilter.swift",
"RealtimePostgresFilterValue.swift",
"RealtimeSerializer.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" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/IntegrationTests/supabase/migrations/20240101000000_initial_schema.sql",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/IntegrationTests/supabase/seed.sql",
"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",
"DateFormatterTests.swift",
"EventEmitterTests.swift",
"HTTPErrorTests.swift",
"JWTTests.swift",
"LoggerInterceptorTests.swift",
"ObservationTokenTests.swift",
"PostgrestErrorTests.swift",
"RetryRequestInterceptorTests.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",
"Base64URL.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" : [
"AuthAdminOAuthTests.swift",
"AuthClientMultipleInstancesTests.swift",
"AuthClientTests.swift",
"AuthErrorTests.swift",
"AuthResponseTests.swift",
"ExtractParamsTests.swift",
"JWTCryptoTests.swift",
"MockHelpers.swift",
"Mocks/Mocks.swift",
"PKCETests.swift",
"RequestsTests.swift",
"SessionManagerTests.swift",
"StoredSessionTests.swift",
"URLOpenerTests.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",
"AuthAdminOAuth.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/JWK+RSA.swift",
"Internal/JWTAlgorithm.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.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.