The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of EasyToast, reference 0.5.0 (bfe8a8), with Swift 6.2 (beta) for macOS (SPM) on 19 Jul 2025 08:30:36 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/banghuazhao/EasyToast.git
Reference: 0.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/banghuazhao/EasyToast
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at bfe8a8e Add Item-based & Custom Toasts
Cloned https://github.com/banghuazhao/EasyToast.git
Revision (git rev-parse @):
bfe8a8e7ab39b88a3e7f7f32878014f6b3caa78c
SUCCESS checkout https://github.com/banghuazhao/EasyToast.git at 0.5.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/banghuazhao/EasyToast.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/10] Compiling EasyToast ToastStyle.swift
[4/10] Compiling EasyToast ToastType.swift
[5/10] Compiling EasyToast ToastPosition.swift
[6/10] Compiling EasyToast ToastAnimation.swift
[7/10] Compiling EasyToast ToastModifier.swift
[8/10] Compiling EasyToast SimpleMessageView.swift
[9/10] Emitting module EasyToast
[10/10] Compiling EasyToast ToastItemModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Toast/ToastItemModifier.swift:53:59: warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 51 |             cancelDismissToastTask()
 52 |             dismissToastTask = Task { @MainActor in
 53 |                 try? await Task.sleep(nanoseconds: UInt64(duration * 1_000_000_000))
    |                                                           `- warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 54 |                 dismissToast()
 55 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Toast/ToastItemModifier.swift:53:59: warning: capture of non-sendable type 'ToastView.Type' in an isolated closure; this is an error in the Swift 6 language mode
 51 |             cancelDismissToastTask()
 52 |             dismissToastTask = Task { @MainActor in
 53 |                 try? await Task.sleep(nanoseconds: UInt64(duration * 1_000_000_000))
    |                                                           `- warning: capture of non-sendable type 'ToastView.Type' in an isolated closure; this is an error in the Swift 6 language mode
 54 |                 dismissToast()
 55 |             }
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Toast/ToastItemModifier.swift:46:18: warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 44 |     }
 45 |
 46 |     private func handleItemChange(_ newValue: Item?) {
    |                  `- warning: capture of non-sendable type 'Item.Type' in an isolated closure; this is an error in the Swift 6 language mode
 47 |         if newValue != nil {
 48 |             withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Toast/ToastItemModifier.swift:46:18: warning: capture of non-sendable type 'ToastView.Type' in an isolated closure; this is an error in the Swift 6 language mode
 44 |     }
 45 |
 46 |     private func handleItemChange(_ newValue: Item?) {
    |                  `- warning: capture of non-sendable type 'ToastView.Type' in an isolated closure; this is an error in the Swift 6 language mode
 47 |         if newValue != nil {
 48 |             withAnimation {
Build complete! (8.51s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EasyToast",
  "name" : "EasyToast",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "EasyToast",
      "targets" : [
        "EasyToast"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EasyToastTests",
      "module_type" : "SwiftTarget",
      "name" : "EasyToastTests",
      "path" : "Tests/EasyToastTests",
      "sources" : [
        "EasyToastTests.swift"
      ],
      "target_dependencies" : [
        "EasyToast"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EasyToast",
      "module_type" : "SwiftTarget",
      "name" : "EasyToast",
      "path" : "Sources/EasyToast",
      "product_memberships" : [
        "EasyToast"
      ],
      "sources" : [
        "Toast/SimpleMessageView.swift",
        "Toast/ToastItemModifier.swift",
        "Toast/ToastModifier.swift",
        "Types/ToastAnimation.swift",
        "Types/ToastPosition.swift",
        "Types/ToastStyle.swift",
        "Types/ToastType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.