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 PrettyCards, reference master (0cf8e2), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 06:12:50 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/simla-tech/PrettyCards.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simla-tech/PrettyCards
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0cf8e2f Update sources path
Cloned https://github.com/simla-tech/PrettyCards.git
Revision (git rev-parse @):
0cf8e2f1ac96ac5b95adc9c44a7e8960161ee1fc
SUCCESS checkout https://github.com/simla-tech/PrettyCards.git at master
========================================
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": "prettycards",
      "name": "PrettyCards",
      "url": "https://github.com/simla-tech/PrettyCards.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PrettyCards",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/simla-tech/PrettyCards.git
[1/221] Fetching prettycards
Fetched https://github.com/simla-tech/PrettyCards.git from cache (0.99s)
Creating working copy for https://github.com/simla-tech/PrettyCards.git
Working copy of https://github.com/simla-tech/PrettyCards.git resolved at master (0cf8e2f)
warning: '.resolve-product-dependencies': dependency 'prettycards' 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/simla-tech/PrettyCards.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/7] Emitting module PrettyCards
/Users/admin/builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public extension Card {
[4/7] Compiling PrettyCards Shadow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public extension Card {
[5/7] Compiling PrettyCards Card.swift
/Users/admin/builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public extension Card {
[6/7] Compiling PrettyCards CALayer+ApplyShadow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public extension Card {
[7/7] Compiling PrettyCards Animation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Animation.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public extension Card {
BUILD FAILURE 6.0 macosSpm