Build Information
Successful build of Supabase, reference v2.46.0 (dd29b6), with Swift 6.0 for Linux on 30 Apr 2026 06:14:06 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
647 | )
648 | }
/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
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
647 | )
648 | }
/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()
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| |- warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | try! JSONSerialization
50 | .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| |- warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: warning: static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- warning: static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: warning: static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- warning: static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
/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
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/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
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 | }
/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
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
453 | }
454 | }
/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
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
453 | }
454 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 | }
489 | }
/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
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 | }
489 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
531 | }
532 | }
/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
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
531 | }
532 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | }
552 | }
/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
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | }
552 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | }
576 | }
/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
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | }
576 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
596 | }
597 | }
/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
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
596 | }
597 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
620 | }
621 | }
/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
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
620 | }
621 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Presence.swift:116:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
109 | /// let options = Options(events: [.state: "my_state", .diff: "my_diff"])
110 | /// let presence = Presence(channel, opts: options)
111 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
112 | let events: [Events: String]
113 |
114 | /// Default set of Options used when creating Presence. Uses the
115 | /// phoenix events "presence_state" and "presence_diff"
116 | public static let defaults = Options(events: [
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | .state: "presence_state",
118 | .diff: "presence_diff",
/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
24 | public class Push {
25 | /// The channel sending the Push
26 | public weak var channel: RealtimeChannel?
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
27 |
28 | /// The event, for example `phx_join`
/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
63 | /// - parameter timeout: Optional. The push timeout. Default is 10.0s
64 | init(
65 | channel: RealtimeChannel,
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
66 | event: String,
67 | payload: Payload = [:],
/host/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
/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
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/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
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
446 | }
447 | callback?(.subscribed, nil)
/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
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
647 | )
648 | }
/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
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
647 | )
648 | }
/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()
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| |- warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | try! JSONSerialization
50 | .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| |- warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: warning: static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- warning: static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: warning: static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- warning: static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
/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
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/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
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 | }
/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
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
453 | }
454 | }
/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
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
453 | }
454 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 | }
489 | }
/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
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 | }
489 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
531 | }
532 | }
/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
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
531 | }
532 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | }
552 | }
/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
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | }
552 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | }
576 | }
/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
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | }
576 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
596 | }
597 | }
/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
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
596 | }
597 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
620 | }
621 | }
/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
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
620 | }
621 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Presence.swift:116:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
109 | /// let options = Options(events: [.state: "my_state", .diff: "my_diff"])
110 | /// let presence = Presence(channel, opts: options)
111 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
112 | let events: [Events: String]
113 |
114 | /// Default set of Options used when creating Presence. Uses the
115 | /// phoenix events "presence_state" and "presence_diff"
116 | public static let defaults = Options(events: [
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | .state: "presence_state",
118 | .diff: "presence_diff",
/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
24 | public class Push {
25 | /// The channel sending the Push
26 | public weak var channel: RealtimeChannel?
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
27 |
28 | /// The event, for example `phx_join`
/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
63 | /// - parameter timeout: Optional. The push timeout. Default is 10.0s
64 | init(
65 | channel: RealtimeChannel,
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
66 | event: String,
67 | payload: Payload = [:],
/host/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
/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
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/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
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
446 | }
447 | callback?(.subscribed, nil)
/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
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
647 | )
648 | }
/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
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
647 | )
648 | }
/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()
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| |- warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | try! JSONSerialization
50 | .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| |- warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: warning: static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- warning: static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: warning: static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- warning: static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
/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
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/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
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 | }
/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
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
453 | }
454 | }
/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
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
453 | }
454 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 | }
489 | }
/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
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 | }
489 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
531 | }
532 | }
/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
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
531 | }
532 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | }
552 | }
/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
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | }
552 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | }
576 | }
/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
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | }
576 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
596 | }
597 | }
/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
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
596 | }
597 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
620 | }
621 | }
/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
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
620 | }
621 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:788:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
786 |
787 | // Inform all onOpen callbacks that the Socket has opened
788 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
789 | }
790 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:806:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
804 | }
805 |
806 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
807 | }
808 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:816:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
814 |
815 | // Inform any state callbacks of the error
816 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
817 | }
818 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:844:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
842 |
843 | // Inform all onMessage callbacks of the message
844 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
845 | }
846 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Delegated.swift:25:15: note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
23 | /// instead of added as a dependency to reduce the number of packages that
24 | /// ship with SwiftPhoenixClient
25 | public struct Delegated<Input, Output> {
| `- note: consider making generic struct 'Delegated' conform to the 'Sendable' protocol
26 | private(set) var callback: ((Input) -> Output?)?
27 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Presence.swift:116:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
109 | /// let options = Options(events: [.state: "my_state", .diff: "my_diff"])
110 | /// let presence = Presence(channel, opts: options)
111 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
112 | let events: [Events: String]
113 |
114 | /// Default set of Options used when creating Presence. Uses the
115 | /// phoenix events "presence_state" and "presence_diff"
116 | public static let defaults = Options(events: [
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | .state: "presence_state",
118 | .diff: "presence_diff",
/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
24 | public class Push {
25 | /// The channel sending the Push
26 | public weak var channel: RealtimeChannel?
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
27 |
28 | /// The event, for example `phx_join`
/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
63 | /// - parameter timeout: Optional. The push timeout. Default is 10.0s
64 | init(
65 | channel: RealtimeChannel,
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
66 | event: String,
67 | payload: Payload = [:],
/host/spi-builder-workspace/Sources/Realtime/Deprecated/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | class TimerQueue {
97 | // Can be overriden in tests
98 | static var main = TimerQueue()
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | func queue(timeInterval: TimeInterval, execute: DispatchWorkItem) {
/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
1004 |
1005 | // ----------------------------------------------------------------------
1006 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1007 | /// - return: True if the RealtimeChannel has been closed
1008 | public var isClosed: Bool {
/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
25 |
26 | /// Container class of bindings to the channel
27 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
28 | let type: String
29 | let filter: [String: String]
:
443 |
444 | self.bindings.withValue { [newPostgresBindings] in
445 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
446 | }
447 | callback?(.subscribed, nil)
/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
35 | }
36 |
37 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
38 | public var event: String?
39 | public var schema: String?
:
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
647 | )
648 | }
/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
644 | bindings.withValue {
645 | $0[type.lowercased(), default: []].append(
646 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
647 | )
648 | }
/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()
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:48:21: warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// Default encode function, utilizing JSONSerialization.data
48 | public static let encode: (Any) -> Data = { json in
| |- warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | try! JSONSerialization
50 | .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:57:21: warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | /// Default decode function, utilizing JSONSerialization.jsonObject
57 | public static let decode: (Data) -> Any? = { data in
| |- warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | guard
59 | let json =
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:36:21: warning: static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Default reconnect algorithm for the socket
36 | public static let reconnectSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- warning: static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'reconnectSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
38 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Deprecated/Defaults.swift:41:21: warning: static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /** Default rejoin algorithm for individual channels */
41 | public static let rejoinSteppedBackOff: (Int) -> TimeInterval = { tries in
| |- warning: static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rejoinSteppedBackOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | tries > 3 ? 10 : [1, 2, 5][tries - 1]
43 | }
/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
1006 |
1007 | // ----------------------------------------------------------------------
1008 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1009 | public enum CloseCode: Int {
1010 | case abnormal = 999
/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
1021 |
1022 | // ----------------------------------------------------------------------
1023 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1024 | /// Indicates the different closure states a socket can be in.
1025 | enum CloseStatus {
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 | }
/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
407 |
408 | return stateChangeCallbacks.open.withValue { [delegated] in
409 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | }
411 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
453 | }
454 | }
/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
450 |
451 | return stateChangeCallbacks.open.withValue { [delegated] in
452 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
453 | }
454 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 | }
489 | }
/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
485 |
486 | return stateChangeCallbacks.close.withValue { [delegated] in
487 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
488 | }
489 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
531 | }
532 | }
/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
528 |
529 | return stateChangeCallbacks.close.withValue { [delegated] in
530 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
531 | }
532 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | }
552 | }
/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
548 |
549 | return stateChangeCallbacks.error.withValue { [delegated] in
550 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
551 | }
552 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | }
576 | }
/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
572 |
573 | return stateChangeCallbacks.error.withValue { [delegated] in
574 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | }
576 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
596 | }
597 | }
/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
593 |
594 | return stateChangeCallbacks.message.withValue { [delegated] in
595 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
596 | }
597 | }
/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
63 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
64 | )
65 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
66 | // ----------------------------------------------------------------------
67 |
:
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
620 | }
621 | }
/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
617 |
618 | return stateChangeCallbacks.message.withValue { [delegated] in
619 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
620 | }
621 | }
/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 |
[471/732] Compiling x509_att.cc
[473/732] Compiling x509.cc
[474/732] Compiling v3_skey.cc
[475/732] Compiling v3_utl.cc
[476/732] Compiling v3_purp.cc
[477/732] Compiling v3_prn.cc
[478/732] Compiling v3_pmaps.cc
[479/732] Compiling v3_pcons.cc
[480/732] Compiling v3_ocsp.cc
[481/732] Compiling v3_ncons.cc
[482/732] Compiling v3_lib.cc
[484/732] Emitting module SwiftSyntax
[484/732] Compiling v3_int.cc
[485/732] Compiling v3_info.cc
[486/732] Compiling v3_ia5.cc
[487/732] Compiling v3_genn.cc
[488/732] Compiling v3_extku.cc
[489/732] Compiling v3_enum.cc
[490/732] Compiling v3_crld.cc
[491/732] Compiling v3_cpols.cc
[492/732] Compiling v3_bitst.cc
[493/732] Compiling v3_conf.cc
[494/732] Compiling v3_bcons.cc
[495/732] Compiling v3_alt.cc
[496/732] Compiling v3_akeya.cc
[497/732] Compiling v3_akey.cc
[498/732] Compiling t_x509a.cc
[499/732] Compiling t_x509.cc
[500/732] Compiling t_crl.cc
[501/732] Compiling t_req.cc
[502/732] Compiling i2d_pr.cc
[503/732] Compiling rsa_pss.cc
[504/732] Compiling policy.cc
[505/732] Compiling name_print.cc
[506/732] Compiling by_file.cc
[507/732] Compiling by_dir.cc
[508/732] Compiling asn1_gen.cc
[509/732] Compiling algorithm.cc
[510/732] Compiling a_digest.cc
[511/732] Compiling a_verify.cc
[512/732] Compiling a_sign.cc
[513/732] Compiling voprf.cc
[514/732] Compiling thread_win.cc
[515/732] Compiling thread.cc
[516/732] Compiling thread_none.cc
[517/732] Compiling thread_pthread.cc
[518/732] Compiling pmbtoken.cc
[519/732] Compiling stack.cc
[520/732] Compiling trust_token.cc
[521/732] Compiling sha512.cc
[522/732] Compiling siphash.cc
[523/732] Compiling sha256.cc
[524/732] Compiling sha1.cc
[525/732] Compiling rsa_print.cc
[526/732] Compiling slhdsa.cc
[527/732] Compiling spake2plus.cc
[528/732] Compiling rsa_extra.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 urandom.cc
[535/732] Compiling rand.cc
[536/732] Compiling passive.cc
[537/732] Compiling ios.cc
[538/732] Compiling getentropy.cc
[539/732] Compiling poly1305_arm_asm.S
[540/732] Compiling forkunsafe.cc
[541/732] Compiling fork_detect.cc
[542/732] Compiling rsa_asn1.cc
[543/732] Compiling deterministic.cc
[544/732] Compiling poly1305_arm.cc
[545/732] Compiling poly1305.cc
[546/732] Compiling poly1305_vec.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 pkcs8_x509.cc
[552/732] Compiling pem_xaux.cc
[553/732] Compiling pkcs7_x509.cc
[554/732] Compiling pem_x509.cc
[555/732] Compiling pem_pkey.cc
[556/732] Compiling pem_oth.cc
[557/732] Compiling pem_pk8.cc
[558/732] Compiling obj_xref.cc
[559/732] Compiling mlkem.cc
[560/732] Compiling pem_info.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 poly_rq_mul.S
[566/732] Compiling lhash.cc
[567/732] Compiling md4.cc
[568/732] Compiling fips_shared_support.cc
[569/732] Compiling kyber.cc
[570/732] Compiling obj.cc
[571/732] Compiling md5.cc
[572/732] Compiling fuzzer_mode.cc
[573/732] Compiling hrss.cc
[574/732] Compiling ex_data.cc
[575/732] Compiling scrypt.cc
[576/732] Compiling hpke.cc
[577/732] Compiling sign.cc
[578/732] Compiling pbkdf.cc
[579/732] Compiling print.cc
[580/732] Compiling p_x25519.cc
[581/732] Compiling p_x25519_asn1.cc
[583/732] Compiling SwiftSyntax SyntaxRewriter.swift
[584/732] Compiling SwiftSyntax SyntaxTraits.swift
[585/732] Compiling SwiftSyntax SyntaxVisitor.swift
[586/732] Compiling SwiftSyntax TokenKind.swift
[587/732] Compiling SwiftSyntax Tokens.swift
[588/732] Compiling SwiftSyntax TriviaPieces.swift
[589/732] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[590/732] Compiling SwiftSyntax RawSyntaxNodesC.swift
[591/732] Compiling SwiftSyntax RawSyntaxNodesD.swift
[591/732] Compiling p_rsa_asn1.cc
[592/732] Compiling p_hkdf.cc
[593/732] Compiling p_rsa.cc
[594/732] Compiling p_ed25519_asn1.cc
[595/732] Compiling p_ed25519.cc
[596/732] Compiling p_ec_asn1.cc
[597/732] Compiling p_ec.cc
[598/732] Compiling p_dh.cc
[599/732] Compiling p_dh_asn1.cc
[600/732] Compiling p_dsa_asn1.cc
[601/732] Compiling evp_ctx.cc
[602/732] Compiling evp.cc
[603/732] Compiling ecdsa_p1363.cc
[604/732] Compiling err.cc
[605/732] Compiling engine.cc
[606/732] Compiling evp_asn1.cc
[608/732] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[609/732] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[610/732] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[611/732] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[612/732] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[613/732] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[614/732] Compiling SwiftSyntax RawSyntaxValidation.swift
[615/732] Compiling SwiftSyntax SyntaxNodesAB.swift
[615/732] Compiling ecdh.cc
[616/732] Compiling hash_to_curve.cc
[617/732] Compiling ec_derive.cc
[618/732] Compiling ecdsa_asn1.cc
[619/732] Compiling dsa_asn1.cc
[620/732] Compiling dsa.cc
[621/732] Compiling ec_asn1.cc
[622/732] Compiling params.cc
[623/732] Compiling des.cc
[624/732] Compiling x25519-asm-arm.S
[625/732] Compiling dh_asn1.cc
[626/732] Compiling digest_extra.cc
[627/732] Compiling spake25519.cc
[628/732] Compiling cpu_arm_linux.cc
[629/732] Compiling cpu_intel.cc
[630/732] Compiling curve25519.cc
[631/732] Compiling crypto.cc
[632/732] Compiling cpu_arm_freebsd.cc
[633/732] Compiling curve25519_64_adx.cc
[634/732] Compiling cpu_aarch64_openbsd.cc
[635/732] Compiling cpu_aarch64_win.cc
[636/732] Compiling cpu_aarch64_sysreg.cc
[637/732] Compiling cpu_aarch64_linux.cc
[638/732] Compiling cpu_aarch64_fuchsia.cc
[639/732] Compiling cpu_aarch64_apple.cc
[640/732] Compiling conf.cc
[641/732] Compiling get_cipher.cc
[642/732] Compiling tls_cbc.cc
[643/732] Compiling e_tls.cc
[644/732] Compiling e_rc4.cc
[645/732] Compiling e_chacha20poly1305.cc
[646/732] Compiling e_null.cc
[647/732] Compiling e_aeseax.cc
[648/732] Compiling e_des.cc
[649/732] Compiling e_rc2.cc
[650/732] Compiling cms.cc
[651/732] Compiling e_aesgcmsiv.cc
[652/732] Compiling e_aesctrhmac.cc
[653/732] Compiling derive_key.cc
[654/732] Compiling chacha.cc
[655/732] Compiling unicode.cc
[656/732] Compiling cbs.cc
[657/732] Compiling buf.cc
[658/732] Compiling cbb.cc
[659/732] Compiling sqrt.cc
[660/732] Compiling ber.cc
[661/732] Compiling div.cc
[662/732] Compiling asn1_compat.cc
[663/732] Compiling exponentiation.cc
[664/732] Compiling printf.cc
[665/732] Compiling pair.cc
[666/732] Compiling bn_asn1.cc
[667/732] Compiling convert.cc
[668/732] Compiling blake2.cc
[669/732] Compiling hexdump.cc
[670/732] Compiling fd.cc
[671/732] Compiling file.cc
[672/732] Compiling errno.cc
[673/732] Compiling bio_mem.cc
[674/732] Compiling bio.cc
[675/732] Compiling base64.cc
[676/732] Compiling tasn_typ.cc
[677/732] Compiling tasn_fre.cc
[678/732] Compiling tasn_utl.cc
[679/732] Compiling tasn_enc.cc
[680/732] Compiling tasn_new.cc
[681/732] Compiling f_string.cc
[682/732] Compiling posix_time.cc
[683/732] Compiling asn_pack.cc
[684/732] Compiling tasn_dec.cc
[685/732] Compiling asn1_par.cc
[686/732] Compiling f_int.cc
[687/732] Compiling asn1_lib.cc
[688/732] Compiling a_time.cc
[689/732] Compiling a_utctm.cc
[690/732] Compiling a_type.cc
[691/732] Compiling a_strnid.cc
[692/732] Compiling a_strex.cc
[693/732] Compiling a_octet.cc
[694/732] Compiling a_i2d_fp.cc
[695/732] Compiling a_gentm.cc
[696/732] Compiling a_object.cc
[697/732] Compiling a_mbstr.cc
[698/732] Compiling a_d2i_fp.cc
[699/732] Write sources
[700/732] Compiling a_dup.cc
[701/732] Compiling aes.cc
[702/732] Compiling a_int.cc
[703/732] Compiling bcm.cc
[704/732] Compiling a_bool.cc
[705/732] Compiling a_bitstr.cc
[707/740] Compiling CryptoBoringWrapper RandomBytes.swift
[708/740] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[709/740] Emitting module CryptoBoringWrapper
[710/740] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[711/740] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[712/740] Compiling CryptoBoringWrapper EllipticCurve.swift
[713/740] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[714/740] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[723/741] Compiling SwiftSyntax SyntaxEnum.swift
[724/741] Compiling SwiftSyntax SyntaxKind.swift
[725/741] Compiling SwiftSyntax SyntaxNodeStructure.swift
[726/741] Compiling SwiftSyntax SyntaxProtocol.swift
[727/741] Compiling SwiftSyntax SyntaxText.swift
[728/741] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[729/741] Compiling SwiftSyntax TokenDiagnostic.swift
[730/741] Compiling SwiftSyntax TokenSequence.swift
[731/741] Compiling SwiftSyntax TokenSyntax.swift
[732/741] Compiling SwiftSyntax Trivia.swift
[733/741] Compiling SwiftSyntax Utils.swift
[734/824] Compiling Crypto HPKE-LabeledExtract.swift
[735/824] Compiling Crypto HPKE-Utils.swift
[736/824] Compiling Crypto DHKEM.swift
[737/824] Compiling Crypto HPKE-KEM-Curve25519.swift
[738/824] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[739/824] Compiling Crypto HPKE-KEM.swift
[740/824] Compiling Crypto HPKE-Errors.swift
[741/824] Compiling Crypto HPKE.swift
[742/824] Compiling Crypto HPKE-Context.swift
[743/824] Compiling Crypto HPKE-KeySchedule.swift
[744/824] Compiling Crypto HPKE-Modes.swift
[745/824] Compiling Crypto Insecure.swift
[746/835] Emitting module Crypto
[747/835] Compiling Crypto ASN1Null.swift
[748/835] Compiling Crypto ASN1OctetString.swift
[749/835] Compiling Crypto ASN1Strings.swift
[750/835] Compiling Crypto ArraySliceBigint.swift
[751/835] Compiling Crypto GeneralizedTime.swift
[752/835] Compiling Crypto ObjectIdentifier.swift
[753/835] Compiling Crypto ECDSASignature.swift
[754/835] Compiling Crypto PEMDocument.swift
[755/835] Compiling Crypto PKCS8PrivateKey.swift
[756/835] Compiling Crypto SEC1PrivateKey.swift
[757/835] Compiling Crypto SubjectPublicKeyInfo.swift
[758/835] Compiling Crypto CryptoError_boring.swift
[759/835] Compiling Crypto MLDSA.swift
[760/835] Compiling Crypto Signature.swift
[761/835] Compiling Crypto CryptoKitErrors_boring.swift
[762/835] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[763/835] Compiling Crypto RNG_boring.swift
[764/835] Compiling Crypto SafeCompare_boring.swift
[765/835] Compiling Crypto Zeroization_boring.swift
[766/835] Compiling Crypto PrettyBytes.swift
[767/835] Compiling Crypto SafeCompare.swift
[768/835] Compiling Crypto SecureBytes.swift
[769/835] Compiling Crypto Zeroization.swift
[770/835] Compiling Crypto HKDF.swift
[771/835] Compiling Crypto AESWrap.swift
[772/835] Compiling Crypto AESWrap_boring.swift
[773/835] Compiling Crypto Ed25519_boring.swift
[774/835] Compiling Crypto NISTCurvesKeys_boring.swift
[775/835] Compiling Crypto X25519Keys_boring.swift
[776/835] Compiling Crypto Curve25519.swift
[777/835] Compiling Crypto Ed25519Keys.swift
[778/835] Compiling Crypto NISTCurvesKeys.swift
[779/835] Compiling Crypto X25519Keys.swift
[780/835] Compiling Crypto SymmetricKeys.swift
[781/835] Compiling Crypto CryptoKitErrors.swift
[782/835] Compiling Crypto Digest_boring.swift
[783/835] Compiling Crypto Digest.swift
[784/835] Compiling Crypto Digests.swift
[785/835] Compiling Crypto HashFunctions.swift
[786/835] Compiling Crypto HashFunctions_SHA2.swift
[787/835] Compiling Crypto HashFunctions_SHA3.swift
[788/835] Compiling Crypto Digest_xkcp.swift
[789/835] Compiling Crypto HPKE-AEAD.swift
[790/835] Compiling Crypto HPKE-Ciphersuite.swift
[791/835] Compiling Crypto HPKE-KDF.swift
[792/835] Compiling Crypto HPKE-KexKeyDerivation.swift
[793/835] Compiling Crypto Insecure_HashFunctions.swift
[794/835] Compiling Crypto MLKEM_boring.swift
[795/835] Compiling Crypto MLKEM_wrapper.swift
[796/835] Compiling Crypto XWing_boring.swift
[797/835] Compiling Crypto KEM-Errors.swift
[798/835] Compiling Crypto KEM.swift
[799/835] Compiling Crypto MLKEM.swift
[800/835] Compiling Crypto XWing.swift
[801/835] Compiling Crypto ECDH_boring.swift
[802/835] Compiling Crypto DH.swift
[803/835] Compiling Crypto ECDH.swift
[804/835] Compiling Crypto ANSIx963.swift
[805/835] Compiling Crypto AES-GCM.swift
[806/835] Compiling Crypto AES-GCM_boring.swift
[807/835] Compiling Crypto ChaChaPoly_boring.swift
[808/835] Compiling Crypto ChaChaPoly.swift
[809/835] Compiling Crypto Cipher.swift
[810/835] Compiling Crypto Nonces.swift
[811/835] Compiling Crypto ASN1.swift
[812/835] Compiling Crypto ASN1Any.swift
[813/835] Compiling Crypto ASN1BitString.swift
[814/835] Compiling Crypto ASN1Boolean.swift
[815/835] Compiling Crypto ASN1Identifier.swift
[816/835] Compiling Crypto ASN1Integer.swift
[817/835] Compiling Crypto HMAC.swift
[818/835] Compiling Crypto MACFunctions.swift
[819/835] Compiling Crypto MessageAuthenticationCode.swift
[820/835] Compiling Crypto AES.swift
[821/835] Compiling Crypto ECDSASignature_boring.swift
[822/835] Compiling Crypto ECDSA_boring.swift
[823/835] Compiling Crypto EdDSA_boring.swift
[824/835] Compiling Crypto MLDSA_boring.swift
[825/835] Compiling Crypto MLDSA_wrapper.swift
[826/835] Compiling Crypto ECDSA.swift
[827/835] Compiling Crypto Ed25519.swift
[829/862] Compiling Auth SessionStorage.swift
[830/862] Compiling Auth URLOpener.swift
[831/862] Compiling Auth AuthLocalStorage.swift
[832/865] Compiling Auth Constants.swift
[833/865] Compiling Auth Dependencies.swift
[834/865] Compiling Auth EventEmitter.swift
[835/865] Compiling Auth FixedWidthInteger+Random.swift
[836/865] Compiling Auth AuthError.swift
[837/865] Compiling Auth AuthMFA.swift
[838/865] Compiling Auth AuthStateChangeListener.swift
[839/865] Compiling Auth Defaults.swift
[840/865] Emitting module Auth
[841/865] Compiling Auth Helpers.swift
[842/865] Compiling Auth JWK+RSA.swift
[843/865] Compiling Auth JWTAlgorithm.swift
[844/865] 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.
86 | ],
87 | body: configuration.encoder.encode(
88 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
89 | )
90 | )
[845/865] 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.
86 | ],
87 | body: configuration.encoder.encode(
88 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
89 | )
90 | )
[846/865] 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.
86 | ],
87 | body: configuration.encoder.encode(
88 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
89 | )
90 | )
[847/865] 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.
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.
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.
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.
406 | password: password,
407 | phone: phone,
[848/865] 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.
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.
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.
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.
406 | password: password,
407 | phone: phone,
[849/865] 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.
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.
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.
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.
406 | password: password,
407 | phone: phone,
[850/865] 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.
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.
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.
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.
406 | password: password,
407 | phone: phone,
[851/865] Compiling Auth Deprecated.swift
[852/865] Compiling Auth Exports.swift
[853/865] Compiling Auth APIClient.swift
[854/865] Compiling Auth CodeVerifierStorage.swift
[855/865] Compiling Auth KeychainLocalStorage.swift
/host/spi-builder-workspace/Sources/Auth/Types.swift:508:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
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.
509 | self.data = data
510 | }
[856/865] Compiling Auth WinCredLocalStorage.swift
/host/spi-builder-workspace/Sources/Auth/Types.swift:508:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
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.
509 | self.data = data
510 | }
[857/865] Compiling Auth Types.swift
/host/spi-builder-workspace/Sources/Auth/Types.swift:508:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
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.
509 | self.data = data
510 | }
[868/932] Compiling Supabase Deprecated.swift
[869/932] Compiling Supabase Constants.swift
[870/932] Compiling SwiftDiagnostics Message.swift
[871/933] Compiling SwiftBasicFormat Syntax+Extensions.swift
[872/933] 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
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
72 |
73 | /// Realtime client for Supabase
[873/933] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[874/933] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[875/933] Compiling SwiftDiagnostics Note.swift
[876/933] Compiling Supabase Types.swift
[877/933] Compiling SwiftBasicFormat InferIndentation.swift
[878/933] Compiling SwiftBasicFormat Indenter.swift
[879/933] Compiling SwiftDiagnostics FixIt.swift
[880/933] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[881/933] Compiling SwiftParser CharacterInfo.swift
[882/933] Compiling SwiftParser CollectionNodes+Parsable.swift
[883/933] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[884/933] Compiling SwiftParser Attributes.swift
[885/933] Compiling SwiftParser Availability.swift
[886/933] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[887/933] Emitting module SwiftDiagnostics
[889/934] Compiling Supabase Exports.swift
[890/934] 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
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
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
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
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'
256 | /// Returns all Realtime channels.
257 | public var channels: [RealtimeChannelV2] {
258 | Array(realtimeV2.subscriptions.values)
| |- warning: 'subscriptions' is deprecated: renamed to 'channels'
| `- note: use 'channels' instead
259 | }
260 |
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:403:7: warning: 'realtime' is deprecated: Use realtimeV2
401 | if let accessToken {
402 | functions.setAuth(token: accessToken)
403 | realtime.setAuth(accessToken)
| `- warning: 'realtime' is deprecated: Use realtimeV2
404 | await realtimeV2.setAuth(accessToken)
405 | }
[892/935] Emitting module SwiftBasicFormat
[893/935] Compiling SwiftBasicFormat BasicFormat.swift
[895/936] Compiling SwiftParser Lexeme.swift
[896/936] Compiling SwiftParser LexemeSequence.swift
[897/936] Compiling SwiftParser Lexer.swift
[898/936] Compiling SwiftParser RegexLiteralLexer.swift
[899/936] Compiling SwiftParser UnicodeScalarExtensions.swift
[900/936] Compiling SwiftParser Lookahead.swift
[901/941] Emitting module SwiftParser
[902/941] Compiling SwiftParser StringLiterals.swift
[903/941] Compiling SwiftParser SwiftParserCompatibility.swift
[904/941] Compiling SwiftParser SwiftVersion.swift
[905/941] Compiling SwiftParser SyntaxUtils.swift
[906/941] Compiling SwiftParser TokenConsumer.swift
[907/941] Compiling SwiftParser TokenPrecedence.swift
[908/941] Compiling SwiftParser TokenSpec.swift
[909/941] Compiling SwiftParser TokenSpecSet.swift
[910/941] Compiling SwiftParser TopLevel.swift
[911/941] Compiling SwiftParser TriviaParser.swift
[912/941] Compiling SwiftParser Types.swift
[913/941] Compiling SwiftParser Parser.swift
[914/941] Compiling SwiftParser Patterns.swift
[915/941] Compiling SwiftParser Recovery.swift
[916/941] Compiling SwiftParser Specifiers.swift
[917/941] Compiling SwiftParser Statements.swift
[918/941] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[919/941] Compiling SwiftParser LoopProgressCondition.swift
[920/941] Compiling SwiftParser Modifiers.swift
[921/941] Compiling SwiftParser Names.swift
[922/941] Compiling SwiftParser Nominals.swift
[923/941] Compiling SwiftParser Parameters.swift
[924/941] Compiling SwiftParser ParseSourceFile.swift
[925/941] Compiling SwiftParser Directives.swift
[926/941] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[927/941] Compiling SwiftParser Expressions.swift
[928/941] Compiling SwiftParser IncrementalParseTransition.swift
[929/941] Compiling SwiftParser IsValidIdentifier.swift
[930/941] Compiling SwiftParser Cursor.swift
[935/941] Compiling SwiftParser CompilerFiles.swift
[936/941] Compiling SwiftParser Declarations.swift
[937/941] Compiling SwiftParser ExperimentalFeatures.swift
[938/941] Compiling SwiftParser IsLexerClassified.swift
[939/941] Compiling SwiftParser LayoutNodes+Parsable.swift
[940/941] Compiling SwiftParser Parser+TokenSpecSet.swift
[941/941] Compiling SwiftParser TokenSpecStaticMembers.swift
[943/955] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[944/956] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[945/956] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[946/956] Compiling SwiftParserDiagnostics Utils.swift
[947/956] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[948/956] Emitting module SwiftParserDiagnostics
[949/956] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[950/956] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[951/956] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[952/956] Compiling SwiftParserDiagnostics PresenceUtils.swift
[953/956] Compiling SwiftParserDiagnostics MissingNodesError.swift
[954/956] Compiling SwiftParserDiagnostics MissingTokenError.swift
[955/956] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[956/956] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[958/972] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[959/972] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[960/973] Compiling SwiftSyntaxBuilder Indenter.swift
[961/973] Compiling SwiftSyntaxBuilder ListBuilder.swift
[962/973] Emitting module SwiftSyntaxBuilder
[963/973] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[964/973] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[965/973] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[966/973] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[967/973] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[968/973] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[969/973] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[970/973] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[971/973] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[972/973] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[973/973] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[975/977] Compiling InlineSnapshotTesting Exports.swift
[976/977] Emitting module InlineSnapshotTesting
[977/977] Compiling InlineSnapshotTesting AssertInlineSnapshot.swift
[979/986] Compiling TestHelpers WithMainSerialExecutor+Windows.swift
[980/986] Compiling TestHelpers AsyncSequence.swift
[981/986] Compiling TestHelpers InMemoryLocalStorage.swift
[982/986] 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(
[983/986] Compiling TestHelpers Exports.swift
[984/986] Compiling TestHelpers HTTPClientMock.swift
[985/986] Emitting module TestHelpers
[986/986] Compiling TestHelpers URLRequestSnapshot.swift
Build complete! (481.99s)
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.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Done.