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 WSPublisher, reference 0.2.0 (84a9b5), with Swift 5.9 for Linux on 28 Aug 2024 18:54:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/WSPublisher.git
Reference: 0.2.0
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/edonv/WSPublisher
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 84a9b5a Update WebSocketPublisher.swift
Cloned https://github.com/edonv/WSPublisher.git
Revision (git rev-parse @):
84a9b5a051633437ebf39d45aa2017377525e502
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/WSPublisher.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/edonv/WSPublisher.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-http-types.git
[1/528] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.22s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.2.0 (0.37s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.2.0
Building for debugging...
[1/8] Compiling HTTPTypes HTTPParsedFields.swift
[2/8] Compiling HTTPTypes ISOLatin1String.swift
[3/8] Compiling HTTPTypes HTTPResponse.swift
[4/8] Compiling HTTPTypes HTTPRequest.swift
[5/8] Compiling HTTPTypes HTTPFieldName.swift
[6/8] Compiling HTTPTypes HTTPField.swift
[7/8] Compiling HTTPTypes HTTPFields.swift
[8/8] Emitting module HTTPTypes
[11/16] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[12/16] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[13/16] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[14/16] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[15/16] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[16/16] Emitting module HTTPTypesFoundation
[19/28] Compiling WSPublisher URLSessionWebSocketTask+Combine.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[20/29] Compiling WSPublisher WebSocketPublisher+Errors.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[21/29] Compiling WSPublisher URLSessionWebSocketTask+Async.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/29] Emitting module WSPublisher
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[23/29] Compiling WSPublisher WSPublisher+SwiftUI.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[24/29] Compiling WSPublisher WebSocketPublisher+Async.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[25/29] Compiling WSPublisher WebSocketPublisher+URLSessionDelegate.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[26/29] Compiling WSPublisher URLSessionWebSocketTaskCloseCode+StringConvertible.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[27/29] Compiling WSPublisher URLSessionWebSocketTaskMessage+Hashable.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[28/29] Compiling WSPublisher WebSocketPublisher+Event.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[29/29] Compiling WSPublisher WebSocketPublisher.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.9 linux