The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwURL with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cmtrounce/SwURL.git
Reference: 0.6.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/cmtrounce/SwURL
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at a303115 Fixed docc reference to function.
Cloned https://github.com/cmtrounce/SwURL.git
Revision (git rev-parse @):
a3031159fde503989b3d83b514d24293d606b89d
SUCCESS checkout https://github.com/cmtrounce/SwURL.git at 0.6.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/cmtrounce/SwURL.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1457] Fetching swift-docc-plugin
[730/3941] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.40s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.41s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.48s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.51s)
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SwURL/Documentation.docc
/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
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/19] Compiling SwURL ImageTransitionType.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/19] Compiling SwURL SwURLImage.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/20] Compiling SwURL ImageProcessing.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/20] Compiling SwURL ImageCacheProvider.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/20] Compiling SwURL ImageLoader.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/20] Compiling SwURL RemoteImage.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/20] Compiling SwURL ImageCacheStrategy.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/20] Compiling SwURL SwURLDebug.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/20] Compiling SwURL SwURL.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/20] Emitting module SwURL
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/20] Compiling SwURL FileManager+Paths.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/20] Compiling SwURL Downloader.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/20] Compiling SwURL InMemoryImageCache.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/20] Compiling SwURL NeverImageCache.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[19/20] Compiling SwURL PersistentImageCache.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[20/20] Compiling SwURL CGImage+Data.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SwURL/Documentation.docc
[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
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling SwURL ImageTransitionType.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/18] Compiling SwURL SwURLImage.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/19] Compiling SwURL ImageCacheStrategy.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/19] Compiling SwURL SwURLDebug.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/19] Compiling SwURL ImageProcessing.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/19] Compiling SwURL ImageCacheProvider.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/19] Emitting module SwURL
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/19] Compiling SwURL SwURL.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/19] Compiling SwURL InMemoryImageCache.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/19] Compiling SwURL NeverImageCache.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/19] Compiling SwURL ImageLoader.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/19] Compiling SwURL RemoteImage.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/19] Compiling SwURL FileManager+Paths.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/19] Compiling SwURL Downloader.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/19] Compiling SwURL PersistentImageCache.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[19/19] Compiling SwURL CGImage+Data.swift
/host/spi-builder-workspace/Sources/SwURL/Internal/Caching/InMemoryImageCache.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2