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 RemoteImage 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdbergeron/RemoteImage.git
Reference: 1.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/bdbergeron/RemoteImage
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 2708e7b Add another new initializer (#8)
Cloned https://github.com/bdbergeron/RemoteImage.git
Revision (git rev-parse @):
2708e7b37e7b9ab06c3eb94e94d7f38fd84834ad
SUCCESS checkout https://github.com/bdbergeron/RemoteImage.git at 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/bdbergeron/RemoteImage.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 2>&1
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/nalexn/ViewInspector
Fetching https://github.com/bdbergeron/Stubby.git
Fetching https://github.com/apple/swift-docc-plugin
[3/255] Fetching stubby
[256/2739] Fetching stubby, swift-docc-symbolkit
[306/4196] Fetching stubby, swift-docc-symbolkit, swift-docc-plugin
[3967/15301] Fetching stubby, swift-docc-symbolkit, swift-docc-plugin, viewinspector
Fetched https://github.com/bdbergeron/Stubby.git from cache (0.53s)
Fetched https://github.com/nalexn/ViewInspector from cache (0.54s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.54s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.54s)
Computing version for https://github.com/bdbergeron/Stubby.git
Computed https://github.com/bdbergeron/Stubby.git at 1.0.0 (0.40s)
Computing version for https://github.com/nalexn/ViewInspector
Computed https://github.com/nalexn/ViewInspector at 0.9.8 (1.32s)
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/bdbergeron/Stubby.git
Working copy of https://github.com/bdbergeron/Stubby.git 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
Creating working copy for https://github.com/nalexn/ViewInspector
Working copy of https://github.com/nalexn/ViewInspector resolved at 0.9.8
/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 RemoteImageViewModel.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/12] Compiling RemoteImage RemoteImage.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+InitWithCache.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+InitWithCache.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+Helpers.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
[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/11] Compiling RemoteImage RemoteImage+Helpers.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/11] Compiling RemoteImage RemoteImageViewModel.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/11] 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/11] Compiling RemoteImage RemoteImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/11] 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)
[9/11] Compiling RemoteImage Image+PlatformNativeImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/11] Compiling RemoteImage URLSession+CachedData.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/11] Emitting module RemoteImage
/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