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, reference 1.2.0 (2708e7), with Swift 6.0 for Linux on 12 Oct 2024 06:05:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.55.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:             6.0
Building package at path:  $PWD
https://github.com/bdbergeron/RemoteImage.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/bdbergeron/Stubby.git
Fetching https://github.com/nalexn/ViewInspector
Fetching https://github.com/apple/swift-docc-symbolkit
[1/255] Fetching stubby
[180/2293] Fetching stubby, swift-docc-plugin
[684/5436] Fetching stubby, swift-docc-plugin, swift-docc-symbolkit
[2730/17555] Fetching stubby, swift-docc-plugin, swift-docc-symbolkit, viewinspector
Fetched https://github.com/apple/swift-docc-plugin from cache (0.35s)
[13942/15517] Fetching stubby, swift-docc-symbolkit, viewinspector
Fetched https://github.com/bdbergeron/Stubby.git from cache (0.38s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.54s)
Fetched https://github.com/nalexn/ViewInspector from cache (0.55s)
Computing version for https://github.com/bdbergeron/Stubby.git
Computed https://github.com/bdbergeron/Stubby.git at 1.0.0 (0.42s)
Computing version for https://github.com/nalexn/ViewInspector
Computed https://github.com/nalexn/ViewInspector at 0.9.8 (2.05s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.50s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.55s)
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
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
/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; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[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; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] Emitting module RemoteImage
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
 1 | // Created by Brad Bergeron on 9/22/23.
 2 |
 3 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 4 |
 5 | #if os(iOS)
[6/12] Compiling RemoteImage RemoteImage+InitWithCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
 1 | // Created by Brad Bergeron on 9/22/23.
 2 |
 3 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 4 |
 5 | #if os(iOS)
[7/12] Compiling RemoteImage RemoteImageViewModel+InitWithCache.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
 1 | // Created by Brad Bergeron on 9/22/23.
 2 |
 3 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 4 |
 5 | #if os(iOS)
[8/12] Compiling RemoteImage RemoteImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
 1 | // Created by Brad Bergeron on 9/22/23.
 2 |
 3 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 4 |
 5 | #if os(iOS)
[9/12] Compiling RemoteImage RemoteImageViewModel.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
 1 | // Created by Brad Bergeron on 9/22/23.
 2 |
 3 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 4 |
 5 | #if os(iOS)
[10/12] Compiling RemoteImage URLSession+CachedData.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
 1 | // Created by Brad Bergeron on 9/22/23.
 2 |
 3 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 4 |
 5 | #if os(iOS)
[11/12] Compiling RemoteImage RemoteImage+Helpers.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
 1 | // Created by Brad Bergeron on 9/22/23.
 2 |
 3 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 4 |
 5 | #if os(iOS)
[12/12] Compiling RemoteImage Image+PlatformNativeImage.swift
/host/spi-builder-workspace/Sources/RemoteImage/Extensions/Image+PlatformNativeImage.swift:3:8: error: no such module 'SwiftUI'
 1 | // Created by Brad Bergeron on 9/22/23.
 2 |
 3 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 4 |
 5 | #if os(iOS)
BUILD FAILURE 6.0 linux