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 NotificationToast, reference 2.1.0 (058eb8), with Swift 6.0 for macOS (SPM) on 22 Jan 2025 13:14:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PhilippeWeidmann/NotificationToast.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PhilippeWeidmann/NotificationToast
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 058eb8e doc: Add SwiftUI section
Cloned https://github.com/PhilippeWeidmann/NotificationToast.git
Revision (git rev-parse @):
058eb8ee42089ea56425581b580791e513d2b45c
SUCCESS checkout https://github.com/PhilippeWeidmann/NotificationToast.git at 2.1.0
========================================
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": "notificationtoast",
      "name": "NotificationToast",
      "url": "https://github.com/PhilippeWeidmann/NotificationToast.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NotificationToast",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/PhilippeWeidmann/NotificationToast.git
[1/202] Fetching notificationtoast
Fetched https://github.com/PhilippeWeidmann/NotificationToast.git from cache (0.96s)
Creating working copy for https://github.com/PhilippeWeidmann/NotificationToast.git
Working copy of https://github.com/PhilippeWeidmann/NotificationToast.git resolved at 2.1.0 (058eb8e)
warning: '.resolve-product-dependencies': dependency 'notificationtoast' 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/PhilippeWeidmann/NotificationToast.git
https://github.com/PhilippeWeidmann/NotificationToast.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NotificationToast",
  "name" : "NotificationToast",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "NotificationToast",
      "targets" : [
        "NotificationToast"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NotificationToast",
      "module_type" : "SwiftTarget",
      "name" : "NotificationToast",
      "path" : "Sources/NotificationToast",
      "product_memberships" : [
        "NotificationToast"
      ],
      "sources" : [
        "ToastView+SwiftUI.swift",
        "ToastView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/5] Compiling NotificationToast ToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationToast/ToastView.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import QuartzCore
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | @available(iOSApplicationExtension, unavailable)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module NotificationToast
/Users/admin/builder/spi-builder-workspace/Sources/NotificationToast/ToastView.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import QuartzCore
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | @available(iOSApplicationExtension, unavailable)
[5/5] Compiling NotificationToast ToastView+SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationToast/ToastView.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import QuartzCore
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | @available(iOSApplicationExtension, unavailable)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module NotificationToast
/Users/admin/builder/spi-builder-workspace/Sources/NotificationToast/ToastView.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import QuartzCore
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | @available(iOSApplicationExtension, unavailable)
[3/4] Compiling NotificationToast ToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationToast/ToastView.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import QuartzCore
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | @available(iOSApplicationExtension, unavailable)
[4/4] Compiling NotificationToast ToastView+SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationToast/ToastView.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import QuartzCore
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | @available(iOSApplicationExtension, unavailable)
BUILD FAILURE 6.0 macosSpm