This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Realtime with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supabase-community/realtime-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/supabase-community/realtime-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5ea1fd2 Update README.md
Cloned https://github.com/supabase-community/realtime-swift.git
Revision (git rev-parse @):
5ea1fd24469191d5dd7421d3dbf42c88c5c0d5ba
SUCCESS checkout https://github.com/supabase-community/realtime-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/supabase-community/realtime-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling Realtime StateChangeCallbacks.swift
[4/14] Compiling Realtime SocketError.swift
[5/14] Compiling Realtime TimeoutTimer.swift
/host/spi-builder-workspace/Sources/Realtime/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is non-isolated 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 non-isolated 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) {
[6/14] Compiling Realtime RealtimeClient.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:42:21: warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '([String : Any]) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |   /// Default encode function, utilizing JSONSerialization.data
 42 |   public static let encode: ([String: Any]) -> Data = { json in
    |                     |- warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '([String : 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
 43 |     try! JSONSerialization
 44 |       .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:50:21: warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> [String : Any]?' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |   /// Default decode function, utilizing JSONSerialization.jsonObject
 50 |   public static let decode: (Data) -> [String: Any]? = { data in
    |                     |- warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> [String : 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
 51 |     guard
 52 |       let json =
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:32: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
 30 |
 31 |   /// Default reconnect algorithm for the socket
 32 |   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
 33 |     tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
 34 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:37: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
 35 |
 36 |   /** Default rejoin algorithm for individual channels */
 37 |   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
 38 |     tries > 3 ? 10 : [1, 2, 5][tries - 1]
 39 |   }
/host/spi-builder-workspace/Sources/Realtime/RealtimeClient.swift:715:4: error: Objective-C interoperability is disabled
713 |
714 |   /// Sends a hearbeat payload to the phoenix serverss
715 |   @objc func sendHeartbeat() {
    |    `- error: Objective-C interoperability is disabled
716 |     // Do not send if the connection is closed
717 |     guard isConnected else { return }
/host/spi-builder-workspace/Sources/Realtime/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is non-isolated 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 non-isolated 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) {
[7/14] Compiling Realtime Transport.swift
/host/spi-builder-workspace/Sources/Realtime/Transport.swift:200:29: error: extra trailing closure passed in call
198 |
199 |   public func send(data: Data) {
200 |     task?.send(.data(data)) { _ in
    |                             `- error: extra trailing closure passed in call
201 |       // TODO: What is the behavior when an error occurs?
202 |     }
/host/spi-builder-workspace/Sources/Realtime/Transport.swift:245:19: error: extra trailing closure passed in call
243 |
244 |   private func receive() {
245 |     task?.receive { result in
    |                   `- error: extra trailing closure passed in call
246 |       switch result {
247 |       case let .success(message):
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/14] Compiling Realtime Message.swift
/host/spi-builder-workspace/Sources/Realtime/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is non-isolated 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 non-isolated 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) {
[9/14] Compiling Realtime Push.swift
/host/spi-builder-workspace/Sources/Realtime/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is non-isolated 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 non-isolated 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) {
[10/14] Compiling Realtime Channel.swift
/host/spi-builder-workspace/Sources/Realtime/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is non-isolated 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 non-isolated 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) {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:32: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
 30 |
 31 |   /// Default reconnect algorithm for the socket
 32 |   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
 33 |     tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
 34 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:37: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
 35 |
 36 |   /** Default rejoin algorithm for individual channels */
 37 |   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
 38 |     tries > 3 ? 10 : [1, 2, 5][tries - 1]
 39 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:42:21: warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '([String : Any]) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |   /// Default encode function, utilizing JSONSerialization.data
 42 |   public static let encode: ([String: Any]) -> Data = { json in
    |                     |- warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '([String : 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
 43 |     try! JSONSerialization
 44 |       .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:50:21: warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> [String : Any]?' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |   /// Default decode function, utilizing JSONSerialization.jsonObject
 50 |   public static let decode: (Data) -> [String: Any]? = { data in
    |                     |- warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> [String : 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
 51 |     guard
 52 |       let json =
[11/14] Compiling Realtime Defaults.swift
/host/spi-builder-workspace/Sources/Realtime/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is non-isolated 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 non-isolated 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) {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:32: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
 30 |
 31 |   /// Default reconnect algorithm for the socket
 32 |   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
 33 |     tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
 34 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:37: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
 35 |
 36 |   /** Default rejoin algorithm for individual channels */
 37 |   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
 38 |     tries > 3 ? 10 : [1, 2, 5][tries - 1]
 39 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:42:21: warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '([String : Any]) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |   /// Default encode function, utilizing JSONSerialization.data
 42 |   public static let encode: ([String: Any]) -> Data = { json in
    |                     |- warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '([String : 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
 43 |     try! JSONSerialization
 44 |       .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:50:21: warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> [String : Any]?' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |   /// Default decode function, utilizing JSONSerialization.jsonObject
 50 |   public static let decode: (Data) -> [String: Any]? = { data in
    |                     |- warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> [String : 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
 51 |     guard
 52 |       let json =
[12/14] Compiling Realtime Delegated.swift
[13/14] Compiling Realtime HeartbeatTimer.swift
[14/14] Emitting module Realtime
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:32: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
 30 |
 31 |   /// Default reconnect algorithm for the socket
 32 |   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
 33 |     tries > 9 ? 5.0 : [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.5, 1.0, 2.0][tries - 1]
 34 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:37: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
 35 |
 36 |   /** Default rejoin algorithm for individual channels */
 37 |   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
 38 |     tries > 3 ? 10 : [1, 2, 5][tries - 1]
 39 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:42:21: warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '([String : Any]) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
 40 |
 41 |   /// Default encode function, utilizing JSONSerialization.data
 42 |   public static let encode: ([String: Any]) -> Data = { json in
    |                     |- warning: static property 'encode' is not concurrency-safe because non-'Sendable' type '([String : 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
 43 |     try! JSONSerialization
 44 |       .data(
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Realtime/Defaults.swift:50:21: warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> [String : Any]?' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 |   /// Default decode function, utilizing JSONSerialization.jsonObject
 50 |   public static let decode: (Data) -> [String: Any]? = { data in
    |                     |- warning: static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> [String : 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
 51 |     guard
 52 |       let json =
/host/spi-builder-workspace/Sources/Realtime/RealtimeClient.swift:715:4: error: Objective-C interoperability is disabled
713 |
714 |   /// Sends a hearbeat payload to the phoenix serverss
715 |   @objc func sendHeartbeat() {
    |    `- error: Objective-C interoperability is disabled
716 |     // Do not send if the connection is closed
717 |     guard isConnected else { return }
/host/spi-builder-workspace/Sources/Realtime/TimeoutTimer.swift:98:14: warning: static property 'main' is not concurrency-safe because it is non-isolated 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 non-isolated 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) {
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.