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 master (f61f29), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 15:03:08 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Jake-Short/swiftui-image-viewer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
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.10s)
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.66s)
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.80s)
Fetching https://github.com/dmytro-anokhin/url-image.git from cache
Fetched https://github.com/dmytro-anokhin/url-image.git from cache (0.51s)
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.62s)
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 master (f61f298)
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
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] Emitting module Common
[13/30] Compiling Common FileManager+Extensions.swift
[14/30] Compiling PlainDatabase PlainDatabase.swift
[15/30] Compiling Log Log.swift
[16/30] Emitting module Log
[17/30] Compiling PlainDatabase Database.swift
[18/40] Compiling DownloadManager DownloadTypes.swift
[19/40] Compiling DownloadManager DownloadTask.swift
[20/40] Compiling DownloadManager DownloadManager.swift
[21/40] Compiling DownloadManager URLSessionDelegate.swift
[22/40] Compiling DownloadManager URLSessionCoordinator.swift
[23/40] Compiling DownloadManager DownloadPublisher.swift
[24/40] Compiling DownloadManager Utils.swift
[25/40] Compiling DownloadManager DownloadProgress.swift
[26/40] Emitting module DownloadManager
[27/40] Compiling DownloadManager Download.swift
[28/40] Compiling PlainDatabase ManagedObjectCodable.swift
[29/40] Compiling PlainDatabase CoreDataModelDescription.swift
[30/40] Compiling PlainDatabase CoreDataFetchIndexDescription.swift
[31/40] Emitting module PlainDatabase
[32/40] Emitting module ImageDecoder
[33/40] Compiling ImageDecoder ImageDecoder.swift
[34/40] Compiling PlainDatabase CoreDataAttributeDescription.swift
[35/40] Compiling PlainDatabase CoreDataEntityDescription.swift
[36/44] Emitting module FileIndex
[37/44] Compiling FileIndex FileIndex.swift
[38/44] Compiling FileIndex File.swift
[39/44] Compiling FileIndex Bundle+Extensions.swift
[40/44] Compiling RemoteContentView RemoteContent.swift
[41/44] Compiling RemoteContentView RemoteContentLoadingState.swift
[42/44] Compiling RemoteContentView ActivityIndicator.swift
[43/44] Emitting module RemoteContentView
[44/44] Compiling RemoteContentView RemoteContentView.swift
[45/54] Compiling URLImage URLImageOptions.swift
[46/54] Compiling URLImage URLImageError.swift
[47/54] Compiling URLImage RemoteImage.swift
[48/54] Compiling URLImage RemoteContentViewLoadOptions+URLImageOptions_LoadOptions.swift
[49/54] Compiling URLImage Image_Orientation+CGImagePropertyOrientation.swift
[50/54] Compiling URLImage InMemoryCache.swift
[51/54] Emitting module URLImage
[52/54] Compiling URLImage TransientImage.swift
[53/54] Compiling URLImage DiskCache.swift
[54/54] Compiling URLImage URLImage.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