The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Toast, reference main (32d03e), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 00:45:38 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaywcjlove/Toast.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaywcjlove/Toast
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 32d03e6 doc: update README.md
Cloned https://github.com/jaywcjlove/Toast.git
Revision (git rev-parse @):
32d03e66cc3775db1d49acb9d84b127b87a94f88
SUCCESS checkout https://github.com/jaywcjlove/Toast.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jaywcjlove/Toast.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] Toast
[30 / 102]
[33 / 102]
[41 / 102]
[43 / 102]
[44 / 102]
[49 / 102]
[51 / 102]
[53 / 102]
[56 / 102]
[61 / 102]
[64 / 102]
[66 / 102]
[67 / 102]
[77 / 102]
[79 / 102]
[80 / 102]
[83 / 102]
[85 / 102]
[93 / 102] Toast
[99 / 102] Toast
Build complete! (11.68 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:76:17: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
 74 |             let timerDuration = duration ?? configuration.duration
 75 |             if timerDuration > 0 {
 76 |                 Task {
    |                 |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |                 `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
 77 |                     try await Task.sleep(for: .seconds(timerDuration))
 78 |                     dismiss(id: toast.id)
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:159:17: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
157 |
158 |                 // 调用回调
159 |                 Task {
    |                 |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |                 `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
160 |                     try await Task.sleep(for: .seconds(0.3))
161 |                     await MainActor.run {
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:175:9: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
173 |
174 |         // 使用 Task 来避免在视图更新期间发布更改
175 |         Task { @MainActor in
    |         |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |         `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
176 |             for toast in allToasts {
177 |                 withAnimation(.easeInOut(duration: 0.3)) {
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Toast",
  "name" : "Toast",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Toast",
      "targets" : [
        "Toast"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ToastTests",
      "module_type" : "SwiftTarget",
      "name" : "ToastTests",
      "path" : "Tests/ToastTests",
      "sources" : [
        "ToastTests.swift"
      ],
      "target_dependencies" : [
        "Toast"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Toast",
      "module_type" : "SwiftTarget",
      "name" : "Toast",
      "path" : "Sources/Toast",
      "product_memberships" : [
        "Toast"
      ],
      "sources" : [
        "Toast.swift",
        "ToastEnvironment.swift",
        "ToastItem.swift",
        "ToastManager.swift",
        "ToastModels.swift",
        "ToastView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Done.