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 MagicImages, reference 1.6.0 (028679), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 13:04:02 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/heroesofcode/MagicImages.git
Reference: 1.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heroesofcode/MagicImages
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at 028679e Bump version to 1.6.0
Cloned https://github.com/heroesofcode/MagicImages.git
Revision (git rev-parse @):
028679e4a8118093e5aa0fcce0311a1e5a35c55f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heroesofcode/MagicImages.git at 1.6.0
========================================
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": "magicimages",
      "name": "MagicImages",
      "url": "https://github.com/heroesofcode/MagicImages.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MagicImages",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/heroesofcode/MagicImages.git
[1/1459] Fetching magicimages
Fetched https://github.com/heroesofcode/MagicImages.git from cache (1.29s)
Creating working copy for https://github.com/heroesofcode/MagicImages.git
Working copy of https://github.com/heroesofcode/MagicImages.git resolved at 1.6.0 (028679e)
warning: '.resolve-product-dependencies': dependency 'magicimages' 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/heroesofcode/MagicImages.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/8] Emitting module MagicImages
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public class MagicImages {
[4/8] Compiling MagicImages MagicImagesUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public class MagicImages {
[5/8] Compiling MagicImages MagicImages.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public class MagicImages {
[6/8] Compiling MagicImages UIImageView+RoundCorners.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public class MagicImages {
[7/8] Compiling MagicImages UIImageView+Download.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public class MagicImages {
[8/8] Compiling MagicImages ImageDownload.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public class MagicImages {
BUILD FAILURE 6.0 macosSpm