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 ToastSwiftUI, reference 0.3.6 (dd9421), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 19:21:43 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/huynguyencong/ToastSwiftUI.git
Reference: 0.3.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huynguyencong/ToastSwiftUI
 * tag               0.3.6      -> FETCH_HEAD
HEAD is now at dd9421d Add background parameter
Cloned https://github.com/huynguyencong/ToastSwiftUI.git
Revision (git rev-parse @):
dd9421d487c7f932c39604fc04b3381e9176ef13
SUCCESS checkout https://github.com/huynguyencong/ToastSwiftUI.git at 0.3.6
========================================
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": "toastswiftui",
      "name": "ToastSwiftUI",
      "url": "https://github.com/huynguyencong/ToastSwiftUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ToastSwiftUI",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/huynguyencong/ToastSwiftUI.git
[1/320] Fetching toastswiftui
Fetched https://github.com/huynguyencong/ToastSwiftUI.git from cache (1.47s)
Creating working copy for https://github.com/huynguyencong/ToastSwiftUI.git
Working copy of https://github.com/huynguyencong/ToastSwiftUI.git resolved at 0.3.6 (dd9421d)
warning: '.resolve-product-dependencies': dependency 'toastswiftui' 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/huynguyencong/ToastSwiftUI.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/7] Compiling ToastSwiftUI ToastView.swift
/Users/admin/builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import SwiftUI
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | struct ActivityIndicator: UIViewRepresentable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module ToastSwiftUI
/Users/admin/builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import SwiftUI
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | struct ActivityIndicator: UIViewRepresentable {
[5/7] Compiling ToastSwiftUI ActivityIndicator.swift
/Users/admin/builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import SwiftUI
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | struct ActivityIndicator: UIViewRepresentable {
[6/7] Compiling ToastSwiftUI ToastContainerView.swift
/Users/admin/builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import SwiftUI
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | struct ActivityIndicator: UIViewRepresentable {
[7/7] Compiling ToastSwiftUI View+Utils.swift
/Users/admin/builder/spi-builder-workspace/ToastSwiftUI/Classes/ActivityIndicator.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import SwiftUI
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | struct ActivityIndicator: UIViewRepresentable {
BUILD FAILURE 6.0 macosSpm