The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RemoteImage, reference main (ff5242), with Swift 5.10 for Linux on 6 Sep 2024 03:05:49 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.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/bdbergeron/RemoteImage.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/bdbergeron/RemoteImage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ff52429 Update documentation.yml
Cloned https://github.com/bdbergeron/RemoteImage.git
Revision (git rev-parse @):
ff52429579dd012c9108f9f2454bc6252c61eb45
SUCCESS checkout https://github.com/bdbergeron/RemoteImage.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/bdbergeron/RemoteImage.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.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/bdbergeron/Stubby.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/nalexn/ViewInspector
[1/255] Fetching stubby
[256/2192] Fetching stubby, swift-docc-plugin
[489/14091] Fetching stubby, swift-docc-plugin, viewinspector
[7560/17159] Fetching stubby, swift-docc-plugin, viewinspector, swift-docc-symbolkit
Fetched https://github.com/bdbergeron/Stubby.git from cache (0.42s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.56s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.56s)
Fetched https://github.com/nalexn/ViewInspector from cache (0.56s)
Computing version for https://github.com/bdbergeron/Stubby.git
Computed https://github.com/bdbergeron/Stubby.git at 1.0.0 (0.34s)
Computing version for https://github.com/nalexn/ViewInspector
Computed https://github.com/nalexn/ViewInspector at 0.9.8 (1.12s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.42s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.45s)
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/nalexn/ViewInspector
Working copy of https://github.com/nalexn/ViewInspector resolved at 0.9.8
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/bdbergeron/Stubby.git
Working copy of https://github.com/bdbergeron/Stubby.git resolved at 1.0.0
/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/12] Compiling RemoteImage RemoteImage+Helpers.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/12] Compiling RemoteImage RemoteImageViewModel+InitWithCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/12] Compiling RemoteImage RemoteImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/12] Compiling RemoteImage RemoteImageViewModel.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/12] Compiling RemoteImage RemoteImage+InitWithCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/12] Emitting module RemoteImage
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/12] Compiling RemoteImage Image+PlatformNativeImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/12] Compiling RemoteImage URLSession+CachedData.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux