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 CRToastSwift, reference 0.1.2 (570435), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 12:42:08 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/krugazor/crtoastswift.git
Reference: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krugazor/crtoastswift
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at 5704358 Merge branch 'release/0.1.2'
Cloned https://github.com/krugazor/crtoastswift.git
Revision (git rev-parse @):
5704358ec6326304407cdbddc166b9fcb7db335f
SUCCESS checkout https://github.com/krugazor/crtoastswift.git at 0.1.2
========================================
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": "crtoastswift",
      "name": "CRToastSwift",
      "url": "https://github.com/krugazor/crtoastswift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/crtoastswift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/krugazor/crtoastswift.git
[1/85] Fetching crtoastswift
Fetched https://github.com/krugazor/crtoastswift.git from cache (1.50s)
Creating working copy for https://github.com/krugazor/crtoastswift.git
Working copy of https://github.com/krugazor/crtoastswift.git resolved at 0.1.2 (5704358)
warning: '.resolve-product-dependencies': dependency 'crtoastswift' 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/krugazor/crtoastswift.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 CRToastSwift CRToastWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module CRToastSwift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
[5/8] Compiling CRToastSwift CRToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
[6/8] Compiling CRToastSwift CRToastViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
[7/8] Compiling CRToastSwift CRToastManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
[8/8] Compiling CRToastSwift CRToastConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/CRToastSwift/CRToastConfig.swift:1:8: error: no such module 'UIKit'
   1 | import UIKit
     |        `- error: no such module 'UIKit'
   2 |
   3 | func className(for obj: Any) -> String {
BUILD FAILURE 6.0 macosSpm