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 master (7fb1cb), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 19:21:48 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huynguyencong/ToastSwiftUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7fb1cb8 Update Podspec
Cloned https://github.com/huynguyencong/ToastSwiftUI.git
Revision (git rev-parse @):
7fb1cb8f79cdea539b9d4037bc6b39f1144b114d
SUCCESS checkout https://github.com/huynguyencong/ToastSwiftUI.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": "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.64s)
Creating working copy for https://github.com/huynguyencong/ToastSwiftUI.git
Working copy of https://github.com/huynguyencong/ToastSwiftUI.git resolved at master (7fb1cb8)
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 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 {
[4/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 {
[5/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)
[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] 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 {
BUILD FAILURE 6.0 macosSpm