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 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
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:             5.8
Building package at path:  $PWD/checkout
https://github.com/supabase-community/realtime-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[1/11] Compiling Realtime SocketError.swift
[2/12] Compiling Realtime Transport.swift
/host/spi-builder-workspace/Sources/Realtime/Transport.swift:200:29: error: extra trailing closure passed in call
    task?.send(.data(data)) { _ in
                            ^~~~~~
/host/spi-builder-workspace/Sources/Realtime/Transport.swift:245:19: error: extra trailing closure passed in call
    task?.receive { result in
                  ^~~~~~~~~~~
[3/12] Compiling Realtime Message.swift
[4/12] Compiling Realtime Push.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] Emitting module Realtime
/host/spi-builder-workspace/Sources/Realtime/RealtimeClient.swift:715:4: error: Objective-C interoperability is disabled
  @objc func sendHeartbeat() {
  ~^~~~~

[6/12] Compiling Realtime Delegated.swift
[7/12] Compiling Realtime HeartbeatTimer.swift
[8/12] Compiling Realtime Channel.swift
[9/12] Compiling Realtime Defaults.swift
[10/12] Compiling Realtime RealtimeClient.swift
/host/spi-builder-workspace/Sources/Realtime/RealtimeClient.swift:715:4: error: Objective-C interoperability is disabled
  @objc func sendHeartbeat() {
  ~^~~~~

[11/12] Compiling Realtime StateChangeCallbacks.swift
[12/12] Compiling Realtime TimeoutTimer.swift
[0/1] Planning build
Building for debugging...
[1/3] Compiling Realtime Transport.swift
/host/spi-builder-workspace/Sources/Realtime/Transport.swift:200:29: error: extra trailing closure passed in call
    task?.send(.data(data)) { _ in
                            ^~~~~~
/host/spi-builder-workspace/Sources/Realtime/Transport.swift:245:19: error: extra trailing closure passed in call
    task?.receive { result in
                  ^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Realtime
/host/spi-builder-workspace/Sources/Realtime/RealtimeClient.swift:715:4: error: Objective-C interoperability is disabled
  @objc func sendHeartbeat() {
  ~^~~~~

[3/3] Compiling Realtime RealtimeClient.swift
/host/spi-builder-workspace/Sources/Realtime/RealtimeClient.swift:715:4: error: Objective-C interoperability is disabled
  @objc func sendHeartbeat() {
  ~^~~~~

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