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 3.0.1-beta.1 (c4de1a), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 15:03:19 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: 3.0.1-beta.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Jake-Short/swiftui-image-viewer
 * tag               3.0.1-beta.1 -> FETCH_HEAD
HEAD is now at c4de1a1 Merge pull request #33 from Jake-Short/close-button-updates
Cloned https://github.com/Jake-Short/swiftui-image-viewer.git
Revision (git rev-parse @):
c4de1a1f1a89a5088cfd69f951c53d3ba471a324
SUCCESS checkout https://github.com/Jake-Short/swiftui-image-viewer.git at 3.0.1-beta.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.09s)
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.65s)
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
========================================
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.82s)
Fetching https://github.com/dmytro-anokhin/url-image.git from cache
Fetched https://github.com/dmytro-anokhin/url-image.git from cache (0.55s)
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.03s)
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 3.0.1-beta.1 (c4de1a1)
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/32] Compiling Common FileManager+Extensions.swift
[13/32] Emitting module Common
[14/32] Compiling PlainDatabase PlainDatabase.swift
[15/32] Compiling PlainDatabase Database.swift
[16/32] Emitting module Log
[17/32] Compiling Log Log.swift
[18/42] Compiling DownloadManager DownloadTypes.swift
[19/42] Compiling DownloadManager URLSessionDelegate.swift
[20/42] Compiling DownloadManager DownloadTask.swift
[21/42] Compiling DownloadManager DownloadPublisher.swift
[22/42] Compiling DownloadManager DownloadManager.swift
[23/42] Compiling DownloadManager URLSessionCoordinator.swift
[24/42] Emitting module DownloadManager
[25/42] Compiling DownloadManager Utils.swift
[26/42] Compiling DownloadManager DownloadProgress.swift
[27/42] Compiling DownloadManager Download.swift
[28/42] Emitting module PlainDatabase
[29/42] Compiling PlainDatabase CoreDataFetchIndexDescription.swift
[30/42] Compiling PlainDatabase ManagedObjectCodable.swift
[31/42] Compiling PlainDatabase CoreDataModelDescription.swift
[32/42] Compiling PlainDatabase CoreDataEntityDescription.swift
[33/42] Compiling PlainDatabase CoreDataAttributeDescription.swift
[34/46] Emitting module FileIndex
[35/46] Compiling FileIndex Bundle+Extensions.swift
[36/46] Compiling FileIndex File.swift
[37/46] Compiling FileIndex FileIndex.swift
[38/46] Compiling ImageDecoder ImageDecoder.swift
[39/46] Emitting module ImageDecoder
[40/46] Compiling RemoteContentView ActivityIndicator.swift
[41/46] Emitting module RemoteContentView
[42/46] Compiling RemoteContentView RemoteContentLoadingState.swift
[43/46] Compiling RemoteContentView RemoteContent.swift
[44/46] Compiling RemoteContentView RemoteContentView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/46] 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, *)
[46/46] 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, *)
BUILD FAILURE 6.0 macosSpm