The Swift Package Index logo.Swift Package Index

Build Information

Successful build of EasyToast, reference main (6cd6c1), with Swift 6.2 for macOS (SPM) on 19 Jul 2025 08:31:49 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/banghuazhao/EasyToast
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6cd6c13 Add Item-based & Custom Toasts
Cloned https://github.com/banghuazhao/EasyToast.git
Revision (git rev-parse @):
6cd6c135e8087dfe4047f2ff5661086a27a2a724
SUCCESS checkout https://github.com/banghuazhao/EasyToast.git at main
========================================
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 ToastType.swift
[4/10] Compiling EasyToast ToastPosition.swift
[5/10] Compiling EasyToast ToastStyle.swift
[6/10] Compiling EasyToast ToastAnimation.swift
[7/10] Emitting module EasyToast
[8/10] Compiling EasyToast ToastModifier.swift
[9/10] Compiling EasyToast SimpleMessageView.swift
[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! (9.06s)
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.