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 5.10 for macOS (SPM) on 22 Jul 2024 05:39:03 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.46.5
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: $workDir/.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/1381] Fetching magicimages
Fetched https://github.com/heroesofcode/MagicImages.git from cache (1.81s)
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:             5.10
Building package at path:  $workDir
https://github.com/heroesofcode/MagicImages.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.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'
import UIKit
       ^
[4/8] Compiling MagicImages MagicImagesUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[5/8] Compiling MagicImages MagicImages.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[6/8] Compiling MagicImages UIImageView+Download.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[7/8] Compiling MagicImages UIImageView+RoundCorners.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[8/8] Compiling MagicImages ImageDownload.swift
/Users/admin/builder/spi-builder-workspace/Sources/MagicImages/MagicImages.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm