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 develop (7d8760), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 17:31:15 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: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ast3r10n/async-image-fetcher
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 7d87604 Update swift tools version
Cloned https://github.com/Ast3r10n/async-image-fetcher.git
Revision (git rev-parse @):
7d87604941364df2bbfd6e3220093da383660051
SUCCESS checkout https://github.com/Ast3r10n/async-image-fetcher.git at develop
========================================
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
[2/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 develop (7d87604)
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
[3/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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 |
[5/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 |
BUILD FAILURE 6.0 macosSpm