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 SwiftUIImageViewer, reference 2.3.1 (f61f29), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 15:02:53 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jake-Short/swiftui-image-viewer.git
Reference: 2.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Jake-Short/swiftui-image-viewer
 * tag               2.3.1      -> FETCH_HEAD
HEAD is now at f61f298 Merge pull request #27 from Isvvc/master
Cloned https://github.com/Jake-Short/swiftui-image-viewer.git
Revision (git rev-parse @):
f61f298c0100c81dfb0c7908091e68aad12a892c
SUCCESS checkout https://github.com/Jake-Short/swiftui-image-viewer.git at 2.3.1
Fetching https://github.com/dmytro-anokhin/url-image.git
[1/4353] Fetching url-image
Fetched https://github.com/dmytro-anokhin/url-image.git from cache (1.14s)
Computing version for https://github.com/dmytro-anokhin/url-image.git
Computed https://github.com/dmytro-anokhin/url-image.git at 2.1.9 (0.71s)
Creating working copy for https://github.com/dmytro-anokhin/url-image.git
Working copy of https://github.com/dmytro-anokhin/url-image.git resolved at 2.1.9
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftui-image-viewer",
      "name": "SwiftUIImageViewer",
      "url": "https://github.com/Jake-Short/swiftui-image-viewer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-image-viewer",
      "dependencies": [
        {
          "identity": "url-image",
          "name": "URLImage",
          "url": "https://github.com/dmytro-anokhin/url-image.git",
          "version": "2.2.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/url-image",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Jake-Short/swiftui-image-viewer.git
[1/454] Fetching swiftui-image-viewer
Fetched https://github.com/Jake-Short/swiftui-image-viewer.git from cache (0.79s)
Fetching https://github.com/dmytro-anokhin/url-image.git from cache
Fetched https://github.com/dmytro-anokhin/url-image.git from cache (0.50s)
Computing version for https://github.com/dmytro-anokhin/url-image.git
Computed https://github.com/dmytro-anokhin/url-image.git at 2.2.5 (0.75s)
Creating working copy for https://github.com/dmytro-anokhin/url-image.git
Working copy of https://github.com/dmytro-anokhin/url-image.git resolved at 2.2.5
Creating working copy for https://github.com/Jake-Short/swiftui-image-viewer.git
Working copy of https://github.com/Jake-Short/swiftui-image-viewer.git resolved at 2.3.1 (f61f298)
warning: '.resolve-product-dependencies': dependency 'swiftui-image-viewer' is not used by any target
Found 1 product dependencies
  - URLImage
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Jake-Short/swiftui-image-viewer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version--7754E27361AE5C74.txt
[12/30] Compiling Common FileManager+Extensions.swift
[13/30] Emitting module Common
[14/30] Compiling Log Log.swift
[15/30] Emitting module Log
[16/30] Compiling PlainDatabase Database.swift
[17/30] Compiling PlainDatabase PlainDatabase.swift
[18/40] Compiling DownloadManager Utils.swift
[19/40] Emitting module DownloadManager
[20/40] Compiling DownloadManager DownloadManager.swift
[21/40] Compiling DownloadManager URLSessionCoordinator.swift
[22/40] Compiling DownloadManager DownloadProgress.swift
[23/40] Compiling DownloadManager URLSessionDelegate.swift
[24/40] Compiling DownloadManager DownloadTypes.swift
[25/40] Compiling DownloadManager DownloadPublisher.swift
[26/40] Compiling DownloadManager Download.swift
[27/40] Compiling DownloadManager DownloadTask.swift
[28/40] Compiling PlainDatabase ManagedObjectCodable.swift
[29/40] Compiling RemoteContentView RemoteContent.swift
[30/40] Emitting module PlainDatabase
[31/40] Compiling PlainDatabase CoreDataModelDescription.swift
[32/40] Compiling PlainDatabase CoreDataFetchIndexDescription.swift
[33/40] Compiling PlainDatabase CoreDataAttributeDescription.swift
[34/40] Compiling PlainDatabase CoreDataEntityDescription.swift
[35/44] Compiling FileIndex Bundle+Extensions.swift
[36/44] Emitting module ImageDecoder
[37/44] Compiling ImageDecoder ImageDecoder.swift
[38/44] Emitting module FileIndex
[39/44] Compiling FileIndex FileIndex.swift
[40/44] Compiling FileIndex File.swift
[41/44] Compiling RemoteContentView ActivityIndicator.swift
[42/44] Compiling RemoteContentView RemoteContentLoadingState.swift
[43/44] Emitting module RemoteContentView
[44/44] Compiling RemoteContentView RemoteContentView.swift
[45/54] Compiling URLImage TransientImage.swift
[46/55] Compiling URLImage URLImageOptions.swift
[47/55] Compiling URLImage URLImage.swift
[48/55] Compiling URLImage URLImageError.swift
[49/55] Compiling URLImage RemoteContentViewLoadOptions+URLImageOptions_LoadOptions.swift
[50/55] Compiling URLImage Image_Orientation+CGImagePropertyOrientation.swift
[51/55] Compiling URLImage InMemoryCache.swift
[52/55] Emitting module URLImage
[53/55] Compiling URLImage DiskCache.swift
[54/55] Compiling URLImage RemoteImage.swift
[55/55] Compiling URLImage URLImageService.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/59] Emitting module ImageViewer
/Users/admin/builder/spi-builder-workspace/Sources/ImageViewer/ImageViewer.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | @available(iOS 13.0, *)
[57/59] Compiling ImageViewer ImageViewer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageViewer/ImageViewer.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | @available(iOS 13.0, *)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/59] Emitting module ImageViewerRemote
/Users/admin/builder/spi-builder-workspace/Sources/ImageViewerRemote/ImageViewerRemote.swift:2:8: error: no such module 'UIKit'
  1 | import SwiftUI
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 | import URLImage
  4 | import Combine
BUILD FAILURE 6.0 macosSpm