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 main (835d4b), with Swift 6.0 for macOS (SPM) on 15 Nov 2024 18:20:14 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.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/heroesofcode/MagicImages.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heroesofcode/MagicImages
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 835d4b6 Merge pull request #88 from heroesofcode/renovate/major-all-dependencies
Cloned https://github.com/heroesofcode/MagicImages.git
Revision (git rev-parse @):
835d4b6d3f12cb481075fc228b8e018a8d82b3e4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heroesofcode/MagicImages.git at main
========================================
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/1469] Fetching magicimages
Fetched https://github.com/heroesofcode/MagicImages.git from cache (1.37s)
Creating working copy for https://github.com/heroesofcode/MagicImages.git
Working copy of https://github.com/heroesofcode/MagicImages.git resolved at main (835d4b6)
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
[3/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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 {
[5/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 {
[6/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 {
[7/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 {
[8/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 {
BUILD FAILURE 6.0 macosSpm