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.10 for Linux on 28 Aug 2024 18:52:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $PWD
https://github.com/edonv/WSPublisher.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:a70f701911643a3a4293839e0e79d56dcc32eed4840549b67640dc1034af7f44
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-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 from cache (0.20s)
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.34s)
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...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Emitting module HTTPTypes
[6/12] Compiling HTTPTypes HTTPField.swift
[7/12] Compiling HTTPTypes ISOLatin1String.swift
[8/12] Compiling HTTPTypes HTTPResponse.swift
[9/12] Compiling HTTPTypes HTTPRequest.swift
[10/12] Compiling HTTPTypes HTTPParsedFields.swift
[11/12] Compiling HTTPTypes HTTPFieldName.swift
[12/12] Compiling HTTPTypes HTTPFields.swift
[14/19] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[15/19] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[16/19] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[17/19] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[18/19] Emitting module HTTPTypesFoundation
[19/19] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[21/30] Compiling WSPublisher URLSessionWebSocketTaskCloseCode+StringConvertible.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[22/30] Compiling WSPublisher URLSessionWebSocketTaskMessage+Hashable.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[23/30] Compiling WSPublisher URLSessionWebSocketTask+Combine.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[24/31] 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)
[25/31] Emitting module WSPublisher
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[26/31] Compiling WSPublisher WSPublisher+SwiftUI.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[27/31] Compiling WSPublisher WebSocketPublisher+Async.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[28/31] Compiling WSPublisher WebSocketPublisher.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[29/31] Compiling WSPublisher WebSocketPublisher+Errors.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[30/31] Compiling WSPublisher WebSocketPublisher+URLSessionDelegate.swift
/host/spi-builder-workspace/Sources/WSPublisher/Extensions/WSPublisher+SwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[31/31] Compiling WSPublisher WebSocketPublisher+Event.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.10 linux