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 SafariUI with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsanthanam/SafariUI.git
Reference: 4.0.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/vsanthanam/SafariUI
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 4ed4817 Finalize 4.0 release (#46)
Cloned https://github.com/vsanthanam/SafariUI.git
Revision (git rev-parse @):
4ed48177b580e0a8d9e4a59631f04dcb988d3879
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/vsanthanam/SafariUI.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/vsanthanam/SafariUI.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/1457] Fetching swift-docc-plugin
[876/4145] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.43s)
[1/37300] Fetching swiftformat
Fetched https://github.com/apple/swift-docc-plugin from cache (20.11s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (20.75s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.53.6
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftFormatPlugin
Building for debugging...
[3/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/25] Compiling WebAuthentication WebAuthentication.swift
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/25] Compiling SafariView WrappedItemPresentation.swift
/host/spi-builder-workspace/Sources/SafariView/DismissButtonStyle.swift:26:8: error: no such module 'SafariServices'
import SafariServices
       ^
[10/25] Compiling SafariView PrewarmingToken.swift
/host/spi-builder-workspace/Sources/SafariView/DismissButtonStyle.swift:26:8: error: no such module 'SafariServices'
import SafariServices
       ^
[11/26] Compiling WebAuthentication Modifiers.swift
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/26] Emitting module WebAuthentication
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/26] Compiling WebAuthentication Environment.swift
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/26] Compiling WebAuthentication Presentation.swift
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
/host/spi-builder-workspace/Sources/SafariView/DismissButtonStyle.swift:26:8: error: no such module 'SafariServices'
import SafariServices
       ^
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftFormatPlugin
Building for debugging...
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling WebAuthentication WebAuthentication.swift
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/22] Compiling WebAuthentication Modifiers.swift
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/22] Compiling WebAuthentication Presentation.swift
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/22] Emitting module WebAuthentication
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/22] Compiling WebAuthentication Environment.swift
/host/spi-builder-workspace/Sources/WebAuthentication/Environment.swift:26:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/22] Emitting module SafariView
/host/spi-builder-workspace/Sources/SafariView/DismissButtonStyle.swift:28:22: warning: unrecognized platform name 'visionOS'
@available(iOS 14.0, visionOS 1.0, macCatalyst 14.0, *)
                     ^
/host/spi-builder-workspace/Sources/SafariView/DismissButtonStyle.swift:26:8: error: no such module 'SafariServices'
import SafariServices
       ^
[11/23] Compiling SafariView PrewarmingToken.swift
/host/spi-builder-workspace/Sources/SafariView/DismissButtonStyle.swift:26:8: error: no such module 'SafariServices'
import SafariServices
       ^
error: fatalError
BUILD FAILURE 5.10 linux