Build Information
Successful build of Supabase, reference v2.27.0 (687705
), with Swift 6.0 for Linux on 2 May 2025 13:10:36 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
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) {
[456/696] Compiling Realtime RealtimeChannel.swift
/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/RealtimeChannel.swift:1007:11: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1005 |
1006 | // ----------------------------------------------------------------------
1007 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1008 | /// - return: True if the RealtimeChannel has been closed
1009 | public var isClosed: Bool {
/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:381:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
379 | var accessTokenPayload: Payload = [:]
380 | var config: Payload = [
381 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 | ]
383 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:408:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
406 | }
407 |
408 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
409 | let bindingsCount = clientPostgresBindings.count
410 | var newPostgresBindings: [Binding] = []
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:446:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
444 |
445 | self.bindings.withValue { [newPostgresBindings] in
446 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
447 | }
448 | callback?(.subscribed, nil)
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
39 | public var event: String?
40 | public var schema: String?
:
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
648 | )
649 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:81: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
648 | )
649 | }
/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:919:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
917 |
918 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
919 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
920 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
921 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:923:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
921 | }
922 | } else {
923 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
924 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
925 | let bindEvent = bind.filter["event"]?.lowercased()
<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:1009:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1007 |
1008 | // ----------------------------------------------------------------------
1009 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1010 | public enum CloseCode: Int {
1011 | case abnormal = 999
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1024:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1022 |
1023 | // ----------------------------------------------------------------------
1024 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1025 | /// Indicates the different closure states a socket can be in.
1026 | enum CloseStatus {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:369:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
367 | // Since the connection's delegate was nil'd out, inform all state
368 | // callbacks that the connection has closed
369 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
370 | callback?()
371 | }
/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:410:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 | }
412 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:410:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 | }
412 | }
/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:453:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:453:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/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:488:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | }
490 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:488:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | }
490 | }
/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:531:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 | }
533 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:531:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 | }
533 | }
/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:551:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
552 | }
553 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:551:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
552 | }
553 | }
/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:575:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | }
577 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:575:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | }
577 | }
/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:596:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
597 | }
598 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:596:24: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
597 | }
598 | }
/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:620:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
621 | }
622 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:620:29: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
621 | }
622 | }
/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:789:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
787 |
788 | // Inform all onOpen callbacks that the Socket has opened
789 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
790 | }
791 |
/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:807:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
805 | }
806 |
807 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
808 | }
809 |
/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:817:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
815 |
816 | // Inform any state callbacks of the error
817 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
818 | }
819 |
/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:845:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
843 |
844 | // Inform all onMessage callbacks of the message
845 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
846 | }
847 |
/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 |
[457/696] Compiling Realtime RealtimeClient.swift
/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/RealtimeChannel.swift:1007:11: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1005 |
1006 | // ----------------------------------------------------------------------
1007 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1008 | /// - return: True if the RealtimeChannel has been closed
1009 | public var isClosed: Bool {
/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:381:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
379 | var accessTokenPayload: Payload = [:]
380 | var config: Payload = [
381 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 | ]
383 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:408:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
406 | }
407 |
408 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
409 | let bindingsCount = clientPostgresBindings.count
410 | var newPostgresBindings: [Binding] = []
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:446:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
444 |
445 | self.bindings.withValue { [newPostgresBindings] in
446 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
447 | }
448 | callback?(.subscribed, nil)
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
39 | public var event: String?
40 | public var schema: String?
:
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
648 | )
649 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:81: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
648 | )
649 | }
/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:919:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
917 |
918 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
919 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
920 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
921 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:923:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
921 | }
922 | } else {
923 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
924 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
925 | let bindEvent = bind.filter["event"]?.lowercased()
<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:1009:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1007 |
1008 | // ----------------------------------------------------------------------
1009 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1010 | public enum CloseCode: Int {
1011 | case abnormal = 999
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1024:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1022 |
1023 | // ----------------------------------------------------------------------
1024 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1025 | /// Indicates the different closure states a socket can be in.
1026 | enum CloseStatus {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:369:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
367 | // Since the connection's delegate was nil'd out, inform all state
368 | // callbacks that the connection has closed
369 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
370 | callback?()
371 | }
/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:410:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 | }
412 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:410:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 | }
412 | }
/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:453:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:453:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/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:488:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | }
490 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:488:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | }
490 | }
/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:531:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 | }
533 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:531:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 | }
533 | }
/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:551:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
552 | }
553 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:551:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
552 | }
553 | }
/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:575:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | }
577 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:575:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | }
577 | }
/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:596:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
597 | }
598 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:596:24: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
597 | }
598 | }
/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:620:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
621 | }
622 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:620:29: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
621 | }
622 | }
/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:789:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
787 |
788 | // Inform all onOpen callbacks that the Socket has opened
789 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
790 | }
791 |
/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:807:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
805 | }
806 |
807 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
808 | }
809 |
/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:817:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
815 |
816 | // Inform any state callbacks of the error
817 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
818 | }
819 |
/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:845:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
843 |
844 | // Inform all onMessage callbacks of the message
845 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
846 | }
847 |
/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 |
[458/696] Compiling Realtime RealtimeMessage.swift
/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/RealtimeChannel.swift:1007:11: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1005 |
1006 | // ----------------------------------------------------------------------
1007 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1008 | /// - return: True if the RealtimeChannel has been closed
1009 | public var isClosed: Bool {
/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:381:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
379 | var accessTokenPayload: Payload = [:]
380 | var config: Payload = [
381 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 | ]
383 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:408:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
406 | }
407 |
408 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
409 | let bindingsCount = clientPostgresBindings.count
410 | var newPostgresBindings: [Binding] = []
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:446:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
444 |
445 | self.bindings.withValue { [newPostgresBindings] in
446 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
447 | }
448 | callback?(.subscribed, nil)
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
39 | public var event: String?
40 | public var schema: String?
:
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
648 | )
649 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:81: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
648 | )
649 | }
/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:919:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
917 |
918 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
919 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
920 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
921 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:923:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
921 | }
922 | } else {
923 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
924 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
925 | let bindEvent = bind.filter["event"]?.lowercased()
<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:1009:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1007 |
1008 | // ----------------------------------------------------------------------
1009 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1010 | public enum CloseCode: Int {
1011 | case abnormal = 999
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1024:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1022 |
1023 | // ----------------------------------------------------------------------
1024 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1025 | /// Indicates the different closure states a socket can be in.
1026 | enum CloseStatus {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:369:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
367 | // Since the connection's delegate was nil'd out, inform all state
368 | // callbacks that the connection has closed
369 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
370 | callback?()
371 | }
/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:410:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 | }
412 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:410:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 | }
412 | }
/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:453:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:453:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/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:488:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | }
490 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:488:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | }
490 | }
/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:531:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 | }
533 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:531:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 | }
533 | }
/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:551:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
552 | }
553 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:551:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
552 | }
553 | }
/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:575:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | }
577 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:575:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | }
577 | }
/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:596:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
597 | }
598 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:596:24: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
597 | }
598 | }
/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:620:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
621 | }
622 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:620:29: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
621 | }
622 | }
/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:789:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
787 |
788 | // Inform all onOpen callbacks that the Socket has opened
789 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
790 | }
791 |
/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:807:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
805 | }
806 |
807 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
808 | }
809 |
/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:817:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
815 |
816 | // Inform any state callbacks of the error
817 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
818 | }
819 |
/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:845:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
843 |
844 | // Inform all onMessage callbacks of the message
845 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
846 | }
847 |
/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 |
[459/696] Compiling Realtime TimeoutTimer.swift
/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/RealtimeChannel.swift:1007:11: warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1005 |
1006 | // ----------------------------------------------------------------------
1007 | extension RealtimeChannel {
| `- warning: 'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1008 | /// - return: True if the RealtimeChannel has been closed
1009 | public var isClosed: Bool {
/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:381:36: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
379 | var accessTokenPayload: Payload = [:]
380 | var config: Payload = [
381 | "postgres_changes": bindings.value["postgres_changes"]?.map(\.filter) ?? [],
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 | ]
383 |
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:408:52: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
406 | }
407 |
408 | let clientPostgresBindings = self.bindings.value["postgres_changes"] ?? []
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
409 | let bindingsCount = clientPostgresBindings.count
410 | var newPostgresBindings: [Binding] = []
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:446:36: warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
444 |
445 | self.bindings.withValue { [newPostgresBindings] in
446 | $0["postgres_changes"] = newPostgresBindings
| `- warning: capture of 'newPostgresBindings' with non-sendable type '[Binding]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
447 | }
448 | callback?(.subscribed, nil)
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:50: warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct ChannelFilter {
| `- note: consider making struct 'ChannelFilter' conform to the 'Sendable' protocol
39 | public var event: String?
40 | public var schema: String?
:
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'filter' with non-sendable type 'ChannelFilter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
648 | )
649 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:647:81: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
645 | bindings.withValue {
646 | $0[type.lowercased(), default: []].append(
647 | Binding(type: type.lowercased(), filter: filter.asDictionary, callback: delegated, id: nil)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
648 | )
649 | }
/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:919:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
917 |
918 | let bindings: [Binding] = if ["insert", "update", "delete"].contains(typeLower) {
919 | self.bindings.value["postgres_changes", default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
920 | bind.filter["event"] == "*" || bind.filter["event"] == typeLower
921 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeChannel.swift:923:21: warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 |
27 | /// Container class of bindings to the channel
28 | struct Binding {
| `- note: consider making struct 'Binding' conform to the 'Sendable' protocol
29 | let type: String
30 | let filter: [String: String]
:
921 | }
922 | } else {
923 | self.bindings.value[typeLower, default: []].filter { bind in
| `- warning: type 'Binding' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
924 | if ["broadcast", "presence", "postgres_changes"].contains(typeLower) {
925 | let bindEvent = bind.filter["event"]?.lowercased()
<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:1009:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1007 |
1008 | // ----------------------------------------------------------------------
1009 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1010 | public enum CloseCode: Int {
1011 | case abnormal = 999
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:1024:11: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1022 |
1023 | // ----------------------------------------------------------------------
1024 | extension RealtimeClient {
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
1025 | /// Indicates the different closure states a socket can be in.
1026 | enum CloseStatus {
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:369:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
367 | // Since the connection's delegate was nil'd out, inform all state
368 | // callbacks that the connection has closed
369 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code.rawValue, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
370 | callback?()
371 | }
/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:410:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 | }
412 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:410:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
408 |
409 | return stateChangeCallbacks.open.withValue { [delegated] in
410 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 | }
412 | }
/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:453:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:453:29: warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
451 |
452 | return stateChangeCallbacks.open.withValue { [delegated] in
453 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<URLResponse?, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/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:488:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | }
490 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:488:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |
487 | return stateChangeCallbacks.close.withValue { [delegated] in
488 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | }
490 | }
/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:531:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 | }
533 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:531:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
529 |
530 | return stateChangeCallbacks.close.withValue { [delegated] in
531 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(Int, String?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 | }
533 | }
/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:551:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
552 | }
553 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:551:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
549 |
550 | return stateChangeCallbacks.error.withValue { [delegated] in
551 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
552 | }
553 | }
/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:575:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | }
577 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:575:29: warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
573 |
574 | return stateChangeCallbacks.error.withValue { [delegated] in
575 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<(any Error, URLResponse?), Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | }
577 | }
/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:596:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
597 | }
598 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:596:24: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
594 |
595 | return stateChangeCallbacks.message.withValue { [delegated] in
596 | append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
597 | }
598 | }
/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:620:7: warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
64 | message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65 | )
66 | public class RealtimeClient: PhoenixTransportDelegate {
| `- note: class 'RealtimeClient' does not conform to the 'Sendable' protocol
67 | // ----------------------------------------------------------------------
68 |
:
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'self' with non-sendable type 'RealtimeClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
621 | }
622 | }
/host/spi-builder-workspace/Sources/Realtime/Deprecated/RealtimeClient.swift:620:29: warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
618 |
619 | return stateChangeCallbacks.message.withValue { [delegated] in
620 | self.append(callback: delegated, to: &$0)
| `- warning: capture of 'delegated' with non-sendable type 'Delegated<RealtimeMessage, Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
621 | }
622 | }
/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:789:31: warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
787 |
788 | // Inform all onOpen callbacks that the Socket has opened
789 | stateChangeCallbacks.open.value.forEach { $0.callback.call(response) }
| `- warning: type 'Delegated<URLResponse?, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
790 | }
791 |
/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:807:32: warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
805 | }
806 |
807 | stateChangeCallbacks.close.value.forEach { $0.callback.call((code, reason)) }
| `- warning: type 'Delegated<(Int, String?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
808 | }
809 |
/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:817:32: warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
815 |
816 | // Inform any state callbacks of the error
817 | stateChangeCallbacks.error.value.forEach { $0.callback.call((error, response)) }
| `- warning: type 'Delegated<(any Error, URLResponse?), Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
818 | }
819 |
/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:845:34: warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
843 |
844 | // Inform all onMessage callbacks of the message
845 | stateChangeCallbacks.message.value.forEach { $0.callback.call(message) }
| `- warning: type 'Delegated<RealtimeMessage, Void>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
846 | }
847 |
/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 |
[460/697] Compiling v3_pmaps.cc
[461/697] Compiling x509.cc
[462/697] Compiling v3_skey.cc
[463/697] Compiling v3_int.cc
[464/697] Compiling v3_ia5.cc
[465/697] Compiling v3_ocsp.cc
[466/697] Compiling v3_genn.cc
[467/697] Compiling v3_pcons.cc
[468/697] Compiling v3_enum.cc
[470/697] Emitting module SwiftSyntax
[470/697] Compiling v3_lib.cc
[471/697] Compiling v3_ncons.cc
[472/697] Compiling v3_crld.cc
[473/697] Compiling v3_info.cc
[474/697] Compiling v3_bitst.cc
[475/697] Compiling v3_alt.cc
[476/697] Compiling v3_extku.cc
[477/697] Compiling v3_akey.cc
[478/697] Compiling v3_cpols.cc
[479/697] Compiling v3_conf.cc
[480/697] Compiling t_x509.cc
[481/697] Compiling v3_bcons.cc
[482/697] Compiling v3_akeya.cc
[483/697] Compiling name_print.cc
[484/697] Compiling t_x509a.cc
[485/697] Compiling t_crl.cc
[486/697] Compiling t_req.cc
[487/697] Compiling asn1_gen.cc
[488/697] Compiling i2d_pr.cc
[489/697] Compiling policy.cc
[490/697] Compiling rsa_pss.cc
[491/697] Compiling a_verify.cc
[492/697] Compiling by_file.cc
[493/697] Compiling a_digest.cc
[494/697] Compiling by_dir.cc
[495/697] Compiling thread_win.cc
[496/697] Compiling algorithm.cc
[497/697] Compiling thread_pthread.cc
[498/697] Compiling voprf.cc
[499/697] Compiling trust_token.cc
[500/697] Compiling stack.cc
[501/697] Compiling a_sign.cc
[502/697] Compiling thread_none.cc
[503/697] Compiling thread.cc
[504/697] Compiling pmbtoken.cc
[505/697] Compiling sha512.cc
[506/697] Compiling wots.cc
[507/697] Compiling thash.cc
[508/697] Compiling merkle.cc
[509/697] Compiling slhdsa.cc
[510/697] Compiling fors.cc
[511/697] Compiling siphash.cc
[512/697] Compiling rsa_print.cc
[513/697] Compiling sha256.cc
[514/697] Compiling sha1.cc
[515/697] Compiling refcount.cc
[516/697] Compiling rsa_asn1.cc
[517/697] Compiling rsa_extra.cc
[518/697] Compiling trusty.cc
[519/697] Compiling passive.cc
[520/697] Compiling urandom.cc
[521/697] Compiling rsa_crypt.cc
[522/697] Compiling rc4.cc
[523/697] Compiling windows.cc
[524/697] Compiling rand_extra.cc
[525/697] Compiling ios.cc
[526/697] Compiling poly1305_arm_asm.S
[527/697] Compiling pool.cc
[528/697] Compiling getentropy.cc
[529/697] Compiling deterministic.cc
[530/697] Compiling fork_detect.cc
[531/697] Compiling forkunsafe.cc
[532/697] Compiling poly1305.cc
[533/697] Compiling poly1305_arm.cc
[534/697] Compiling poly1305_vec.cc
[535/697] Compiling pkcs8_x509.cc
[536/697] Compiling pkcs7.cc
[537/697] Compiling pem_xaux.cc
[538/697] Compiling pem_pk8.cc
[539/697] Compiling pem_x509.cc
[540/697] Compiling pkcs8.cc
[541/697] Compiling p5_pbev2.cc
[542/697] Compiling obj_xref.cc
[543/697] Compiling pkcs7_x509.cc
[544/697] Compiling pem_info.cc
[545/697] Compiling pem_pkey.cc
[546/697] Compiling pem_lib.cc
[547/697] Compiling obj.cc
[548/697] Compiling mem.cc
[549/697] Compiling md5.cc
[550/697] Compiling mldsa.cc
[551/697] Compiling pem_oth.cc
[552/697] Compiling poly_rq_mul.S
[553/697] Compiling lhash.cc
[554/697] Compiling fips_shared_support.cc
[555/697] Compiling kyber.cc
[556/697] Compiling mlkem.cc
[557/697] Compiling pem_all.cc
[558/697] Compiling md4.cc
[559/697] Compiling ex_data.cc
[560/697] Compiling hpke.cc
[561/697] Compiling sign.cc
[562/697] Compiling hrss.cc
[563/697] Compiling scrypt.cc
[564/697] Compiling pbkdf.cc
[565/697] Compiling p_x25519_asn1.cc
[566/697] Compiling print.cc
[567/697] Compiling p_x25519.cc
[568/697] Compiling p_ed25519.cc
[569/697] Compiling p_rsa_asn1.cc
[570/697] Compiling p_rsa.cc
[571/697] Compiling p_hkdf.cc
[572/697] Compiling err.cc
[573/697] Compiling p_ed25519_asn1.cc
[574/697] Compiling evp.cc
[575/697] Compiling hash_to_curve.cc
[576/697] Compiling engine.cc
[577/697] Compiling ecdsa_asn1.cc
[578/697] Compiling ecdh_extra.cc
[579/697] Compiling ec_derive.cc
[580/697] Compiling ec_asn1.cc
[581/697] Compiling dsa_asn1.cc
[582/697] Compiling dsa.cc
[583/697] Compiling digest_extra.cc
[584/697] Compiling spake25519.cc
[585/697] Compiling x25519-asm-arm.S
[586/697] Compiling curve25519.cc
[587/697] Compiling params.cc
[588/697] Compiling bcm.cc
[589/697] Compiling des.cc
[590/697] Compiling crypto.cc
[591/697] Compiling curve25519_64_adx.cc
[592/697] Compiling dh_asn1.cc
[593/697] Compiling cpu_arm_linux.cc
[594/697] Compiling cpu_arm_freebsd.cc
[595/697] Compiling cpu_aarch64_win.cc
[596/697] Compiling cpu_aarch64_fuchsia.cc
[597/697] Compiling cpu_aarch64_openbsd.cc
[598/697] Compiling cpu_intel.cc
[599/697] Compiling cpu_aarch64_apple.cc
[600/697] Compiling conf.cc
[601/697] Compiling cpu_aarch64_sysreg.cc
[602/697] Compiling tls_cbc.cc
[603/697] Compiling cpu_aarch64_linux.cc
[604/697] Compiling e_tls.cc
[605/697] Compiling e_rc4.cc
[606/697] Compiling e_aesctrhmac.cc
[607/697] Compiling e_des.cc
[608/697] Compiling e_chacha20poly1305.cc
[609/697] Compiling e_rc2.cc
[610/697] Compiling e_aesgcmsiv.cc
[611/697] Compiling e_null.cc
[612/697] Compiling chacha.cc
[613/697] Compiling cipher_extra.cc
[614/697] Compiling derive_key.cc
[615/697] Compiling ber.cc
[616/697] Compiling unicode.cc
[617/697] Compiling cbs.cc
[618/697] Compiling cbb.cc
[619/697] Compiling convert.cc
[620/697] Compiling asn1_compat.cc
[621/697] Compiling bn_asn1.cc
[622/697] Compiling blake2.cc
[623/697] Compiling buf.cc
[624/697] Compiling printf.cc
[625/697] Compiling hexdump.cc
[626/697] Compiling pair.cc
[627/697] Compiling file.cc
[628/697] Compiling bio_mem.cc
[629/697] Compiling base64.cc
[630/697] Compiling tasn_typ.cc
[631/697] Compiling fd.cc
[632/697] Compiling errno.cc
[633/697] Compiling bio.cc
[634/697] Compiling tasn_utl.cc
[635/697] Compiling tasn_fre.cc
[636/697] Compiling tasn_new.cc
[637/697] Compiling tasn_enc.cc
[638/697] Compiling f_int.cc
[639/697] Compiling posix_time.cc
[640/697] Compiling f_string.cc
[641/697] Compiling tasn_dec.cc
[642/697] Compiling asn1_par.cc
[643/697] Compiling asn_pack.cc
[644/697] Compiling a_utctm.cc
[645/697] Compiling asn1_lib.cc
[646/697] Compiling a_type.cc
[647/697] Compiling a_octet.cc
[648/697] Compiling a_strex.cc
[649/697] Compiling a_time.cc
[650/697] Compiling a_strnid.cc
[651/697] Compiling a_int.cc
[652/697] Compiling a_gentm.cc
[653/697] Compiling a_mbstr.cc
[653/697] Write sources
[655/697] Compiling a_i2d_fp.cc
[656/697] Compiling a_object.cc
[657/697] Compiling a_bitstr.cc
[658/697] Compiling a_bool.cc
[659/697] Compiling a_d2i_fp.cc
[660/697] Compiling a_dup.cc
[662/705] Compiling SwiftSyntax SyntaxEnum.swift
[663/705] Compiling SwiftSyntax SyntaxKind.swift
[664/705] Compiling SwiftSyntax SyntaxRewriter.swift
[665/705] Compiling SwiftSyntax SyntaxTraits.swift
[666/705] Compiling SwiftSyntax SyntaxVisitor.swift
[667/705] Compiling SwiftSyntax TokenKind.swift
[668/705] Compiling SwiftSyntax Tokens.swift
[669/705] Compiling SwiftSyntax TriviaPieces.swift
[670/705] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[671/705] Compiling SwiftSyntax RawSyntaxNodesC.swift
[672/705] Compiling SwiftSyntax RawSyntaxNodesD.swift
[673/705] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[674/705] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[675/705] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[676/705] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[677/705] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[678/705] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[679/705] Compiling SwiftSyntax RawSyntaxValidation.swift
[680/705] Emitting module CryptoBoringWrapper
[681/705] Compiling CryptoBoringWrapper RandomBytes.swift
[682/705] Compiling CryptoBoringWrapper EllipticCurve.swift
[683/705] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[684/705] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[685/705] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[686/705] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[687/705] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[689/777] Emitting module Crypto
[690/786] Compiling Crypto AES-GCM.swift
[691/786] Compiling Crypto AES-GCM_boring.swift
[692/786] Compiling Crypto ChaChaPoly_boring.swift
[693/786] Compiling Crypto ChaChaPoly.swift
[694/786] Compiling Crypto Cipher.swift
[695/786] Compiling Crypto Nonces.swift
[696/786] Compiling Crypto ASN1.swift
[697/786] Compiling Crypto ASN1Any.swift
[698/786] Compiling Crypto ASN1BitString.swift
[699/786] Compiling Crypto ASN1Boolean.swift
[700/786] Compiling Crypto HPKE.swift
[701/786] Compiling Crypto HPKE-Context.swift
[702/786] Compiling Crypto HPKE-KeySchedule.swift
[703/786] Compiling Crypto HPKE-Modes.swift
[704/786] Compiling Crypto Insecure.swift
[705/786] Compiling Crypto Insecure_HashFunctions.swift
[706/786] Compiling Crypto KEM.swift
[707/786] Compiling Crypto ECDH_boring.swift
[708/786] Compiling Crypto DH.swift
[709/786] Compiling Crypto ECDH.swift
[710/786] Compiling Crypto HPKE-Ciphersuite.swift
[711/786] Compiling Crypto HPKE-KDF.swift
[712/786] Compiling Crypto HPKE-KexKeyDerivation.swift
[713/786] Compiling Crypto HPKE-LabeledExtract.swift
[714/786] Compiling Crypto HPKE-Utils.swift
[715/786] Compiling Crypto DHKEM.swift
[716/786] Compiling Crypto HPKE-KEM-Curve25519.swift
[717/786] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[718/786] Compiling Crypto HPKE-KEM.swift
[719/786] Compiling Crypto HPKE-Errors.swift
[720/786] Compiling Crypto PKCS8PrivateKey.swift
[721/786] Compiling Crypto SEC1PrivateKey.swift
[722/786] Compiling Crypto SubjectPublicKeyInfo.swift
[723/786] Compiling Crypto CryptoKitErrors.swift
[724/786] Compiling Crypto Digest_boring.swift
[725/786] Compiling Crypto Digest.swift
[726/786] Compiling Crypto Digests.swift
[727/786] Compiling Crypto HashFunctions.swift
[728/786] Compiling Crypto HashFunctions_SHA2.swift
[729/786] Compiling Crypto HPKE-AEAD.swift
[730/786] Compiling Crypto HKDF.swift
[731/786] Compiling Crypto AESWrap.swift
[732/786] Compiling Crypto AESWrap_boring.swift
[733/786] Compiling Crypto Ed25519_boring.swift
[734/786] Compiling Crypto NISTCurvesKeys_boring.swift
[735/786] Compiling Crypto X25519Keys_boring.swift
[736/786] Compiling Crypto Curve25519.swift
[737/786] Compiling Crypto Ed25519Keys.swift
[738/786] Compiling Crypto NISTCurvesKeys.swift
[739/786] Compiling Crypto X25519Keys.swift
[740/786] Compiling Crypto SymmetricKeys.swift
[741/786] Compiling Crypto HMAC.swift
[742/786] Compiling Crypto MACFunctions.swift
[743/786] Compiling Crypto MessageAuthenticationCode.swift
[744/786] Compiling Crypto AES.swift
[745/786] Compiling Crypto ECDSASignature_boring.swift
[746/786] Compiling Crypto ECDSA_boring.swift
[747/786] Compiling Crypto EdDSA_boring.swift
[748/786] Compiling Crypto ECDSA.swift
[749/786] Compiling Crypto Ed25519.swift
[750/786] Compiling Crypto ASN1Identifier.swift
[751/786] Compiling Crypto ASN1Integer.swift
[752/786] Compiling Crypto ASN1Null.swift
[753/786] Compiling Crypto ASN1OctetString.swift
[754/786] Compiling Crypto ASN1Strings.swift
[755/786] Compiling Crypto ArraySliceBigint.swift
[756/786] Compiling Crypto GeneralizedTime.swift
[757/786] Compiling Crypto ObjectIdentifier.swift
[758/786] Compiling Crypto ECDSASignature.swift
[759/786] Compiling Crypto PEMDocument.swift
[760/786] Compiling Crypto Signature.swift
[761/786] Compiling Crypto CryptoKitErrors_boring.swift
[762/786] Compiling Crypto RNG_boring.swift
[763/786] Compiling Crypto SafeCompare_boring.swift
[764/786] Compiling Crypto Zeroization_boring.swift
[765/786] Compiling Crypto PrettyBytes.swift
[766/786] Compiling Crypto SafeCompare.swift
[767/786] Compiling Crypto SecureBytes.swift
[768/786] Compiling Crypto Zeroization.swift
[770/809] Compiling Auth EventEmitter.swift
[771/809] Compiling Auth FixedWidthInteger+Random.swift
[772/809] Compiling Auth Helpers.swift
[773/812] Compiling Auth SessionStorage.swift
[774/812] Compiling Auth URLOpener.swift
[775/812] Compiling Auth AuthLocalStorage.swift
[776/812] Emitting module Auth
[777/812] Compiling Auth Keychain.swift
/host/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:89:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
87 | ],
88 | body: configuration.encoder.encode(
89 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
90 | )
91 | )
[778/812] Compiling Auth PKCE.swift
/host/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:89:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
87 | ],
88 | body: configuration.encoder.encode(
89 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
90 | )
91 | )
[779/812] Compiling Auth SessionManager.swift
/host/spi-builder-workspace/Sources/Auth/Internal/SessionManager.swift:89:17: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
87 | ],
88 | body: configuration.encoder.encode(
89 | UserCredentials(refreshToken: refreshToken)
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
90 | )
91 | )
[780/812] Compiling Auth Defaults.swift
[781/812] Compiling Auth Deprecated.swift
[782/812] Compiling Auth APIClient.swift
[783/812] Compiling Auth AuthError.swift
[784/812] Compiling Auth AuthMFA.swift
[785/812] Compiling Auth AuthStateChangeListener.swift
[786/812] Compiling Auth CodeVerifierStorage.swift
[787/812] Compiling Auth Constants.swift
[788/812] Compiling Auth Dependencies.swift
[789/812] Compiling Auth AuthAdmin.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:343:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
341 | query: [URLQueryItem(name: "grant_type", value: "password")],
342 | body: configuration.encoder.encode(
343 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
344 | email: email,
345 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:370:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
368 | query: [URLQueryItem(name: "grant_type", value: "password")],
369 | body: configuration.encoder.encode(
370 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
371 | password: password,
372 | phone: phone,
[790/812] Compiling Auth AuthClient.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:343:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
341 | query: [URLQueryItem(name: "grant_type", value: "password")],
342 | body: configuration.encoder.encode(
343 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
344 | email: email,
345 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:370:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
368 | query: [URLQueryItem(name: "grant_type", value: "password")],
369 | body: configuration.encoder.encode(
370 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
371 | password: password,
372 | phone: phone,
[791/812] Compiling Auth AuthClientConfiguration.swift
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:343:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
341 | query: [URLQueryItem(name: "grant_type", value: "password")],
342 | body: configuration.encoder.encode(
343 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
344 | email: email,
345 | password: password,
/host/spi-builder-workspace/Sources/Auth/AuthClient.swift:370:11: warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
368 | query: [URLQueryItem(name: "grant_type", value: "password")],
369 | body: configuration.encoder.encode(
370 | UserCredentials(
| `- warning: 'UserCredentials' is deprecated: Access to UserCredentials will be removed on the next major release.
371 | password: password,
372 | phone: phone,
[801/812] Compiling Auth KeychainLocalStorage.swift
/host/spi-builder-workspace/Sources/Auth/Types.swift:505:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
503 | self.password = password
504 | self.nonce = nonce
505 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
506 | self.data = data
507 | }
[802/812] Compiling Auth WinCredLocalStorage.swift
/host/spi-builder-workspace/Sources/Auth/Types.swift:505:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
503 | self.password = password
504 | self.nonce = nonce
505 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
506 | self.data = data
507 | }
[803/812] Compiling Auth Types.swift
/host/spi-builder-workspace/Sources/Auth/Types.swift:505:10: warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
503 | self.password = password
504 | self.nonce = nonce
505 | self.emailChangeToken = emailChangeToken
| `- warning: 'emailChangeToken' is deprecated: This is an old field, stop relying on it.
506 | self.data = data
507 | }
[805/817] Compiling Supabase Types.swift
[806/817] Compiling Supabase Deprecated.swift
[807/817] Emitting module Supabase
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:81:36: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
79 | }
80 |
81 | let _realtime: UncheckedSendable<RealtimeClient>
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
82 |
83 | /// Realtime client for Supabase
[808/817] Compiling Supabase SupabaseClient.swift
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:81:36: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
79 | }
80 |
81 | let _realtime: UncheckedSendable<RealtimeClient>
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
82 |
83 | /// Realtime client for Supabase
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:194:7: warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
192 |
193 | _realtime = UncheckedSendable(
194 | RealtimeClient(
| `- warning: 'RealtimeClient' is deprecated: Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
195 | supabaseURL.appendingPathComponent("/realtime/v1").absoluteString,
196 | headers: _headers.dictionary,
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:253:22: warning: 'subscriptions' is deprecated: renamed to 'channels'
251 | /// Returns all Realtime channels.
252 | public var channels: [RealtimeChannelV2] {
253 | Array(realtimeV2.subscriptions.values)
| |- warning: 'subscriptions' is deprecated: renamed to 'channels'
| `- note: use 'channels' instead
254 | }
255 |
/host/spi-builder-workspace/Sources/Supabase/SupabaseClient.swift:396:5: warning: 'realtime' is deprecated: Use realtimeV2
394 | }
395 |
396 | realtime.setAuth(accessToken)
| `- warning: 'realtime' is deprecated: Use realtimeV2
397 | await realtimeV2.setAuth(accessToken)
398 | }
[820/877] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[821/878] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[822/878] Compiling SwiftDiagnostics Message.swift
[823/878] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[824/878] Compiling SwiftParser CharacterInfo.swift
[825/878] Compiling SwiftParser CollectionNodes+Parsable.swift
[826/878] Emitting module SwiftDiagnostics
[827/878] Compiling SwiftParser Attributes.swift
[828/878] Compiling SwiftParser Availability.swift
[829/878] Compiling SwiftBasicFormat Syntax+Extensions.swift
[830/878] Compiling SwiftDiagnostics Note.swift
[831/878] Emitting module SwiftBasicFormat
[832/878] Compiling SwiftDiagnostics FixIt.swift
[833/878] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[834/878] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[835/879] Compiling SwiftBasicFormat InferIndentation.swift
[836/879] Compiling SwiftBasicFormat Indenter.swift
[838/879] Compiling SwiftBasicFormat BasicFormat.swift
[839/880] Emitting module SwiftParser
[841/885] Compiling SwiftParser TokenSpec.swift
[842/885] Compiling SwiftParser TokenSpecSet.swift
[843/885] Compiling SwiftParser TopLevel.swift
[844/885] Compiling SwiftParser TriviaParser.swift
[845/885] Compiling SwiftParser Types.swift
[846/885] Compiling SwiftParser Patterns.swift
[847/885] Compiling SwiftParser Recovery.swift
[848/885] Compiling SwiftParser Specifiers.swift
[849/885] Compiling SwiftParser Statements.swift
[850/885] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[851/885] Compiling SwiftParser StringLiterals.swift
[852/885] Compiling SwiftParser SwiftParserCompatibility.swift
[853/885] Compiling SwiftParser SwiftVersion.swift
[854/885] Compiling SwiftParser SyntaxUtils.swift
[855/885] Compiling SwiftParser TokenConsumer.swift
[856/885] Compiling SwiftParser TokenPrecedence.swift
[857/885] Compiling SwiftParser LexemeSequence.swift
[858/885] Compiling SwiftParser Lexer.swift
[859/885] Compiling SwiftParser RegexLiteralLexer.swift
[860/885] Compiling SwiftParser UnicodeScalarExtensions.swift
[861/885] Compiling SwiftParser Lookahead.swift
[862/885] Compiling SwiftParser LoopProgressCondition.swift
[863/885] Compiling SwiftParser Modifiers.swift
[864/885] Compiling SwiftParser Names.swift
[865/885] Compiling SwiftParser Nominals.swift
[866/885] Compiling SwiftParser Parameters.swift
[867/885] Compiling SwiftParser ParseSourceFile.swift
[868/885] Compiling SwiftParser Parser.swift
[873/885] Compiling SwiftParser Declarations.swift
[874/885] Compiling SwiftParser Directives.swift
[875/885] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[876/885] Compiling SwiftParser Expressions.swift
[877/885] Compiling SwiftParser IncrementalParseTransition.swift
[878/885] Compiling SwiftParser IsValidIdentifier.swift
[879/885] Compiling SwiftParser Cursor.swift
[880/885] Compiling SwiftParser Lexeme.swift
[881/885] Compiling SwiftParser ExperimentalFeatures.swift
[882/885] Compiling SwiftParser IsLexerClassified.swift
[883/885] Compiling SwiftParser LayoutNodes+Parsable.swift
[884/885] Compiling SwiftParser Parser+TokenSpecSet.swift
[885/885] Compiling SwiftParser TokenSpecStaticMembers.swift
[887/899] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[888/899] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[889/900] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[890/900] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[891/900] Compiling SwiftParserDiagnostics Utils.swift
[892/900] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[893/900] Compiling SwiftParserDiagnostics PresenceUtils.swift
[894/900] Compiling SwiftParserDiagnostics MissingNodesError.swift
[895/900] Compiling SwiftParserDiagnostics MissingTokenError.swift
[896/900] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[897/900] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[898/900] Emitting module SwiftParserDiagnostics
[899/900] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[900/900] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[902/916] Compiling SwiftSyntaxBuilder Indenter.swift
[903/916] Compiling SwiftSyntaxBuilder ListBuilder.swift
[904/917] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[905/917] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[906/917] Emitting module SwiftSyntaxBuilder
[907/917] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[908/917] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[909/917] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[910/917] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[911/917] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[912/917] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[913/917] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[914/917] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[915/917] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[916/917] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[917/917] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[919/921] Compiling InlineSnapshotTesting Exports.swift
[920/921] Emitting module InlineSnapshotTesting
[921/921] Compiling InlineSnapshotTesting AssertInlineSnapshot.swift
[923/929] Compiling TestHelpers AsyncSequence.swift
[924/929] Emitting module TestHelpers
[925/929] Compiling TestHelpers WithMainSerialExecutor+Windows.swift
[926/929] Compiling TestHelpers InMemoryLocalStorage.swift
[927/929] Compiling TestHelpers HTTPClientMock.swift
[928/929] Compiling TestHelpers URLRequestSnapshot.swift
[929/929] 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(
Build complete! (224.50s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types.git"
},
{
"identity" : "swift-clocks",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-clocks"
},
{
"identity" : "swift-concurrency-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-concurrency-extras"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.17.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
},
{
"identity" : "mocker",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/WeTransfer/Mocker"
}
],
"manifest_display_name" : "Supabase",
"name" : "Supabase",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Auth",
"targets" : [
"Auth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Functions",
"targets" : [
"Functions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PostgREST",
"targets" : [
"PostgREST"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Realtime",
"targets" : [
"Realtime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Storage",
"targets" : [
"Storage"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Supabase",
"targets" : [
"Supabase",
"Functions",
"PostgREST",
"Auth",
"Realtime",
"Storage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestHelpers",
"module_type" : "SwiftTarget",
"name" : "TestHelpers",
"path" : "Sources/TestHelpers",
"product_dependencies" : [
"ConcurrencyExtras",
"InlineSnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"sources" : [
"AsyncSequence.swift",
"HTTPClientMock.swift",
"InMemoryLocalStorage.swift",
"MockExtensions.swift",
"URLRequestSnapshot.swift",
"WithMainSerialExecutor+Windows.swift"
],
"target_dependencies" : [
"Auth"
],
"type" : "library"
},
{
"c99name" : "SupabaseTests",
"module_type" : "SwiftTarget",
"name" : "SupabaseTests",
"path" : "Tests/SupabaseTests",
"product_dependencies" : [
"CustomDump"
],
"sources" : [
"SupabaseClientTests.swift"
],
"target_dependencies" : [
"Supabase"
],
"type" : "test"
},
{
"c99name" : "Supabase",
"module_type" : "SwiftTarget",
"name" : "Supabase",
"path" : "Sources/Supabase",
"product_dependencies" : [
"ConcurrencyExtras",
"IssueReporting"
],
"product_memberships" : [
"Supabase"
],
"sources" : [
"Deprecated.swift",
"SupabaseClient.swift",
"Types.swift"
],
"target_dependencies" : [
"Auth",
"Functions",
"PostgREST",
"Realtime",
"Storage"
],
"type" : "library"
},
{
"c99name" : "StorageTests",
"module_type" : "SwiftTarget",
"name" : "StorageTests",
"path" : "Tests/StorageTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"resources" : [
{
"path" : "/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",
"Helpers.swift",
"MultipartFormData.swift",
"StorageApi.swift",
"StorageBucketApi.swift",
"StorageError.swift",
"StorageFileApi.swift",
"StorageHTTPClient.swift",
"SupabaseStorage.swift",
"TransformOptions.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "RealtimeTests",
"module_type" : "SwiftTarget",
"name" : "RealtimeTests",
"path" : "Tests/RealtimeTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"XCTestDynamicOverlay"
],
"sources" : [
"CallbackManagerTests.swift",
"FakeWebSocket.swift",
"PostgresJoinConfigTests.swift",
"RealtimeChannelTests.swift",
"RealtimeMessageV2Tests.swift",
"RealtimePostgresFilterTests.swift",
"RealtimePostgresFilterValueTests.swift",
"RealtimeTests.swift",
"_PushTests.swift"
],
"target_dependencies" : [
"PostgREST",
"Realtime",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "Realtime",
"module_type" : "SwiftTarget",
"name" : "Realtime",
"path" : "Sources/Realtime",
"product_dependencies" : [
"ConcurrencyExtras",
"IssueReporting"
],
"product_memberships" : [
"Realtime",
"Supabase"
],
"sources" : [
"CallbackManager.swift",
"Deprecated/Defaults.swift",
"Deprecated/Delegated.swift",
"Deprecated/Deprecated.swift",
"Deprecated/HeartbeatTimer.swift",
"Deprecated/PhoenixTransport.swift",
"Deprecated/Presence.swift",
"Deprecated/Push.swift",
"Deprecated/RealtimeChannel.swift",
"Deprecated/RealtimeClient.swift",
"Deprecated/RealtimeMessage.swift",
"Deprecated/TimeoutTimer.swift",
"PostgresAction.swift",
"PostgresActionData.swift",
"PresenceAction.swift",
"PushV2.swift",
"RealtimeChannel+AsyncAwait.swift",
"RealtimeChannelV2.swift",
"RealtimeClientV2.swift",
"RealtimeError.swift",
"RealtimeJoinConfig.swift",
"RealtimeMessageV2.swift",
"RealtimePostgresFilter.swift",
"RealtimePostgresFilterValue.swift",
"Types.swift",
"WebSocket/URLSessionWebSocket.swift",
"WebSocket/WebSocket.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "PostgRESTTests",
"module_type" : "SwiftTarget",
"name" : "PostgRESTTests",
"path" : "Tests/PostgRESTTests",
"product_dependencies" : [
"InlineSnapshotTesting",
"SnapshotTesting",
"Mocker"
],
"sources" : [
"BuildURLRequestTests.swift",
"JSONTests.swift",
"PostgresQueryTests.swift",
"PostgrestBuilderTests.swift",
"PostgrestFilterBuilderTests.swift",
"PostgrestFilterValueTests.swift",
"PostgrestQueryBuilderTests.swift",
"PostgrestResponseTests.swift",
"PostgrestRpcBuilderTests.swift",
"PostgrestTransformBuilderTests.swift"
],
"target_dependencies" : [
"Helpers",
"PostgREST",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "PostgREST",
"module_type" : "SwiftTarget",
"name" : "PostgREST",
"path" : "Sources/PostgREST",
"product_dependencies" : [
"ConcurrencyExtras"
],
"product_memberships" : [
"PostgREST",
"Supabase"
],
"sources" : [
"Defaults.swift",
"Deprecated.swift",
"PostgrestBuilder.swift",
"PostgrestClient.swift",
"PostgrestFilterBuilder.swift",
"PostgrestFilterValue.swift",
"PostgrestQueryBuilder.swift",
"PostgrestTransformBuilder.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"XCTestDynamicOverlay"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/IntegrationTests/Fixtures/Upload/file-2.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/IntegrationTests/Fixtures/Upload/sadcat.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/IntegrationTests/supabase/config.toml",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AuthClientIntegrationTests.swift",
"DotEnv.swift",
"Postgrest/PostgresTransformsTests.swift",
"Postgrest/PostgrestBasicTests.swift",
"Postgrest/PostgrestFilterTests.swift",
"Postgrest/PostgrestResourceEmbeddingTests.swift",
"PostgrestIntegrationTests.swift",
"RealtimeIntegrationTests.swift",
"StorageClientIntegrationTests.swift",
"StorageFileIntegrationTests.swift"
],
"target_dependencies" : [
"Helpers",
"Supabase",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "HelpersTests",
"module_type" : "SwiftTarget",
"name" : "HelpersTests",
"path" : "Tests/HelpersTests",
"product_dependencies" : [
"CustomDump"
],
"sources" : [
"AnyJSONTests.swift",
"AsyncValueSubjectTests.swift",
"EventEmitterTests.swift",
"JWTTests.swift",
"ObservationTokenTests.swift",
"WithTimeoutTests.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "test"
},
{
"c99name" : "Helpers",
"module_type" : "SwiftTarget",
"name" : "Helpers",
"path" : "Sources/Helpers",
"product_dependencies" : [
"ConcurrencyExtras",
"HTTPTypes",
"Clocks",
"XCTestDynamicOverlay"
],
"product_memberships" : [
"Auth",
"Functions",
"PostgREST",
"Realtime",
"Storage",
"Supabase"
],
"sources" : [
"AnyJSON/AnyJSON+Codable.swift",
"AnyJSON/AnyJSON.swift",
"AsyncValueSubject.swift",
"Codable.swift",
"DateFormatter.swift",
"EventEmitter.swift",
"FoundationExtensions.swift",
"HTTP/HTTPClient.swift",
"HTTP/HTTPFields.swift",
"HTTP/HTTPRequest.swift",
"HTTP/HTTPResponse.swift",
"HTTP/LoggerInterceptor.swift",
"HTTP/RetryRequestInterceptor.swift",
"JWT.swift",
"SharedModels/HTTPError.swift",
"SharedModels/PostgrestError.swift",
"SupabaseLogger.swift",
"Task+withTimeout.swift",
"TaskLocalHelpers.swift",
"URLSession+AsyncAwait.swift",
"Version.swift",
"_Clock.swift"
],
"type" : "library"
},
{
"c99name" : "FunctionsTests",
"module_type" : "SwiftTarget",
"name" : "FunctionsTests",
"path" : "Tests/FunctionsTests",
"product_dependencies" : [
"ConcurrencyExtras",
"InlineSnapshotTesting",
"SnapshotTesting",
"XCTestDynamicOverlay",
"Mocker"
],
"sources" : [
"FunctionInvokeOptionsTests.swift",
"FunctionsClientTests.swift",
"FunctionsErrorTests.swift",
"RequestTests.swift"
],
"target_dependencies" : [
"Functions",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "Functions",
"module_type" : "SwiftTarget",
"name" : "Functions",
"path" : "Sources/Functions",
"product_memberships" : [
"Functions",
"Supabase"
],
"sources" : [
"FunctionsClient.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
},
{
"c99name" : "AuthTests",
"module_type" : "SwiftTarget",
"name" : "AuthTests",
"path" : "Tests/AuthTests",
"product_dependencies" : [
"CustomDump",
"InlineSnapshotTesting",
"SnapshotTesting",
"XCTestDynamicOverlay"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/anonymous-sign-in-response.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/list-users-response.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/local-storage.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/session.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/signup-response.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AuthTests/Resources/user.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AuthClientMultipleInstancesTests.swift",
"AuthClientTests.swift",
"AuthErrorTests.swift",
"AuthResponseTests.swift",
"ExtractParamsTests.swift",
"MockHelpers.swift",
"Mocks/Mocks.swift",
"PKCETests.swift",
"RequestsTests.swift",
"SessionManagerTests.swift",
"StoredSessionTests.swift"
],
"target_dependencies" : [
"Auth",
"Helpers",
"TestHelpers"
],
"type" : "test"
},
{
"c99name" : "Auth",
"module_type" : "SwiftTarget",
"name" : "Auth",
"path" : "Sources/Auth",
"product_dependencies" : [
"ConcurrencyExtras",
"Crypto"
],
"product_memberships" : [
"Auth",
"Supabase"
],
"sources" : [
"AuthAdmin.swift",
"AuthClient.swift",
"AuthClientConfiguration.swift",
"AuthError.swift",
"AuthMFA.swift",
"AuthStateChangeListener.swift",
"Defaults.swift",
"Deprecated.swift",
"Internal/APIClient.swift",
"Internal/CodeVerifierStorage.swift",
"Internal/Constants.swift",
"Internal/Dependencies.swift",
"Internal/EventEmitter.swift",
"Internal/FixedWidthInteger+Random.swift",
"Internal/Helpers.swift",
"Internal/Keychain.swift",
"Internal/PKCE.swift",
"Internal/SessionManager.swift",
"Internal/SessionStorage.swift",
"Internal/URLOpener.swift",
"Storage/AuthLocalStorage.swift",
"Storage/KeychainLocalStorage.swift",
"Storage/WinCredLocalStorage.swift",
"Types.swift"
],
"target_dependencies" : [
"Helpers"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.