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 AsyncImageFetcher, reference 0.0.5 (2ac08f), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 17:31:03 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/Ast3r10n/async-image-fetcher.git
Reference: 0.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ast3r10n/async-image-fetcher
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 2ac08f7 Merge pull request #8 from Ast3r10n/bugfix/swift-ui-import
Cloned https://github.com/Ast3r10n/async-image-fetcher.git
Revision (git rev-parse @):
2ac08f71fc8cf6b6fdbf77494e957bb03e15396f
SUCCESS checkout https://github.com/Ast3r10n/async-image-fetcher.git at 0.0.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": "async-image-fetcher",
      "name": "AsyncImageFetcher",
      "url": "https://github.com/Ast3r10n/async-image-fetcher.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/async-image-fetcher",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Ast3r10n/async-image-fetcher.git
[1/141] Fetching async-image-fetcher
Fetched https://github.com/Ast3r10n/async-image-fetcher.git from cache (0.73s)
Creating working copy for https://github.com/Ast3r10n/async-image-fetcher.git
Working copy of https://github.com/Ast3r10n/async-image-fetcher.git resolved at 0.0.5 (2ac08f7)
warning: '.resolve-product-dependencies': dependency 'async-image-fetcher' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Ast3r10n/async-image-fetcher.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module AsyncImageFetcher
/Users/admin/builder/spi-builder-workspace/Sources/AsyncImageFetcher/AsyncImageFetcher.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 | import Combine
10 |
[4/5] Compiling AsyncImageFetcher RemoteImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncImageFetcher/AsyncImageFetcher.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 | import Combine
10 |
[5/5] Compiling AsyncImageFetcher AsyncImageFetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncImageFetcher/AsyncImageFetcher.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 | import Combine
10 |
BUILD FAILURE 6.0 macosSpm