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 main (182e2c), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 05:44:57 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 182e2c0 Add ToastAnimation (#7)
Cloned https://github.com/banghuazhao/EasyToast.git
Revision (git rev-parse @):
182e2c03f453e31e8fbff241a0e3372b5d378db1
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 CustomToast.swift
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Modifiers/CustomToast.swift:44:67: warning: capture of non-sendable type 'CustomView.Type' in an isolated closure; this is an error in the Swift 6 language mode
 42 |                     }
 43 |                     Task { @MainActor in
 44 |                         try? await Task.sleep(nanoseconds: UInt64(duration) * 1000000000)
    |                                                                   `- warning: capture of non-sendable type 'CustomView.Type' in an isolated closure; this is an error in the Swift 6 language mode
 45 |                         withAnimation {
 46 |                             isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/EasyToast/Modifiers/CustomToast.swift:31:17: warning: capture of non-sendable type 'CustomView.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |     @State private var showToast: Bool = false
 30 |
 31 |     public func body(content: Content) -> some View {
    |                 `- warning: capture of non-sendable type 'CustomView.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |         content
 33 |             .overlay(alignment: alignment) {
[4/10] Compiling EasyToast SimpleMessageView.swift
[5/10] Compiling EasyToast ToastType.swift
[6/10] Compiling EasyToast ToastAnimation.swift
[7/10] Compiling EasyToast EasyToast.swift
[8/10] Emitting module EasyToast
[9/10] Compiling EasyToast ToastStyle.swift
[10/10] Compiling EasyToast ToastPosition.swift
Build complete! (8.42s)
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" : [
        "Models/ToastAnimation.swift",
        "Models/ToastPosition.swift",
        "Models/ToastStyle.swift",
        "Models/ToastType.swift",
        "Modifiers/CustomToast.swift",
        "Modifiers/EasyToast.swift",
        "Views/SimpleMessageView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.